ee25310d |
1 | We have two standard Debian GNU scripts to perform user management.\r |
2 | \r |
3 | == adduser ==\r |
4 | First, adduser, does the usual job, and executes /usr/local/sbin/adduser.local. \r |
5 | There we log new account creation to our special log file, and set up \r |
6 | group quotas. We can't set up quotas by defining the appropriate variable\r |
7 | in /etc/adduser.conf because that works for user quotas only, and not\r |
8 | group quotas. What a shame.\r |
9 | \r |
10 | == deluser ==\r |
11 | The tool to delete users is deluser. What's wrong with deluser is that it\r |
12 | can remove user's files at deletion time, and it can also back them up\r |
13 | before that. You can specify backup directory, but it goes tar-gzipping\r |
14 | the files, which can take a long time. I need to hack the source to allow\r |
15 | files to just be moved to the backup directory. This way, if you keep \r |
16 | backup dir on the same partition as /home, moving user's files is\r |
17 | instant and doesn't grow linearly with user directory size.\r |
18 | ----\r |
19 | CategorySystemAdministration\r |