#
e. 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
flight2
useradd -d /home/flight2 -u 1234 flight2
Set the new user's password.
passwd flight2
#
On the compute nodes
Add a user named
flight2
useradd -d /home/flight2 -u 1234 flight2 -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 flight2
Repeat these steps on all compute nodes.