From owner-freebsd-questions Mon Jul 7 14:10:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA08613 for questions-outgoing; Mon, 7 Jul 1997 14:10:34 -0700 (PDT) Received: from jason05.u.washington.edu (root@jason05.u.washington.edu [140.142.78.6]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA08605 for ; Mon, 7 Jul 1997 14:10:29 -0700 (PDT) Received: from saul9.u.washington.edu (root@saul9.u.washington.edu [140.142.82.7]) by jason05.u.washington.edu (8.8.4+UW97.04/8.8.4+UW97.05) with ESMTP id OAA22534 for ; Mon, 7 Jul 1997 14:10:28 -0700 Received: from s5-25-199.student.washington.edu (S5-25-199.student.washington.edu [128.95.25.199]) by saul9.u.washington.edu (8.8.4+UW97.04/8.8.4+UW97.04) with SMTP id OAA07618 for ; Mon, 7 Jul 1997 14:10:27 -0700 (PDT) Message-Id: <3.0.2.32.19970707211241.007a7390@jcwells.deskmail.washington.edu> X-Sender: jcwells@jcwells.deskmail.washington.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32) Date: Mon, 07 Jul 1997 21:12:41 +0000 To: freebsd-questions@freebsd.org From: Jason Wells Subject: Re: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk At 13:03 07-07-97 -0700, you wrote: > > Hi....whenever I update the password file my changes don't seem to take >effect even after a reboot...I've tried changing shells and comments and >they look right in the file, but don't work when logging in or using >finger...is there something else I need to do to update the system? >thanks...Adam Yes there is something else you need to do. Use the command vipw to update passwords. Use the command chsh to change shells. Use the command chgrp to change groups. You should never have to directly edit the /etc/passwd or /ect master.passwd files. Even if you do, it does not mean that the system is updated the way that you want it to be. You see, passwd and master.passwd are not used by the system. There are system generated files that are created based on passwd and master.passwd. There is a function (passwd_mkdb i think) which must be run to create the system usable passwd files. When you edit by hand, this function is not performed. When you use the command that I list above, passwd_mkdb is performed for you automatically. See the man for more info. Later, Jason Wells __ __ / 0\ / 0\ Thank you * Highperformance.net ) Wannabe Sysadmin * The homeless domain )-------( Jason Wells * "Pardon me sir, spare some bandwidth?" \_____/