Creating Admin Accounts ~ All Operating Systems - jwells24/Tech-Journal GitHub Wiki

Creating Local Admin Accounts

Windows

CentOS

Ubuntu

  • In Ubuntu, the commands and groups are slightly different than CentOS. The screenshot below shows how to add a user, and change the group of the user to sudo. This will give the new user sudo privileges. The last command sets the password of the new user.

addUserUbuntu

VYOS

  • In vyos, it is pretty simple to add a user and set a password. All created users have sudo access, so we don't need to append them to a group. Use the commands below to add a new user, and don't forget to commit and save.

addUserVYOS