Re: [root user] How to disable root account?
On 11/30/05, Dick Davies <rasputnik@gmail.com> wrote:
> On 30/11/05, Michelle Konzack <linux4michelle@freenet.de> wrote:
> >
> > grep -vE "^root:" /etc/passwd >/etc/passwd.tmp
> > mv /etc/passwd.tmp /etc/passwd
> >
> > grep -vE "^root:" /etc/shadow >/etc/shadow.tmp
> > mv /etc/shadow.tmp /etc/shadow
> >
> > grep -vE "^0:" /etc/group >/etc/group.tmp
> > mv /etc/group.tmp /etc/group
> >
> > grep -vE "^0:" /etc/gshadow >/etc/gshadow.tmp
> > mv /etc/gshadow.tmp /etc/gshadow
>
> That's a joke, isnt' it?
>
> --
> Rasputin :: Jack of All Trades - Master of Nuns
> http://number9.hellooperator.net/
>
>
I don't think so, actually its rather nice.
"The ultimate root termination technique" ;)
Unpractical of course because when you will need to alter any system
wide settings you would be forced to reboot your machine and use the
init=/bin/bash boot parameter, but for "kiosk" type setups this is
quite a good tip IMHO.
--
Cheers,
Maxim Vexler (hq4ever).
Do u GNU ?
Reply to: