May 19, 2019

How to enable root account in Ubuntu

The first time you install Ubuntu, you can not use the root account. Here we discuss how to activate it.

최초 Ubuntu를 설치하면 root 계정을 사용할 수 없다. 여기서는 이를 활성화하는 방법을 다룬다.


1. Set password for root account.  root 계정의 패스워드 설정.

$ sudo passwd root




2. Unlock.  잠금 해제.
How to enable root account in Ubuntu 1

Upper right gear icon → System Settings... → User Accounts → Unlock

우상단 톱니바퀴 아이콘 → System Settings... → User Accounts → Unlock




3. Enable root account login.  root 계정 로그인 활성화.
$ sudo vi /etc/lightdm/lightdm.conf

How to enable root account in Ubuntu 2

Write as above and save. Then reboot.

위와 같이 입력 후 저장한다. 이어서 재부팅한다.