info_i_25x25.png Due to unforeseen weather conditions we are experiencing higher chat wait times. Remember you can also submit a ticket and one of our support representatives will get back to you as soon as possible. We apologize for the inconvenience.

EdgeRouter - Create and delete user accounts on EdgeOS

Overview


Users will learn how to remove default user accounts in EdgeOS using the GUI or CLI. Authentication* can also be set up and managed via a RADIUS server.

Using GUI


To remove the default user account, do the following:

  1. Create a new user.
  2. Log out of the default user account.
  3. Log in with the new user account.
  4. Delete the default user account.

Using CLI


Use the setcommitsaveexit, and delete commands.

Create New User Account

[email protected]:~$ configure
[edit]
[email protected]# set system login user admin1 authentication plaintext-password admin1pass
[edit]
[email protected]# commit
[edit]
[email protected]# save
Saving configuration to '/config/config.boot'...
Done
[edit]
[email protected]# exit
exit
[email protected]:~$ exit
logout

Delete Default User Account

Welcome to EdgeOS ubnt ttyS0
ubnt login: admin1
Password:
Linux ubnt 2.6.32.13-UBNT #1 SMP Fri Jun 8 09:48:31 PDT 2012 mips64
Welcome to EdgeOS
[email protected]:~$ configure
[edit]
[email protected]# delete system login user ubnt
[edit]
[email protected]# commit
[edit]
[email protected]# save
Saving configuration to '/config/config.boot'...
Done
[edit]
[email protected]# exit
exit
[email protected]:~$

The plaintext password that you entered is converted to an encrypted password.

[email protected]:~$ configure
[edit]
[email protected]# show system login
 user admin1 {
 authentication {
 encrypted-password $1$mv8ERQ1T$7xq/eUDwy/5And7nV.9r6.
 plaintext-password ""
 }
}
[edit]
[email protected]# exit
exit
[email protected]:~$

RADIUS

EdgeOS supports login authentication using an external RADIUS server. To configure a RADIUS login, use the following commands:

configure
set system login radius-server <ip address> secret <radius key>
commit
save
exit

Note


*A local user account must also exist on the system even when RADIUS authentication is used.