AddUser
From GoboLinux Knowledge Base
[edit] AddUser
Creates an account for a new user and register it on the system. This script adds an option to populate this user's home directory with a customized settings environment.
Usage: AddUser [<options>] <login>
Options:
- -h, --help - Shows this help.
- -v, --version - Show program version.
- -V, --verbose - Enable verbose mode.
- -c, --comment <entry> - Text to be stored in the comment field of the UNIX password file.
- -f, --full-name <entry> - User's full name.
- -r, --room-number <entry> - User's office number.
- -w, --work-phone <entry> - User's work phone.
- -h, --home-phone <entry> - User's home phone.
- -o, --other <entry> - User's home phone.
- -s, --shell <entry> - User's default shell. The default value is '/bin/zsh'.
- -p, --password <entry> - Encoded user's password.
- -S, --skel - Populate home directory with customized settings.
User information such as full name and office number can be viewed with programs such as finger(1) and modified with chfn(1).
Examples:
AddUser -f 'Hisham Muhammad' hisham


