September 2002
Beginner to intermediate
216 pages
7h 43m
English
To create a user with nicl , you’ll need to create a directory under /users, and set the uid, gid, shell, realname, and home properties. The following code creates the same user shown in the previous section, Section 3.8.1.
# nicl / -create /users/rothman uid 701 # nicl / -create /users/rothman gid 20 # nicl / -create /users/rothman shell /bin/tcsh # nicl / -create /users/rothman home /Users/rothman # nicl / -create /users/rothman realname "Ernest Rothman" # nicl / -create /users/rothman passwd \*
After you create the user, you should set the password as shown in the previous section.