Support Downloads Community

UniFi Video is an obsolete product line.

This application and its related devices will no longer receive any manner of technical support, including functional and security updates. Additionally, there will be no further updates to Help Center content pertaining to UniFi Video.

EdgeRouter - Root User Account

Overview

Readers will learn how to access the root user shell and how to allow root login over SSH.

NOTES & REQUIREMENTS:
Applicable to the latest EdgeOS firmware on all EdgeRouter models. Please see the Related Articles below for more information.
Device used in this article:

Root User Privileges

Back to Top

The password on the root user account is not defined by default. This is a security precaution that prevents the root account from being used to log into the device (Web UI, CLI) using password-based authentication.

It is possible to access the root user shell to browse or modify the linux subsystem. Follow the steps below to elevate the prompt:

CLI: Access the Command Line Interface.You can do this using the CLI button in the GUI or by using a program such as PuTTY.

1. Log in using a previously created admin account.

2. Use the sudo command to elevate the privileges or invoke a root user shell.

ubnt@edgerouter:~$ sudo su

3. Use the exit command to return to the EdgeOS operational mode prompt.

root@edgerouter:/home/ubnt# exit

If necessary in your environment, follow the steps below to set the root user password.

CLI: Access the Command Line Interface.You can do this using the CLI button in the GUI or by using a program such as PuTTY.

1. Enter configuration mode.

configure

2. Set the root user account password.

set system login user root authentication plaintext-password <password>

3.  Allow the root user to login via SSH.

set service ssh allow-root

4. Commit the changes and save the configuration.

commit ; save

Related Articles

Back to Top

EdgeRouter - User Accounts

EdgeRouter - Access the CLI from the Web UI

Intro to Networking - How to Establish a Connection Using SSH

Was this article helpful?
11 out of 21 found this helpful