[Gllug] bash startup

Rob Andrews rob at impure.org.uk
Thu Nov 1 21:13:23 UTC 2001


[01-Nov-2001 18:42.28 (GMT) / Stephen Harker]
 > > On BSDen you should be using vipw, you know. So if you've just done 'vi
 > > /etc/passwd', you'll get no bag of bananas and no free cuddly toy. It
 > > updates the necessary databases after you've finished editing it.
 > what he means is that /etc/passwd is NOT the password file its 
 > /etc/master.passwd or something which should be edited by using vipw command, 
 > then changing the entry in that file.
 > make a symbolic link   > ln -sf /usr/local/bin/bash /bin/bash
 > then add /bin/bash in /etc/shells
 > then  > vipw (change shell to /bin/bash)
 > logout and login again.
 > Thats how it works on OpenBSD anyway and I think FreeBSD is much the same.

I was more under the impression it was SysV-ish and had a database that was
created after the passwords were changed/updated.

-- 
nine      <e> rob at impure.org.uk <pgp> 0x8bb5c71e <w> http://impure.org.uk/
* only the good die young. the rest are forced to code perl for eternity *

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list