[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Removing Old User From Passwd File



On Wed, Apr 05, 2000 at 10:09:10PM -0700, Randall N. wrote:
> I have an old (deleted) user, that is still showing in
> my /etc/passwd file and is preventing us from reusing

learn vi or vim -- seriously, there are a number or reasons
why vi/vim is the editor of choice amongst so many UNIX
admins.  (Although, humor value of watching someone else
learn the black art is pretty high amongst those reasons ;-).

Back to the current issue though:  There is a utility on
your box called 'userdel' You can type:

	userdel -r <username>

The -r option will remove his home directory as well.

Then you have a user who's wiped out without having to
use vi -- although the entry may still be in your 
virtusertable and/or your aliases file so check there 
as well.

-- 
Robert G. Fisher		     NEOCOM Microspecialists Inc. 
System Administrator/Programmer      (540) 666-9533 x 116