2swan
[Ubuntu] GUI 리스트에서 root 접속 활성화 본문
3개 파일을 수정하면 GUI 리스트에 root 계정 접속 가능하다.
* /etc/gdm3/custom.conf, /etc/pam.d/gdm-password, /etc/pam.d/gdm-autologin 파일 수정
1. custom.conf 파일 수정
$ vi /etc/gdm3/custom.conf
# Enabling automatic login
AutomaticLoginEnable = true
AutomaticLogin = root
[security]
AllowRoot=true
2. gdm-password 파일 수정
$ vi /etc/pam.d/gdm-password
#auth required pam_succeed_if.so user != root quiet_success
3. gdm-autologin 파일 수정
$ vi /etc/pam.d/gdm-autologin
#auth required pam_succeed_if.so user != root quiet_success
4. 서버 재 기동 후 접속 ( Not listed? 클릭하여 root 로 접속 진행 )
# shutdown -r now
'Linux > Ubuntu' 카테고리의 다른 글
| [Ubuntu] 사용자 계정 root 권한 부여 (0) | 2025.06.04 |
|---|---|
| [Ubuntu] root 계정 ssh 접속 제한 (0) | 2025.04.30 |
| [Ubuntu] Ubuntu IP 설정 (0) | 2025.04.21 |
| [Ubuntu] Kernel 원복 (0) | 2025.03.27 |
| [Ubuntu] kernel 업데이트 (1) | 2025.03.27 |