09-23-04 02:31 PM
On Wed, 22 Sep 2004 03:23:08 -0700, CSN wrote:
> I wanted to make it so that the root user couldn't telnet/ssh in. I
> edited /etc/passwd and changed:
>
> root:x:0:0:root:/root:/bin/bash
>
> to:
>
> root:x:0:0:root:/root:/bin/nologin
>
> Then I saved and logged out. Turns out nologin is in /sbin, not /bin.
> Now I can't "su" (or otherwise log in) to root. How can I fix this?
Uh, I'm sure you've figured this out but, that's not the correct way to
prevent root from telnet/ssh.
--
i.m.
The USA Patriot Act is the most unpatriotic act in American history.
[ Post a follow-up to this message ]
|