user_addrec <login> <expire> <time_limit> [session_limit] [priority] [ph_no] {class_limit}
user_addrec creates an ACUA user record. This is normally called from user_add, and you shouldn't run it directly unless you know what you're doing.
<login> - The login name of the user to add.
<expire> - The expiry time for the account. You can specify days, months, or years, as follows:
x = x days, xd = x days, xm = x months, xy = x years.
NOTE: If <expire> = 0, the account will not be expired.
NOTE: The 1st day/month/year will align to the end of the current day/month/year. If <expire> = 1y, for example, the account will be expired at the end of the current year.
<time_limit> - How much time / day to give the user (in minutes).
NOTE: if <time_limit> = -1, there is no time limit!
[session_limit] - How much time / session to give the user (in minutes). If this is not given, it defaults to <time_limit>.
NOTE: session_limit <= time_limit.
NOTE: if session_limit = -1, there is no session limit!
[priority] - The priority for this user (0-7, 7 being the highest). If this is not given, it defaults to 4.
[ph_no] - The user's phone number. If the phone number contains whitespace, it must be quoted. If "0" is given, no phone number is set.
{class_limit} - Up to four may be given. The first is the limit (in minutes) for time class 0, the second is the limit for time class 1, etc...
- A class limit of 0 means the user will not be able to log in during that time class.
- A class limit of -1 means the user will have no time limit unique to that time class (this is the default).
- A class limit of -2 means the user will not have session time deducted during that time class.
- A class limit of -3 means the user will not have session time or overall time deducted during that time class.
Adam McKee
Last modified: Sun Jun 22 12:38:57 CST 1997