From LedHed's Wiki
Jump to: navigation, search
Line 17: Line 17:
 
-d = Home Directory
 
-d = Home Directory
 
<br>
 
<br>
-c = User's Real Name
+
-c = Comment (User's Real Name Typically)
 
<br>
 
<br>
 
-g = Default Group
 
-g = Default Group

Revision as of 22:11, 28 December 2006

Creating Groups
groupadd

groupadd -g 2001 groupname

-g = GID

Creating Users
useradd

useradd -u 2001 -s /bin/false -d /bin/null -c "Users Real Name" -g group username

-u = UID
-s = Shell
-d = Home Directory
-c = Comment (User's Real Name Typically)
-g = Default Group