Skip to content

Commit 3c72a5f

Browse files
edit: Create a new System User
1 parent 35c102a commit 3c72a5f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cli.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Allways run `commit` and `save` if you want to save your configuration.
2525
`set system gateway-address 123.123.123` | set the default Gateway
2626
`set system ntp server 0.ubnt.pool.ntp.org` | set the ntp server (active per default). You can specify multiple NTP Server
2727
`set system time-zone Europe/Berlin` | set your timezone (use tab if you are in a different timezone)
28-
`set system login banner pre-login "This is a test \nAnd this is a new line\n"` set a banner (simular to banner in the cisco world)
28+
`set system login banner pre-login "This is a test \nAnd this is a new line\n"` | set a banner (simular to banner in the cisco world)
2929

3030
the `delete` command can delete a configuration (simular to e.g. `no shutdown` in the cisco world). E.g.: `delete system domain-name`
3131

@@ -41,13 +41,15 @@ replace *<new-username>* with your username and *<superSecretPassword123>* with
4141
```
4242
set system login user <new-username> authentication plaintext-password <superSecretPassword123>
4343
set system login user <new-username> level admin
44+
# optional: set full name
45+
set system login user <new-username> full-name 'Firstname Lastname'
46+
4447
```
4548
Now test if you can login with the new user and then delete the default user *ubnt*. This only works if the user isn't logged in (either via ssh or GUI).
4649
```
4750
delete system login user ubnt
4851
```
4952

50-
5153
### Configuration Switch
5254
The Router can also act as a switch. Here is an example:
5355
```

0 commit comments

Comments
 (0)