Skip to content

Commit

Permalink
document sudo for azimuth user on slurm (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjpb authored Jul 31, 2024
1 parent 744d9a7 commit adc62e8
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions docs/platforms/slurm.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,12 @@ Additionally, Open OnDemand presents monitoring dashboards for each Slurm job.

#### Root access

To get passwordless `sudo` to the login node, SSH as the `rocky` user instead of the `azimuth` user shown on the platform's details page.
The `azimuth` user has passwordless sudo. Only this user can ssh between nodes so to get
sudo access to a non-login node ssh as `azimuth` from the login node first, then use sudo.

Other nodes can also be accessed as `rocky` by jumping through the login node, e.g.:
Note that node names can be retrieved from the `/etc/hosts` file on the login node, e.g.:

ssh -J rocky@$LOGIN_ADDR rocky@$NODE_ADDR

where `$LOGIN_ADDR` is the login node's address shown on the platform's details page and the other node's addresses can be retrieved from the `/etc/hosts` file on the login node, e.g.:

ssh -J rocky@$LOGIN_ADDR cat /etc/hosts
cat /etc/hosts

#### Additional software

Expand Down

0 comments on commit adc62e8

Please sign in to comment.