Technical data

Managing User Accounts
7.7 Maintaining User Accounts
7.7.6 Using BACKUP to Remove User Files
If each user has a unique UIC, you can use the Backup utility (BACKUP) to
remove the users files, even if the files are scattered throughout the directory
structure. See the Backup utility section in the OpenVMS System Management
Utilities Reference Manual for more information.
Examples
1. The following example of a BACKUP command is used to remove files:
$ BACKUP/DELETE PUBLIC:[...]/BY_OWNER=[21,103] MTA0:PUBLICUIC.SAV
This BACKUP command copies and deletes only those files owned by the
specified UIC on disk PUBLIC. The files are copied into a save set named
PUBLICUIC.SAV on device MTA0. Note that the BACKUP/DELETE
command does not delete the directory files (file type .DIR) for the account.
2. To recover lost files, enter the ANALYZE/DISK_STRUCTURE command in
the following format:
ANALYZE/DISK_STRUCTURE/REPAIR/CONFIRM device-name:
See Section 9.12.3 for a complete description of how to recover lost files. See
the OpenVMS System Management Utilities Reference Manual for information
on using the Analyze/Disk_Structure utility.
7.7.7 Disabling a User Account
To disable an account without deleting it, set the disable user flag
(/FLAGS=DISUSER) using AUTHORIZE. If the user is logged in, the account is
disabled only after the user logs out.
7.8 Restricting the Use of Accounts
Workload schedules often dictate the days and times your system is used to
perform specific operations. Depending on the nature of the work performed at
your site, you might want to control when certain users are allowed to log in. Use
the Authorize utility (AUTHORIZE) to place controls in the login characteristics
fields of the UAF record to restrict the days and times a user can log in and to
inhibit certain login functions.
The following sections describe how to perform these tasks:
Task Section
Setting day types Section 7.8.1
Restricting logins to specific times Section 7.8.2
Restricting CPU time Section 7.8.3
Restricting login functions Section 7.8.4
Using login command procedures for restricted or captive accounts Section 7.8.5
Setting priorities for user processes Section 7.8.6
For a detailed description of the qualifiers used to restrict the use of accounts,
see the Authorize utility section in the OpenVMS System Management Utilities
Reference Manual.
Managing User Accounts 727