[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [root user] How to disable root account?



Am 2005-11-30 16:04:22, schrieb Dick Davies:
> 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?

:-)

Yes, but it deactivate "root" very successful!
 
Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)



Reply to: