LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   How do I remove users form my system? (https://www.linuxquestions.org/questions/red-hat-31/how-do-i-remove-users-form-my-system-115000/)

Joey.Dale 11-11-2003 07:05 PM

How do I remove users form my system?
 
Hi all,

I need some help I need to remove users form my system? How would I go about doing this?

Mathieu 11-11-2003 07:43 PM

You can use the userdel command in order to delete a user.
The -r option deletes the user’s home directory and mail spool. Files and directories in other locations will have to be deleted manually.
Code:

userdel -r username

slakmagik 11-11-2003 07:43 PM

'userdel name' or 'userdel -r name' if you're real sure about it. *g* Or you could just disable the login by editing /etc/passwd.


All times are GMT -5. The time now is 01:16 PM.