Next
Previous
Contents
Each time you create a user account, a command may be executed. You
must specify here the full path of the command as well as any
arguments. Linuxconf will append the following arguments.
- --uid userid
This is the userid of the new account
- --name full name
This is the full name (the gecos field) of the account.
- --basehome dir
This is the directory where new accounts are created. This can
be used by archiving commands to create archives. The
sample accountarchive.sh (see Pre-delete command below) is
using that to reach the oldaccounts sub-directory.
- --home home_directory
This is the home directory of the account. Note that the home
is supplied without the first /. So it is supplied as a relative
path. This helps commands such as tar which complain when
supplied with an absolute path. So doing a
cd /
at
the beginning of your command is a good idea.
- --domain domain
This is either / or the virtual email domain. From this
the proper in-box mail file may be computed.
Note that this command is called after the account has been created
and committed in the password database (/etc/passwd
). The
output and error code of the command are logged in the
"Linuxconf's logs".
Next
Previous
Contents