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
Am 2005-11-24 16:34:12, schrieb belbo:
Hi,
I've seen Ubuntu linux, and I've noticed the disabled root account. I
like this
solution, how can I disable root account on my etch debian?
Bye
------------------------- END OF REPLYED MESSAGE -------------------------
--
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)
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org