Adding a user to the cluster is a 2 steps operation, the account needs to be created on the management node (MN) using the standard Linux administration tools and then propagated to the compute nodes (CN).
1- Ad a user on the MN
[root@411head ~]# useradd testuser2
2- Propagate the account information accross the nodes
I assume here all the compute nodes are part of the "compute" node group
[root@411head ~]# updatenode compute -F
File synchronization has completed.
A good test is to ssh a compute node:
[root@411head ~]# su - testuser2
No public/private RSA keypair found.
Generating public/private rsa key pair.
Created directory '/home/testuser2/.ssh'.
Your identification has been saved in /home/testuser2/.ssh/id_rsa.
Your public key has been saved in /home/testuser2/.ssh/id_rsa.pub.
The key fingerprint is:
The key's randomart image is:
+--[ RSA 2048]----+
| ..o. |
| o o |
| o + . |
| * o |
| S = . |
| + . |
| . . . + . |
| o.E. + . . |
| .++.. ... |
[testuser2@411head ~]$ ssh compute003 uptime
Warning: Permanently added 'compute003,172.20.50.8' (RSA) to the list of known hosts.
22:52:55 up 2:44, 1 user, load average: 0.01, 0.07, 0.04