Next
Previous
Contents
You can specify a command which is executed before the account
is removed from the password database (/etc/passwd
). The
arguments are the same as the Post-create command. Output and error
code are also logged. If any error is detected, the user will be allowed
to see the log and will be asked if the accounts should be deleted.
To sample commands are delivered with Linuxconf and you can select
one of them from the help list.
- /usr/lib/linuxconf/lib/accountarchive.sh
This preserve the home and the in-box mail file in a compressed
tar.gz file. Then both the home directory and the in-box
are removed. The archive is created in the oldaccounts sub-directory
of the default home base directory. The archive name is created
by appending the user ID of the account, the date and the process
ID of the command. This creates a unique key.
- /usr/lib/linuxconf/lib/accountdelete.sh
This simply erased the in-box mail file and the home directory.
Note that the default behavior of Linuxconf is to leave the in-box
and home directory untouched.
Next
Previous
Contents