On some systems you limit the users that can "su" in the sudoers file, correct? On Debian and Gentoo, I think, the user must be in the "wheel" group to be able to "su root".
Brian Kelsay
"Jon Moss" <> 10/21/04 10:55AM >>>
I thought I could configure ssh to prevent root access (I never login root remotely anyway). I will also limit su to a single user.
Quoting Brian Kelsay Brian.Kelsay@kcc.usda.gov:
On some systems you limit the users that can "su" in the sudoers file, correct? On Debian and Gentoo, I think, the user must be in the "wheel" group to be able to "su root".
/etc/sudoers limits users and what users can do using sudo. Don't think it effects su, but I could be wrong.
-- Dave Hull http://insipid.com
-----Original Message----- From: kclug-bounces@kclug.org [mailto:kclug-bounces@kclug.org] On Behalf Of Brian Kelsay Sent: Thursday, October 21, 2004 11:08 AM To: kclug@kclug.org Subject: Re: It was bound to happen - suspected hack
On some systems you limit the users that can "su" in the sudoers file, correct? On Debian and Gentoo, I think, the user must be in the "wheel" group to be able to "su root".
Brian Kelsay
"Jon Moss" <> 10/21/04 10:55AM >>>
I thought I could configure ssh to prevent root access (I never login root remotely anyway). I will also limit su to a single user.
You can (and should) accomplish this in /etc/ssh/sshd_config via: PermitRootLogin no
Dustin