메뉴 건너뛰기

(*.168.0.1) 조회 수 462 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

가 크게 작게 위로 아래로 댓글로 가기
Extra Form
출처 https://ssup2.github.io/record/Auto_root...ntu_18.04/

Auto root Login 설정 - Ubuntu 18.04

1. 설정 환경

  • Ubuntu 18.04 LTS 64bit, root user

2. root Password 설정

  • passwd tool을 이용한다.

# sudo passwd root Enter new UNIX password: Retype new UNIX password:

3. Auto Login 설정

  • /etc/pam.d/gdm-password 파일을 아래와 같이 변경한다.

#%PAM-1.0 auth requisite pam_nologin.so #auth required pam_succeed_if.so user != root quiet_success ...

  • /etc/pam.d/gdm-autologin 파일을 아래와 같이 변경한다.

#%PAM-1.0 auth requisite pam_nologin.so #auth required pam_succeed_if.so user != root quiet_success ...

  • /etc/gdm3/custom.conf 파일을 아래와 같이 변경한다.

[daemon] AutomaticLoginEnable=true AutomaticLogin=root ... [security] AllowRoot=true

4. /root/.profile Error 제거

  • 재부팅 후 /root/.profile 파일의 내용을 아래처럼 변경 한다.

mesg n || true -> tty -s && mesg n || true


  1. ps에서 pid 목록만 가져와서 kill하기

  2. 05. 프로세스 스케줄러 2

  3. CentOS 7 / SSH / 포트 변경하는 방법

  4. CentOS 7 / ntp로 시간 동기화 하는 방법

  5. No Image 21Mar
    by
    2023/03/21 Views 359 

    CentOS 7 / ReHat 7 / ProLinux 7 sendmail 설치 및 세팅

  6. No Image 06Mar
    by
    2023/03/06 Views 632 

    EOS,EOL,EOD,EOST,EOSL이란?

  7. No Image 06Mar
    by
    2023/03/06 Views 290 

    BYOL : Bring Your Own License

  8. No Image 05Mar
    by
    2023/03/05 Views 312 

    리눅스에서 커널 버전, uname -a , cat /proc/version

  9. Ubuntu 20.04 LTS (Focal Fossa) 데스크탑 달라진 점과 간단 후기

  10. Ubuntu 20.04 LTS (Focal Fossa) 데스크탑 설치 후 해야하는 것들

  11. Ubuntu release 일람표

  12. UMASK 사용법

  13. No Image 10Oct
    by
    2018/10/10 Views 297 

    Ubuntu 18.04 한글 설정

  14. No Image 10Oct
    by
    2018/10/10 Views 308 

    Ubuntu 18.04를 설치한 뒤에 해야 할 6가지

  15. No Image 10Oct
    by 정보제공
    2018/10/10 Views 462 

    Auto root Login 설정 - Ubuntu 18.04

  16. Micro VAX

  17. No Image 24Feb
    by
    2017/02/24 Views 385 

    Linux, Unix, AIX 명령어 비교

  18. Ubuntu - 우리가 함께 있기에 내가 있다

  19. No Image 10May
    by
    2016/05/10 Views 256 

    유닉스 파일 디스크립터 : > /dev/null 2>&1

  20. No Image 05Apr
    by
    2016/04/05 Views 296 

    ab -n 1000 -c 3 http://home.aiinfo.co.kr/

목록
Board Pagination Prev 1 2 3 Next
/ 3