diff options
author | hagbard <vyosdev@derith.de> | 2019-04-05 10:04:09 -0700 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2019-04-05 10:04:09 -0700 |
commit | c77c4df9d12bdd97557d2c9ef0200fa612cac8c6 (patch) | |
tree | 58428973344bf9d80c584b1bc80c46018c1548ba /docs | |
parent | baa814916de527005a4327c35f3cbb8f64de2383 (diff) | |
download | vyos-documentation-c77c4df9d12bdd97557d2c9ef0200fa612cac8c6.tar.gz vyos-documentation-c77c4df9d12bdd97557d2c9ef0200fa612cac8c6.zip |
T1324 - update documtation for 'set system login user level'
Diffstat (limited to 'docs')
-rw-r--r-- | docs/system/systemusers.rst | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/docs/system/systemusers.rst b/docs/system/systemusers.rst index a8ae570e..ef153377 100644 --- a/docs/system/systemusers.rst +++ b/docs/system/systemusers.rst @@ -3,31 +3,21 @@ System Users ------------ -VyOS supports two levels of users: admin and operator. +The default vyos user account, as well as newly created user accounts, have all capabilities to configure the system. +All accounts have sudo capabilities and therefore can operate as root on the system. +Setting the level to admin is optional, all accounts on the system +will have admin privileges. -The operator level restricts a user to operational commands and prevents -changes to system configuration. This is useful for gathering information -about the state of the system (dhcp leases, vpn connections, routing tables, -etc...) and for manipulating state of the system, such as resetting -connections, clearing counters and bringing up and taking down connection -oriented interfaces. - -The admin level has all of the capabilities of the operator level, plus the -ability to change system configuration. The admin level also enables a user -to use the sudo command, which essentially means the user has root access to -the system. Creating Login User Accounts ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Create user account `jsmith`, with `admin` level access and the password -`mypassword` +Create user account `jsmith` and the password `mypassword`. .. code-block:: sh set system login user jsmith full-name "Johan Smith" set system login user jsmith authentication plaintext-password mypassword - set system login user jsmith level admin The command: @@ -63,4 +53,4 @@ The following command will load the public key `dev.pub` for user `jsmith` .. code-block:: sh - loadkey jsmith scp://devuser@dev001.vyos.net/home/devuser/.ssh/dev.pub
\ No newline at end of file + loadkey jsmith scp://devuser@dev001.vyos.net/home/devuser/.ssh/dev.pub |