From LedHed's Wiki
Revision as of 22:10, 28 December 2006 by Ledhed (Talk | contribs)

Jump to: navigation, search

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 = User's Real Name
-g = Default Group