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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-07-2010, 10:03 AM
|
#1
|
|
Senior Member
Registered: May 2010
Distribution: Arch
Posts: 1,071
Rep: 
|
What's the real difference between "userdel" and "deluser"?
Tried to search Google but no clear information...
|
|
|
|
08-07-2010, 10:07 AM
|
#2
|
|
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005
Rep:
|
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.
|
08-07-2010, 10:17 AM
|
#3
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,867
|
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
|
|
|
|
08-07-2010, 10:26 AM
|
#4
|
|
Senior Member
Registered: May 2010
Distribution: Arch
Posts: 1,071
Original Poster
Rep: 
|
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.
|
|
|
|
08-07-2010, 10:28 AM
|
#5
|
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,476
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:19 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|