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.