[TriLUG] disabling root?
mike at enoch.org
Wed Mar 13 11:37:52 EST 2002
Greg Brown [gregbrown at mindspring.com] wrote:
> Is it possible to disable the root logon from everywhere except the console?
> I'd still like to be able to su once logged in, but I'd like to make sure
> nobody out there just hack on in as root.
Yup. Make sure you're only allowing remote access via ssh and change
/etc/ssh/sshd_config from PermitRootLogin yes to PermitRootLogin no.
"Let the power of Ponch compel you! Let the power of Ponch compel you!"
-- Zorak on Space Ghost
GNUPG Key fingerprint = ACD2 2F2F C151 FB35 B3AF C821 89C4 DF9A 5DDD 95D1
GNUPG Key = http://www.enoch.org/mike/mike.pubkey.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 230 bytes
Desc: not available
More information about the TriLUG