# Create Shared User

We will create a shared user by making the exact same user on every node.

# On the head node

  1. Add a user named flight

     useradd -d /home/flight -u 1234 flight 
  2. Set the new user's password.

     passwd flight

# On the compute nodes

  1. Add a user named flight

     useradd -d /home/flight -u 1234 flight -M
  2. 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:

  1. The flight user can be accessed by logging in:

    su - flight
  2. After starting flight it is possible to ssh to any node from any node as the flight user.

  3. The flight username and password can be used log in to the flight web-suite.