Gentoo Archives: gentoo-server

From: Kalin KOZHUHAROV <kalin@××××××××.net>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Opinion: ssh to root vs sudo
Date: Thu, 12 Oct 2006 07:48:19
Message-Id: 452DF255.7010901@thinrope.net
In Reply to: Re: [gentoo-server] Opinion: ssh to root vs sudo by Francisco Olarte Sanz
1 Francisco Olarte Sanz wrote:
2 > On Thursday 12 October 2006 04:01, Peter Abrahamsen wrote:
3 >
4 >> Which is a better idea, allowing key-only root access, or ssh'ing in
5 >> as myself and running su/sudo/whatever? Either way, I'll set up
6 >> iptables so that connection attempts from anywhere other than my
7 >> office are -j DROP'ed.
8 >
9 > Why don't you allow key-only ssh-access as yourself and then su/sudo ? I
10 > normally do it this way, as I don't want to be logged in as root all the
11 > time, as when I have administration to do I need to read log files and move
12 > around, and this avoids stupid typos and the like.
13
14 How do you permit key-only for non-root users??
15
16 Kalin.
17
18 --
19 |[ ~~~~~~~~~~~~~~~~~~~~~~ ]|
20 +-> http://ThinRope.net/ <-+
21 |[ ______________________ ]|
22
23 --
24 gentoo-server@g.o mailing list

Replies

Subject Author
Re: [gentoo-server] Opinion: ssh to root vs sudo Peter Abrahamsen <rainhead@×××××.com>
Re: [gentoo-server] Opinion: ssh to root vs sudo Francisco Olarte Sanz <folarte@××××××××××.com>