accelo admin chsh-adpulse
This command temporarily changes the login shell for the adpulse user to allow non-root access for debugging Pulse agents (e.g., Hydra, PulseNode, PulseLogs). This enables users to access logs without requiring root privileges.
Command Syntax
accelo admin chsh-adpulse [--deadline <duration>] [--shell <shell_path>] [--hosts <host_list>]
Options
Option | Description |
---|---|
--deadline, -d | (Optional) Timeout duration (e.g., 10m, 1h). Default: 1h. |
--shell, -s | (Optional) Shell to use. Default: /bin/bash. |
--hosts, -H | (Optional) Comma-separated list of hostnames (e.g., host1.acceldata.dev,host2.acceldata.dev). By default, the shell is enabled on all hosts where agents are deployed. Use this option to limit access to specific hosts. |
Example
The below is an example of the command with option details.
accelo admin chsh-adpulse -d 10m -s /bin/bash -H host1.acceldata.dev,host2.acceldata.dev
Sets /bin/bash as the shell for the adpulse user on the specified hosts for 10 minutes.
What Happens
- Updates the shell in Hydra’s configuration.
- Hydra Agent applies the change on the relevant cluster nodes.
- After the timeout, the shell automatically reverts to /usr/bin/false.
- Enables controlled, temporary access for debugging while maintaining default login restrictions.
Was this page helpful?