#
Create Shared User
We will create a shared user by making the exact same user on every node.
#
On the head node
Add a user named
flight
useradd -d /home/flight -u 1234 flight
Set the new user's password.
passwd flight
#
On the compute nodes
Add a user named
flight
useradd -d /home/flight -u 1234 flight -M
The
-M
command is important because it creates a user with no home directory. The home directory for this user is created on the head node, and shared by NFS.Set the new user's password, and make it the same as on the head node.
passwd flight
Repeat these steps on all compute nodes.
#
Testing
If all was successful, then the following should be the case on all nodes:
The flight user can be accessed by logging in:
su - flight
After starting flight it is possible to ssh to any node from any node as the flight user.
The flight username and password can be used log in to the flight web-suite.