Auto Root User Login Setting / Ubuntu 18.04 Environment
1. Setting Environment
The setting environment is as follows.
- Ubuntu 18.04 LTS 64bit, root user
2. root Password Setting
$ sudo passwd root
Enter new UNIX password:
Retype new UNIX password:Set the root Password using the passwd tool.
3. Auto Login Setting
| |
Change the /etc/pam.d/gdm-password file to the contents of [File 1].
| |
Change the /etc/pam.d/gdm-autologin file to the contents of [File 2].
| |
Create the /etc/lightdm/lightdm.conf file with the contents of [File 3]. (If the file already exists, modify it.)
4. Remove /root/.profile Error
| |
After rebooting, modify the contents of the /root/.profile file to the contents of [File 4].