Floop wrote:
----- Original Message -----
From: "Jeff Stuart" <[EMAIL PROTECTED]>

Just make sure that A) you don't allow root logins, and


Is this done by changing the /bin/bash section of passwd to /sbin/nologin?

i.e:
root:x:0:0:root:/root:/bin/bash
to
root:x:0:0:root:/root:/sbin/nologin

If I were to do that could I still su to root?

Thanks,
Floop

Yes, you could still "su" or "sudo" but not "su -" (change to that user's full environment). The option you want is in the 'sshd_config' file, it's under '/etc/ssh/sshd_config' on Slackware. It's the "AllowRootLogin" option or something like that, just be sure it's set to disallow logins.

--AgentHH

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to