*BSD News Article 58514


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!gatech!newsfeed.internetmci.com!EU.net!Austria.EU.net!newsfeed.ACO.net!swidir.switch.ch!in2p3.fr!univ-lyon1.fr!ensta!itesec!sidhe.frmug.fr.net!not-for-mail
From: roberto@keltia.freenix.fr (Ollivier Robert)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: New User Admin
Date: 9 Jan 1996 10:46:15 GMT
Organization: Herve Schauer Consultants
Lines: 14
Message-ID: <4cth1n$cf6@sidhe.hsc-sec.fr>
References: <4caoal$bpa@news2.realtime.net>
Reply-To: roberto@hsc.fr.net (Ollivier Robert)
NNTP-Posting-Host: sidhe.hsc-sec.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

In article <4caoal$bpa@news2.realtime.net>, Dave Brown <dhbrown@bga.com> wrote:
> compiled it.  Okay, so now, I want to make bash my login shell.  I change 
> that in field 6 of the /etc/passwd file and guess what... c-shell is still 
> the login shell... huh?

If you  read passwd(5), you'll  see  that /etc/passwd  is obsolete and here
just for old programs. It is automatically generated from master.passwd.
 
You need to use either vipw(8) or chsh(8) to change the user's shell.

[ cc'ed to Dave ]
-- 
Ollivier ROBERT  -=-=-  FreeBSD 2.x FAQ maintainer -=-=-  roberto@freebsd.org
-=-=-=-=-=- Support The Free UNIX Systems !  FreeBSD Linux NetBSD -=-=-=-=-=-