user_mod [-s]

user_mod modifies an ACUA user record.

The -s switch can be used to strictly enforce setting of "time left" fields within their corresponding limits. For example, if you set tLeft > tLimit, user_mod will set tLeft = tLimit. This switch is mostly intended to support "time bank" functionality (see the HOWTO for more information).
In the first usage, directly change the expiry date and time limits of a user. See user_addrec for a description of the arguments.

In the second usage, flags are modified. Flags are asserted with + and de-asserted with -, as you might expect. The flags 0-15 are user-defined flags (meaning that you define their meaning/purpose). Currently, user_foreach and user_renew are capable of basing their actions on the value of user-defined flags.

The system-defined flags are:
NOTE: See the IdleBoot section in acua.config for a description of when the system is considered to be busy.

In the remaining usages, specific fields are modified. Fields may be incremented (+=), decremented (-=), or directly changed (=). The fields are:
NOTE: If a user has a subscription, any changes to their record made with user_mod will be undone when the subscription expires.



Adam McKee
Last modified: Thu Jul 3 14:36:59 CST 1997