Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!in2p3.fr!univ-lyon1.fr!fdn.fr!fasterix.frmug.fr.net!frmug.fr.net!penelope.frmug.fr.net!not-for-mail From: sly@penelope.frmug.fr.net (Sylvain Nierveze) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: how do I modify passwd entries? Date: 19 Oct 1995 21:32:35 -0000 Organization: Penelope Corp. Lines: 21 Message-ID: <466g5j$13o@penelope.frmug.fr.net> References: <4616mf$2ub@shellx.best.com> Reply-To: sly@penelope.frmug.fr.net NNTP-Posting-Host: penelope.frmug.fr.net X-Newsreader: TIN [version 1.2 PL2] David Paigen (paigen@shellx.best.com) wrote: : I know that I should use adduser rather than modify : /etc/passwd, etc. files by hand. I assume that this : has to do with the shadow password file. yes ... you have to use the 'vipw' command (in 2.0.5R) to modify /etc/passwd 'by hand' : But what do I do about old user accounts that need to : be changed? I need to change the login directory of : one user. Can I do this by hand? use the chpass command (the chpass can also be used by a non-priviledged user to change his GCOS field and his login shell, like the chsh and chfn commands on some other systems...). -- ---------------------------------------------- Sylvain Nierveze (sly@penelope.frmug.fr.net)