welcome: please sign in

Diff for "UserManagement"

Differences between revisions 1 and 11 (spanning 10 versions)
Revision 1 as of 2005-08-14 02:24:33
Size: 898
Editor: DavorOcelic
Comment:
Revision 11 as of 2013-01-11 08:43:42
Size: 521
Editor: ClintonEbadi
Comment: it was out of date, so make it not out of date and vaguely informative
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
We use a few custom scripts for managing users.
Line 2: Line 3:
We have two standard Debian GNU scripts to perform user management. See AuthenticationScheme for background information.
Line 4: Line 5:
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.
 * `create-user $USER` creates a new "real" user (human being)
 * `create-service-user $USER` creates a new shared service user
 * `freeze` for freezing members that will have a negative balance soon (see MemberFreezing)
 * `destroy-user $USER` deactivates the user account, saving their volume for a later purge (or reactivation if they rejoin quickly)
Line 10: Line 10:
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 bak 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 CategoryNeedsWork

We use a few custom scripts for managing users.

See AuthenticationScheme for background information.

  • create-user $USER creates a new "real" user (human being)

  • create-service-user $USER creates a new shared service user

  • freeze for freezing members that will have a negative balance soon (see MemberFreezing)

  • destroy-user $USER deactivates the user account, saving their volume for a later purge (or reactivation if they rejoin quickly)


CategorySystemAdministration CategoryNeedsWork

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