home

Supported platforms

Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

Operator users

An overview of the operator user role and the related commands.

Operator users have read-only access to configuration plus the ability to execute vRouter operational commands. Operator users can view in operational mode (by using show commands), configure their terminal settings (by using the set terminal command), and exit from the Vyatta CLI (by using the exit command). Operator users cannot enter configuration mode; however, they can display configuration by entering the show configuration command in operational mode.

Basic commands for displaying information (for example, show configuration plus the pipe commands, such as more, for managing display output) are available. Commands that use control constructs (such as if, for, and so on), list operators (such as ;, &&, and so on), and redirection are not available to operator users.

To create an operator user, enter the following command:

vyatta@vyatta# set system login user user-name level operator
vyatta@vyatta# set system login user user-name authentication plaintext-password password
vyatta@vyatta# commit

where user-name is the ID of the user account you are creating and password is the password you are assigning to the user.

Operating system shell commands are not available to operator users and, consequently, the list of commands returned by using command completion for operator-level users is restricted to vRouter commands.

You can remove the restriction on command completion by setting the VYATTA_RESTRICTED_MODE environment variable to none, as follows:

export VYATTA_RESTRICTED_MODE=none

This setting removes the restriction on command completion for all users, regardless of privilege level.