From owner-freebsd-questions Sun Feb 28 3:10:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from alpha.comkey.com.au (alpha.comkey.com.au [203.9.152.215]) by hub.freebsd.org (Postfix) with SMTP id B46661521C for ; Sun, 28 Feb 1999 03:09:51 -0800 (PST) (envelope-from gjb@comkey.com.au) Received: (qmail 7264 invoked by uid 1001); 28 Feb 1999 09:06:09 -0000 Message-ID: <19990228090609.7263.qmail@alpha.comkey.com.au> X-Posted-By: GBA-Post 1.04 06-Feb-1999 X-PGP-Fingerprint: 5A91 6942 8CEA 9DAB B95B C249 1CE1 493B 2B5A CE30 Date: Sun, 28 Feb 1999 19:06:09 +1000 From: Greg Black To: David Kelly Cc: Greg Cook , freebsd-questions@FreeBSD.ORG Subject: Re: 9 quick questions :) Somewhat Long References: <199902270252.UAA57425@nospam.hiwaay.net> In-reply-to: <199902270252.UAA57425@nospam.hiwaay.net> of Fri, 26 Feb 1999 20:52:39 CST Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message