SMCMOD - create/update/delete an SMC entry.

Syntax:

uw_priv/smcmod userid [option]*
(+|-)CARDin              (+|-)CREate (-)
(+|-)DELete (-)          (+|-)Force (-)
(+|-)LODS                (+|-)LODX
(+|-)TALK                (+|-)Verbose (+)
(+|-)Zdebug (-)
LLinks[+|-]=number       Password=string
ResourcesAllowed[+|-]=dollars
ResourcesUsed[+]=pennies Urgency=numbre

Examples:

uw_priv/smcmod fbaggins p=frodo ll=120 ra=500 +create
   -- create fbaggins$frodo with 120 llinks, $500
uw_priv/smcmod bbaggins ra+=1000
   -- increase resources allowed by $1000
uw_priv/smcmod fbaggins ll+=60
   -- add 60 llinks to current quota
uw_priv/smcmod fbaggins -lods +lodx
   -- turn off LODS, turn on LODX
uw_priv/smcmod sauron +delete -create
   -- delete userid SAURON

Options:

-CARDin/+CARDin
turns off/on the CARDIN privilege bit.
+CREate
MUST be specified to create an account.
-CREATE
MUST be specified in conjunction with +DELete to delete userids (just to be cautious).
+DELete
deletes a userid. All the filespace and the UMC must be released before using this option.
+Force
can be used in conjunction with +DELete to release the SMC entry even though the UMC has not been released. This option should only be used in rare circumstances since it will result in loss of system file space (until the next init/restore).
LLinks=number
sets the file space quota to the given number of llinks. To set an unlimited file space quota, use LLinks=0 on an already-existing userid.
LLinks+=number
increases the file space quota by the given number of llinks. For example, LL+=100 adds 100 llinks to the current limit.
LLinks-=number
decreases the file space quota by the given number of llinks.
-LODS/+LODS
turns off/on the LODS privilege bit.
-LODX/+LODX
turns off/on the LODX privilege bit.
Password=string
sets the password to "string".
ResourcesAllowed=dollars
sets the spending limit on the userid's resources to the given number of dollars.
ResourcesAllowed+=dollars
increases the spending limit on the userid's resources by the given number of dollars.
ResourcesAllowed-=dollars
decreases the spending limit on the userid's resources by the given number of dollars.
ResourcesUsed=pennies
changes the record of the resources that the userid has used to the given number of cents. Since this overrides the normal accounting process, this option should not be used lightly.
ResourcesUsed+=pennies
increases the record of the resources that the userid has used by the given number of cents.
-TALK/+TALK
turns off/on the TALK privilege bit.
Urgency=number
sets the maximum batch urgency a user may specify for batch jobs. "number" must be in the range 0-63.
-Verbose
does not call ACS to verify the actions of this command.
-Zdebug
does debugging actions, if any. The action of this option is subject to change without notice.

Description:

SMCMOD updates the System Master Catalog (SMC). Userids can be added, deleted, or modified. Anyone with permission to run this command can literally do anything to anybody on the system; therefore, access to SMCMOD should be tightly controlled.

When SMCMOD executes, it checks for the existence of a file named

/usage/log

under the MASTER userid (or under the userid that the site has configured to take the place of MASTER). If this file exists, SMCMOD records its actions in that file.

Copyright © 1996, Thinkage Ltd.