Add a user from within Eterm
From the “F2-System” menu, select “System Files…” (F), “User Control…” (U), and finally “Add Unix/Linux User” (L).
Enter the details, as shown in the example below, and then select “Create User” (C) to create the new user in both Eclipse and the OS (or select “Create Unix User Only” (U) to create only the OS user for an existing Eclipse user).
The new user may now login to Linux using their new account.
Add a user from the command line
View a step-by-step screencast of this process:
- NOTE: in the example below, we are adding a user with the username “johndoe.” Replace “johndoe” with the username you wish to add to the system.
- Log into your server as root
- Create a new user that’s a member of the “eclipse” user group:
useradd -G eclipse johndoe
- Set the user’s Linux login password:
- NOTE: if you attempt to set a weak password, you may see a warning. If you are willing to accept using a weak password, simply type it in again and confirm to proceed. If you would like to create a user with a blank password, please see this article.
- Create a link for the user’s profile, which will automatically launch Eclipse when they login:
ln -sf /u2/eclipse/.profile /home/johndoe/.bash_profile
- Open Eterm and log into the server using the newly created username and password. If you added the user correctly, you will be presented with the blue Eclipse login screen.
- If you are presented with a prompt to update the directory’s VOC, modify the /u2/eclipse/.profile file as root, adding the following block of code before the “Setup the Eclipse environment” section:
# Move to the Eclipse account home directory export ECLIPSEHOME=/u2/eclipse cd $ECLIPSEHOME
- If you’re still not able to log in using the new user’s credentials, please open a support request, and the Eclipse support team will provide assistance.
For step-by-step instructions with screenshots for using the graphical interface, see the official Red Hat documentation on Users and Groups