LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 08-07-2010, 10:03 AM   #1
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch
Posts: 1,163

Rep: Reputation: Disabled
Question What's the real difference between "userdel" and "deluser"?


Tried to search Google but no clear information...
 
Old 08-07-2010, 10:07 AM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
I am not able to find a command called deluser within centOS, if it's in Ubuntu it's probably just a soft link to userdel like adduser is usually a soft link to useradd. Maybe try doing "ls -l /usr/sbin/deluser" ?

If you see "/usr/sbin/deluser -> userdel" then you can fairly sure it's just a link.
 
0 members found this post helpful.
Old 08-07-2010, 10:17 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,

deluser (and adduser) are front-ends to the userdel (and useradd) commands.

Some distro's have these in place next to the "real" userdel command. They (deluser/adduser) are supposed to be more user friendly.

Hope this helps.

Found this: adduser, addgroup, deluser and delgroup
 
Old 08-07-2010, 10:26 AM   #4
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch
Posts: 1,163

Original Poster
Rep: Reputation: Disabled
Post

Code:
$ ls -l /usr/sbin/deluser
-rwxr-xr-x 1 root root 16490 2010-01-27 13:26 /usr/sbin/deluser

$ ls -l /usr/sbin/userdel 
-rwxr-xr-x 1 root root 51828 2010-01-26 20:09 /usr/sbin/userdel
About adduser and useradd: useradd is a command; adduser is a Perl script.
 
Old 08-07-2010, 10:28 AM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,570

Rep: Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510
man adduser

Code:
DESCRIPTION
       adduser  and addgroup add users and groups to the system according to command line options
       and configuration information in /etc/adduser.conf.  They are friendlier front ends to the
       low  level  tools  like useradd, groupadd and usermod programs, by default choosing Debian
       policy conformant UID and GID values, creating a home directory with  skeletal  configura‐
       tion, running a custom script, and other features.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie question: whats the difference between "su root", "su" and "su -&quo mojarron Slackware 9 12-07-2009 04:08 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
Can you explain the difference between "Free Software (GNU)" and "Open Source"? vharishankar General 5 03-03-2005 09:40 AM
difference between "Web server local URL" and "IPv4 address"? kpachopoulos Linux - General 2 09-17-2004 01:30 PM
"User" & "System" CPU load difference JJX Linux - General 3 06-06-2004 01:42 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration