Am 2004-09-07 15:13:47, schrieb Udo Mueller: > Hallo Dirk, > Es stellt sich natürlich die Frage, warum du einen zweiten Account > haben willst? Damit der eine Admin dem anderen nicht das Passwort > ändern kann? > > Beachten musst du allerdings nicht so viel: > > ~> # grep root /etc/passwd | sed -e 's/root/admin/' ^^^^ Könnte heißwerden, wenn root mehrfach vorkommt wie bei mir allerdings innerhalb eines Wortes. Besser ist: grep root /etc/passwd | sed -e 's/^root/admin/' > Gruss Udo Greetings Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Attachment:
signature.pgp
Description: Digital signature