Root user, authorized user, and other user tasks
The types of tasks that you can do with the backup-archive client depends on the type of user you are.
An authorized user is any user who has read and write access to the password store (TSM.KDB, TSM.STH, and TSM.IDX). , or anyone who knows the password and enters it interactively. Authorized users use the passworddir option to point to the directory where the password store is saved.
The following table lists the tasks that the root user, authorized
user, and other users can or cannot do.:
| Task | Root user | Authorized user | Other users |
|---|---|---|---|
| Register new nodes with the IBM Spectrum Protect™ server (if registration is set to open on the server) | Yes | Yes | Yes, if the virtualnodename option is used |
| Set or recreate IBM Spectrum Protect passwords on client workstations | Yes | Yes | No |
| Backup | Yes Note: The IBM
Spectrum Protect server administrator can specify
what type of user is allowed to back up data for a node.
|
Yes, if you have read permission to the files, regardless of ownership | Yes, if you own the files |
| Restore | Yes, when restoring to a new location or the same location, file permission and ownership are preserved. | Yes, however, the operating system prevents writing to the same location if the file has read-only permission. When restoring to the same location, file permissions and ownership are preserved. When restoring to a different location, the permissions of the restored file are preserved but the ownership changed to the current user. | Yes, if you own the file or you are granted access; however, the operating system prevents writing to the same location if the file has read-only permission. When restoring to the same location, file permissions and ownership are preserved. When restoring to a different location, the permissions of the restored file are preserved, but the ownership is changed to the current user. |
| Archive | Yes | Yes, if you have read permission to the files, regardless of ownership | Yes, if you have read permission, regardless of ownership |
| Retrieve | Yes, when retrieving to a new location or to the same location, file permissions and ownership are preserved. | Yes. However, the operating system prevents writing to the same location if the file has read only permission. Ownership of all retrieved objects is changed to the current user. | Yes, if you archived the file. However, the operating system prevents writing to the same location if the file has read-only permission. Ownership of all retrieved objects is changed to the current user. |
| Use the client scheduler to run scheduled tasks for a client node | Yes | Yes, the client acceptor is not used. You must be root user to manage the client acceptor. A non-root authorized user can use the scheduler (dsmc sched). |
No |
| Grant user access to files on the server | Yes | Yes | Yes, can grant user access only to files that they own on the server |
| Delete file spaces | Yes, if the node is granted backup delete or archive delete authority by the IBM Spectrum Protect server administrator | Yes, if the node is granted backup delete or archive delete authority by the IBM Spectrum Protect server administrator | No |
Note: The administrator can restrict backups for non-root users by issuing one of the following
commands on the server: UPDATE NODE BACKUPINIT=root or REGISTER NODE
BACKUPINIT=root
For Mac OS X clients
A system administrator is any user that is allowed to administer the system. You can check your account type by using the > tool. System Administrators have an account type of Admin.
The system administrator is responsible for configuring the server so non-administrators can
manage their own data. Non-administrators (or non-authorized users) meet the following criteria:
- They do not have a user ID of 0. They are not the root user.
- They have a user account that has not been configured as a system administrator.
For Mac OS X: When a
task requires additional authority to complete, you must use the authorization application to start
the backup-archive client. This way, the client can run with sufficient system privileges to
complete the task. The following lists the authorization tools you can use:
- For GUI tasks, use IBM Spectrum Protect for Administrators. This application is in the IBM Spectrum Protect folder. You can also use this application to start and stop the Client Acceptor Daemon.
- For command-line interface tasks, use:
sudo dsmc