Created by Yuriy Andamasov, Modified on Thu, 27 Apr 2023 at 08:27 AM by Aslan Hajiyev
New users may be added to a VyOS system using the following commands:
[email protected]:~$ configure
[email protected]# set system login user jsmith full-name "John Smith"
[email protected]# set system login user jsmith authentication plaintext-password examplepassword
[email protected]# set system login user jsmith level admin
[email protected]# commit
[email protected]# save
This will create a new user with the username jsmith and the password examplepassword. This user will have admin privileges; to create an operator-level user, replace admin with operator in the second to last line.
You may also wish to configure SSH public key authentication for this user at this time.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article