How do I remove a Linux Eterm user via the command line?

Warning: As always, please exercise caution and follow best practices when performing system maintenance, especially when initiating processes that can potentially delete data.

Easy Procedure: Remove a User (Recommended)

  • Log into your server as root
  • Remove the user (where username is the user you wish to remove):
userdel username

If you prefer the graphical interface, you may perform the same function via the GUI.

Advanced Procedure: Remove a User and Home Directory

The above command does not remove the user’s home directory, because it often contains important database files. If you would like to remove both a user and their home directory, you must first verify that your users are not configured to use the database directory as their home directory:

  • Log into the server as root
  • Verify the user’s home directory (where username is the user whose home directory you are checking):
echo ~username
  • If the output displays /u2/eclipse or anything other than /home/usernamedo not continue. This user’s home directory is the shared database directory. You must use the procedure above to remove only the user. Contact Eclipse Support with any questions.
  • If the output displays /home/username, you may proceed with the procedure and remove the user and their home directory:
userdel -r username

How do I access the Linux GUI via VNC?

VNC is a remote desktop protocol similar to Microsoft Windows Terminal Services or RDP. The server must be powered on and running Linux for VNC to operate.

First, you must have a VNC viewer application for your PC, Mac or mobile device. In this example, we’ll be using the free RealVNC viewer.

Launch the viewer and enter your server’s IP address, followed by “:1” to signify the VNC service listening on the first available port and press Connect:

VNC_1

When prompted, select Continue:

VNC_2

When prompted, enter your VNC password:

VNC_3

You will now be at the GUI desktop. When you are finished, just close the VNC window to end your session.