Date: Sun, 28 Feb 1999 19:06:09 +1000 From: Greg Black <gjb@comkey.com.au> To: David Kelly <dkelly@hiwaay.net> Cc: Greg Cook <freebsd@vnews.net>, freebsd-questions@FreeBSD.ORG Subject: Re: 9 quick questions :) Somewhat Long Message-ID: <19990228090609.7263.qmail@alpha.comkey.com.au> In-Reply-To: <199902270252.UAA57425@nospam.hiwaay.net> of Fri, 26 Feb 1999 20:52:39 CST References: <199902270252.UAA57425@nospam.hiwaay.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is not a serious comment, but I couldn't resist it:
> > 6. Changing the shell to bash (it is installed) from csh. Have tried
> > /etc/paswd and /etc/master.passwd, no avail.
>
> That's because neither of those are used in normal use. The real meat
> is in /etc/{spwd.db,pwd.db}. vipw(1) will edit /etc/master.passwd then
> generate the .db files which libc uses for password queries.
>
> Using vipw to change one's shell is like driving a Hummer to the
> grocery store. Use chsh(1), which lets mere users select their shell.
Using an expression like "/etc/{spwd.db,pwd.db}" instead of the
obvious "/etc/{s,}pwd.db" is a bit like [fill in your own simile
here] ...
--
Greg Black <gjb@acm.org>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990228090609.7263.qmail>
