Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2001 11:13:04 +0100 (CET)
From:      Konrad Heuer <kheuer@gwdu60.gwdg.de>
To:        markus niskanen <markus.niskanen@teligent.se>
Cc:        <questions@FreeBSD.ORG>
Subject:   Re: System Administration
Message-ID:  <Pine.BSF.4.31.0101251107580.55327-100000@gwdu60.gwdg.de>
In-Reply-To: <3A6FECC0.3ADEC622@teligent.se>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.31.0101251107580.55327-100000>