|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Noob Question: How do I fully delete a user?
I rent a dedicated machine, which is running redhat 7.3. The admins there aren't very knowledgable on linux, so I have had to get most of my info from the net. I'm running a game, and I couldnt get some things working on the default user/pass that they made for me, so I created a new user/pass and re-installed the game. Now everything works fine.
I want to delete the old user/pass account. I've done a search and there seems to be a couple of different commands to do this. I just need to wipe the old user account comepletely. What is the best and most thorough way to do this? |
|
#2
|
||||
|
||||
|
look up the userdel command. Also, you might want to check that the entries for that user are removed from your /etc/passwd and /etc/shadow files.. and also remove their home directory. It'd be wise to finger the user before you run userdel to check the location of their home directory.. just to be sure.
christo
__________________
. Spiration channels: Free scripts, programming tutorials and articles Dotcut alerts: Online Press cuttings / news alerts Clearprop: UK microlight school, wiltshire Uk dating: UK safe dating with Topdates About Christo . . |
|
#3
|
||||
|
||||
|
I just did a quick >man userdel and it seems that the -r option will remove the home direcoty having recursively removed its contents
|
|
#4
|
|||
|
|||
|
Thanks guys!
|
|
#5
|
|||
|
|||
|
"userdel -r username" dude
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > Noob Question: How do I fully delete a user? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|