Re: no root shell access
From: Ivan Marsh (annoyed_at_you.now)
Date: 09/22/04
- Next message: Ivan Marsh: "Re: aliases"
- Previous message: Stefan M.: "Re: Increase Keyboard buffer"
- Maybe in reply to: Steven Hook: "Re: no root shell access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 22 Sep 2004 09:48:33 -0500
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.
- Next message: Ivan Marsh: "Re: aliases"
- Previous message: Stefan M.: "Re: Increase Keyboard buffer"
- Maybe in reply to: Steven Hook: "Re: no root shell access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|