just userdel <username> for removing the user or with the -r switch to remove the users home dir and its files
Hi all,
What is the command for removing a user? I remember how to add a user and change the password but can't seem to remember how to remove a user.
Thanks
just userdel <username> for removing the user or with the -r switch to remove the users home dir and its files
I usually just delete thier entries in /etc/passwd /etc/shadow /etc/groups and /etc/aliases
then rm -rf /home/user
and that's about it!
Why not use userdel -r <username>?? It's much faster.link=board=general&num=1008955196&start=0# 2 date=12/22/01 at 00:03:09]
I usually just delete thier entries in /etc/passwd */etc/shadow /etc/groups *and /etc/aliases
then rm -rf /home/user
and that's about it!
Bookmarks