Path: utzoo!attcan!uunet!ginosko!gem.mps.ohio-state.edu!apple!zorba!dtynan From: jkp@cs.HUT.FI (Jyrki Kuoppala) Newsgroups: comp.unix Subject: Re: Passwd file Message-ID: <3478@zorba.Tynan.COM> Date: 7 Oct 89 22:50:16 GMT References: <3474@altos86.Altos.COM> Sender: dtynan@zorba.Tynan.COM Reply-To: jkp@cs.HUT.FI (Jyrki Kuoppala) Organization: Helsinki University of Technology, Finland Lines: 27 Approved: dtynan@zorba.Tynan.COM Responding-System: santra.UUCP In-reply-to: bobk@fred.UUCP (Bob Kinne) >What is the purpose of the following /etc/passwd entry? > >::0:0::: (null login, password, and shell) It's a safeguard against bad memory; it lets you get superuser even if you someday will forget the root password. It's also useful if you go for a vacation and there's somebody else administering the machine; if you use this feature you don't have to tell the root password to that somebody, he won't need it. A variation: +::0:0::: This is not as good, because it works only on some systems and even then it doesn't work if the yellow pages is running. If you want to use this feature and don't want to type all those colons in (you'll easily type a wrong count of them) just say echo '' >> /etc/passwd and change somebody's login password. Enjoy, //Jyrki