June 2002
Beginner
759 pages
80h 42m
English
UserCreate
UserCreate (server,username,password,passwordage,privilege,homedir,comment,flags,scriptpath)
Creates a new user with the specified settings:
serverName of the server
usernameName of new user
passwordThe user’s password
passwordageAmount of time before password expires
privilegePrivilege settings of the new user, which can be one of the following:
USER_PRIV_MASK USER_PRIV_GUEST USER_PRIV_USER USER_PRIV_ADMIN
homedirPathname of the user’s home directory
commentA string containing a comment about the user
flagA flag containing user creation settings, which can be one of the following:
UF_TEMP_DUPLICATE_ACCOUNT UF_NORMAL_ACCOUNT UF_INTERDOMAIN_TRUST_ACCOUNT UF_WORKSTATION_TRUST_ACCOUNT UF_SERVER_TRUST_ACCOUNT UF_MACHINE_ACCOUNT_MASK UF_ACCOUNT_TYPE_MASK UF_DONT_EXPIRE_PASSWD UF_SETTABLE_BITS UF_SCRIPT UF_ACCOUNTDISABLE UF_HOMEDIR_REQUIRED UF_LOCKOUT UF_PASSWD_NOTREQD UF_PASSWD_CANT_CHANGE
scriptpathPathname for the user’s login script