LinuxQuestions.org
Register a domain and help support LQ
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 10-29-2011, 10:57 AM   #1
kk007
LQ Newbie
 
Registered: Oct 2011
Posts: 1

Rep: Reputation: Disabled
Question diffrence between useradd and usermod


I am new user on linux os, i am very confused about adduser and usermod command, please help me to understand this
 
Old 10-29-2011, 11:02 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
useradd adds an account, usermod modifies an account.
 
Old 10-29-2011, 11:18 AM   #3
GazL
Senior Member
 
Registered: May 2008
Posts: 4,081
Blog Entries: 1

Rep: Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526Reputation: 1526
...and 'adduser' is commonly (dependent on distro) a front end dialog for useradd that walks you through the user creation process.
 
Old 10-29-2011, 12:25 PM   #4
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by kk007 View Post
I am new user on linux os, i am very confused about adduser and usermod command, please help me to understand this
If you have typed this on google you might have got 100 pages explaining properly the difference

useradd itself says user-add--->to add user, just look after the switches used with useradd

usermod--->user-mod-----> to make modifications in user in the form of permission

I'll still advise you to use google for better results
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Source Code for useradd, usermod etc. gopal.sukumar Linux - Newbie 4 11-25-2009 10:01 AM
Disabling password expiration via useradd or usermod (or something else)? eviser Linux - Software 2 05-31-2006 02:53 PM
usermod and useradd problem kenji Linux - Newbie 4 02-23-2005 12:10 PM
usermod / useradd ? bibilit Linux - Software 1 12-19-2003 03:16 AM
/etc/shadow and useradd -p usermod -p granny Linux - Security 3 08-29-2003 01:24 AM


All times are GMT -5. The time now is 10:48 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