VyOS users privilege levels

Created by Yuriy Andamasov, Modified on Wed, 26 Apr 2023 at 11:36 AM by Aslan Hajiyev

VyOS defines what users can do on a system by having two privilege levels: operator and admin

Operators may log into the system and run operational commands, but can notchange system configuration. Thus, operators may view the status of the system and services, as well as make basic operational changes, such as bringing up and down network interfaces.

 Admins, on the other hand, are able to change the system's configuration, in addition to having the same privileges as operators. The admin level also gives access to the sudo command, meaning admin level users have full root access to the system as well.

The privilege level is set as part of making a new user, but may be changed by any admin-level user in configuration mode with the following command:

set system login user  level 

where  is the user's username, and   is the level you wish to set for that user (either admin  or operator).

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article