remove users from system

Simon Barner barner at in.tum.de
Thu May 13 11:56:55 PDT 2004


OLAF STEIN wrote:

[ pls wrap your lines at column 72-76 (for those reading mail in a
  text console - thanks ]
  
> i recently switched from linux to freebsd, so this question might sound
> a little stupid
> 
> the problem
> i removed 2 users from my system by deleting their entries in /etc/passwd
> and /etc/group (they had their own group and where in no other groups)
> 
> the users are still able to login after i deleted them
> the rmuser command now does not remove them anymore because it cannot
> find their entries in /etc/passwd, cause as mentioned i deleted them
> from their
> 
> the handbook lists all actions that are taken, when the rmuser command
> is executed and i did all actions manually except the deletion of the
> home directories of those users, because i want to keep them

You can also safely use rmuser, since it will prompt whether the home
directory is to be removed or not.

Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040513/28fed667/attachment.bin


More information about the freebsd-questions mailing list