반응형 ubuntu root2 Ubuntu root login 설정 ubuntu는 처음 설치시 root로 로그인을 할 수 없다. 그래서 user계정으로 접근 후 별도 설정을 해줘야 한다. 1. user 계정으로 접속 후 sudo 명령으로 root 전환 2. root 암호를 변경 3. /etc/ssh/sshd_config 내부 설정 변경 (PermitRootLogin yes 추가) 4. 변경 내용 저장 및 서비스 재기동 (esc → x, systemctl restart sshd) 5. 원격프로그램으로 root 접근 확인 2023. 2. 13. ubuntu gui root 로그인 허용 /etc/gdm3/custom.conf 내용 수정 AllowRoot=true 추가 # GDM configuration storage # # See /usr/share/gdm/gdm.schemas for a list of available options. [daemon] # Uncomment the line below to force the login screen to use Xorg #WaylandEnable=false # Enabling automatic login # AutomaticLoginEnable = true # AutomaticLogin = user1 # Enabling timed login # TimedLoginEnable = true # TimedLogin = user1 # TimedLo.. 2023. 2. 6. 이전 1 다음 728x90 반응형