Artica Wiki

Su privileges

The su (short for "substitute user" or "switch user") command allows you to switch the current user identity to another user account within a terminal or SSH session

The su (short for "substitute user" or "switch user") command allows you to switch the current user identity to another user account within a terminal session. By default, running su without any arguments attempts to switch to the root user, prompting for the root account’s password.

When used with a username (e.g., su john), it opens a new shell as that specific user.
The su command is commonly used for:

  • Gaining superuser (root) access to perform administrative tasks
  • Switching between user accounts without logging out
  • Running commands in another user’s environment
  • For full login environment (similar to logging in as the user), use: su - username

This feature is available on Artica v4.50 Service Pack 3 or Artica v4.50 Service Pack 2 Hotfix 20250513-02

Allow su to a specific user