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

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



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/



Reply to: