Re: no root shell access

From: Ivan Marsh (annoyed_at_you.now)
Date: 09/22/04


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.


Relevant Pages

  • Re: Finding user passwd
    ... >> I am root of the system and i do have root password. ... > can find this out with any dictionary based password cracker program (use ... > any administrative tasks. ... The USA Patriot Act is the most unpatriotic act in American history. ...
    (linux.redhat)
  • Re: screenshots
    ... [root@myhost root]$ ... The USA Patriot Act is the most unpatriotic act in American history. ...
    (alt.os.linux)
  • Re: unable to install rpms
    ... thanx in adv. ... Are you installing as root? ... The USA Patriot Act is the most unpatriotic act in American history. ...
    (linux.redhat)
  • Re: spyware, viruses,etc
    ... > forget the USER is the reason linux exists. ... Root is just part of the ... The USA Patriot Act is the most unpatriotic act in American history. ...
    (alt.linux)
  • Re: calling all linux lovers
    ... > of confidence games people play on the internet. ... > here in America with many people being born with their heads up their ... The USA Patriot Act is the most unpatriotic act in American history. ...
    (alt.linux)