Initiates a user session or runs a command within a workload partition.
The clogin command provides a mechanism for the root user to log in or run a command within a workload partition.
When you specify the -l flag, a session is initiated as if the session was started by the user specified using the User parameter in the workload partition. If a subsequent command is specified, the command runs as if it was launched as a parameter to the login shell associated with the User. The clogin command performs similar operations as the su command, so all of the functions that are associated with the su command apply to the clogin command.
Item | Description |
---|---|
WparName | The name of the workload partition in which to log in. |
-l User | Specifies the user name to log in the workload partition. Default is root. If you specify the command parameter, you must specify both the -l flag and the User parameter. |
command | Specifies the command running within the workload partition. The command runs as a parameter to the login shell that is associated with the user. |
args | Specifies optional parameters to use when the command that is specified by the command parameter runs. |
Item | Description |
---|---|
Access Control | Only the root user can run the command. |
clogin bucko -l dan
clogin howdy -l root /usr/bin/ps -T 1