LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-04-2013, 08:30 PM   #1
atitananda
LQ Newbie
 
Registered: May 2013
Posts: 1

Rep: Reputation: Disabled
User_Delete


How to delete already created users using linux command?
 
Old 05-04-2013, 08:46 PM   #2
jrsysman
LQ Newbie
 
Registered: May 2013
Location: Los Angeles, CA
Distribution: Centos
Posts: 1

Rep: Reputation: Disabled
As I recall the command is userdel
 
Old 05-04-2013, 09:01 PM   #3
JWJones
Member
 
Registered: Jun 2009
Location: Cascadia
Distribution: Slackware
Posts: 922

Rep: Reputation: 276Reputation: 276Reputation: 276
To delete user:

Code:
userdel username
To delete user and their home directory

Code:
userdel -r username
 
Old 05-05-2013, 02:29 AM   #4
kooru
Senior Member
 
Registered: Sep 2012
Posts: 1,385

Rep: Reputation: 273Reputation: 273Reputation: 273
Hi and welcome to LQ!
see man userdel for full descriptions.
 
1 members found this post helpful.
Old 05-05-2013, 03:13 AM   #5
vineethsp
LQ Newbie
 
Registered: Mar 2013
Location: India
Distribution: RedHat Enterprise Linux Server Edition 5.5
Posts: 13

Rep: Reputation: Disabled
Code:
userdel username

man userdel
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off




All times are GMT -5. The time now is 07:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration