Thursday, 22 August 2013

How to Delete User in Ubuntu Linux Commands

Delete User in Ubuntu Commands

Hello Friends its very easy to delete a user in Ubuntu Linux 

Should you confirm which user you want to delete from your server / computer for example you want to delete user "john

1. Open a Command shell in Ubuntu and then type the following command given below.

=> sudo userdel newuser

this single command delete your desire user from your Ubuntu Linux server 

=> sudo userdel john

After that if you want to delete the files directories of your user please type the following command to delete the directories

=> sudo rm -rf /home/newuser

That command will be delete the all files of delete user 

=> sudo rm -rf/home/john

Now the user which you want to delete is completely deleted and also its files and directories .

Enjoy The Tutorial ;-)

No comments:

Post a Comment