From: Joe C. <jo...@sw...> - 2001-03-27 00:58:17
|
Thanks a heap, Jamie. That makes it downright easy. Jamie Cameron wrote: >> What I'm trying to figure out is, what needs to be specified in the >> %user hash when calling create_user? As I mentioned, the details of the >> user will not be chosen on a per-user basis so I definitely don't need >> all the funny bits being checked and configured in useradmin, but I want >> to make sure I'm creating a functional and completely defined user. > > > The hash keys that need to be in %user are : > > user - The username > pass - The encrypted password (you should call encrypt_password to generate this) > uid - The user's UID > gid - The GID of the user's primary group > real - The user's real name > home - Home directory > shell - The user's shell > > In addition, if your system supports the shadow password file you also set the following > keys if you want (if not, they will just be left empty which is the default) > > change - Days since 1st jan 1970 that password was changed > min - Days before password may be changed > max - Days after which password must be changed > warn - Days before password is to expire that user is warned > inactive- The number of days of inactivity allowed for the user > expire - Days since Jan 1, 1970 that account is disabled > > - Jamie > > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel -- -- Joe Cooper <jo...@sw...> Affordable Web Caching Proxy Appliances http://www.swelltech.com |