On Wed, Mar 08, 2000 at 06:21:59PM +1100, Chuck Dale wrote:
| A quick question that I probably should have answered myself by now.
|
| Which command line tools should I use to modify the information in
| /etc/passwd? Like people's shell etc. On FreeBSD I used to use chpass or
| something similar (it's a while since I used it) which allowed safe
| editing of users' options. But when Linux didn't have that particular
| command I've just been vi-ing /etc/passwd directly.
On small systems, vi is just fine. The purpose of chpass etc is to lock
the file during access. The "vipw" command is what BSD used to use. See
if your linux distribution has that - it serves the same purpose.
--
Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/
CagerWager: "I bet this asshole in the Volvo is about to change lanes right
into me" - Nick Coburn, DoD#6425, [EMAIL PROTECTED]
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.