From owner-freebsd-questions Thu Jan 25 2:13:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.98.60]) by hub.freebsd.org (Postfix) with ESMTP id 8662337B401 for ; Thu, 25 Jan 2001 02:13:12 -0800 (PST) Received: from localhost (kheuer@localhost) by gwdu60.gwdg.de (8.11.1/8.9.3) with ESMTP id f0PAD4P55352; Thu, 25 Jan 2001 11:13:05 +0100 (CET) (envelope-from kheuer@gwdu60.gwdg.de) Date: Thu, 25 Jan 2001 11:13:04 +0100 (CET) From: Konrad Heuer To: markus niskanen Cc: Subject: Re: System Administration In-Reply-To: <3A6FECC0.3ADEC622@teligent.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 25 Jan 2001, markus niskanen wrote: > When a user already been added and its home dir contains a lot of files. > > After a while I'd like to change its login-shell from sh to bash, > What files need to edited. > I've tried passwd and master-passwd, but it dosent change the shell. Just editing those files doesn't help since the system uses binary files /etc/pwd.db and /etc/spwd.db wich have to be rebuild with /usr/sbin/pwd_mkdb after any change in the master password file /etc/master.passwd. All this is done automatically when editing the master password file with /usr/sbin/vipw. If you don't like vi, you may assign the name of your favourite editor to the environment variable EDITOR to make this editor used, e.g.: setenv EDITOR emacs Regards Konrad Heuer Personal Bookmarks: Gesellschaft f=FCr wissenschaftliche Datenverarbeitung mbH G=D6ttingen http://www.freebsd.org Am Fa=DFberg, D-37077 G=D6ttingen http://www.daemonnews.o= rg Deutschland (Germany) kheuer@gwdu60.gwdg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message