in reply to How do I add a new Unix user?
The above answers are are good. I've commonly had to add custom features to account creation, but I usually build it as a wrapper around useradd/adduser. Mainly customizations center around site-specific elements, such as unique mail handling/configuration, quotas, sudo capabilities, and group management.
Re: Re: How do I add a new Unix user?
by blue_cowdawg (Monsignor) on May 25, 2001 at 00:26 UTC
|
There is another reason I forgot about for creating a custom login creation script. In one environment I was in user accounts, host namespace, and other goodies were kept in a RDBMS. Several times a day the user namespace would be rebuilt using a query to determine new accounts and build them and then rebuild the /etc/password file, /etc/shadow file, NIS, or NIS+ whichever poison was being used in a particular "zone".
The passwords were stored in the RDMS already encrypted and users changed their password by interacting with a client app instead of the usual "passwd" command.
Peter L. Berghold | Schooner Technology Consulting, Inc. |
Peter@Berghold.Net | www.berghold.net |
| [reply] [Watch: Dir/Any] |
|