welcome: please sign in

Diff for "UserManagement"

Differences between revisions 8 and 9
Revision 8 as of 2011-04-21 17:22:56
Size: 86
Editor: ip-209-172-62-86
Comment: vpVDMc <a href="http://hodlaqtlsylo.com/">hodlaqtlsylo</a>
Revision 9 as of 2011-04-22 22:59:25
Size: 963
Editor: ClintonEbadi
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
vpVDMc <a href="http://hodlaqtlsylo.com/">hodlaqtlsylo</a> We have two standard Debian GNU scripts to perform user management.

== adduser ==
First, adduser, does the usual job, and executes /usr/local/sbin/adduser.local.
There we log new account creation to our special log file, and set up
group quotas. We can't set up quotas by defining the appropriate variable
in /etc/adduser.conf because that works for user quotas only, and not
group quotas. What a shame.

== deluser ==
The tool to delete users is deluser. What's wrong with deluser is that it
can remove user's files at deletion time, and it can also back them up
before that. You can specify backup directory, but it goes tar-gzipping
the files, which can take a long time. I need to hack the source to allow
files to just be moved to the backup directory. This way, if you keep
backup dir on the same partition as /home, moving user's files is
instant and doesn't grow linearly with user directory size.
Line 3: Line 19:
CategoryNeedsWork CategorySystemAdministration

We have two standard Debian GNU scripts to perform user management.

1. adduser

First, adduser, does the usual job, and executes /usr/local/sbin/adduser.local. There we log new account creation to our special log file, and set up group quotas. We can't set up quotas by defining the appropriate variable in /etc/adduser.conf because that works for user quotas only, and not group quotas. What a shame.

2. deluser

The tool to delete users is deluser. What's wrong with deluser is that it can remove user's files at deletion time, and it can also back them up before that. You can specify backup directory, but it goes tar-gzipping the files, which can take a long time. I need to hack the source to allow files to just be moved to the backup directory. This way, if you keep backup dir on the same partition as /home, moving user's files is instant and doesn't grow linearly with user directory size.


CategorySystemAdministration

UserManagement (last edited 2013-01-11 08:44:18 by ClintonEbadi)