All pastes #491802 Raw Edit

Something

public text v1 · immutable
·published 2007-05-16 21:12 UTC
rendered paste body
[rattler@station-192-168-10-254 uadd]$ ./uadd.sh
Copyright (C) 2007 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

Syntax: ./uadd.sh action login [options]

Commands:

-a, --action [add|remove]       Add or remove a user account
-l, --login [name]              User account to operate on

Options:

-h, --host                      Target defaults to localhost
-e, --display                   Display name for this user
-x, --expire                    Account expiration date for this user
-z, --category                  Multi category security level for this user
-n, --logins                    Available logins for this user
-p, --procs                     Available processes for this user
-t, --time                      Available login times for this user
-q, --usrquota                  Filesystem quota's for this user
-d, --debuglevel                Configure verbosity

-C                              Enable Crontab for this user
-S                              Enable SSH for this user
-L                              Enable local access for this user
-W                              Enable website for this user

(See the man page for a complete listing of all commands and options)

Examples:

./uadd.sh -a add -l john
Adds john to the local system.
./uadd.sh -a add -l jane -h 192.168.0.1
Adds jane to a system on the network.
./uadd.sh -a remove -l john
Removes john from the local computer.

Please report bugs to <rattler@grift.info>.