acua addUser <login> [phone_no] [useradd options]

acua addUser invokes the shell script /usr/sbin/acua_adduser to add a Linux/ACUA user account. This shell script performs the necessary operations to create a new user account on the system, including an invocation of acua addRec.

NOTE: In most cases you will need to modify /usr/sbin/acua_adduser to suit your system.  It is currently made to run perfectly on Debian GNU/Linux, as that is my development platform.

Example 1: acua addUser foo will add a user to the system and give them an ACUA with no phone number.

Example 2: acua addUser foo 999-9999 will add a user to the system and give them an ACUA record with a phone number of 999-9999.

Example 3: acua addUser foo 999-9999 -m -s /bin/false will add a user to the system and give them an ACUA record with a phone number of 999-9999 and will construct a useradd command line of "useradd -m -s /bin/false foo".

Example 4: acua addUser foo -1 -m -s /bin/false will add a user to the system and give them an ACUA record with no phone number and will construct a useradd command line of "useradd -m -s /bin/false foo".


Robert Davidson