Embedded Linux

ubuntu-15.04 root 계정 활성화 하기

작성자 관리자 작성일15-10-29 15:19 조회4,387회 댓글0건

1. root 계정의 password 설정하기
$ sudo passwd root
Enter new UNIX password:              --> set root password
Retype new UNIX password:                --> confirm
passwd: password updated successfully

2.  root 계정으로 변경
$ su -
Password:         
 
        ---> root password
#                                  ---> root 계정으로 변경

3. 사용자 계정으로 돌아가기
# exit

4. Ubuntu 14.04 /15.04  root 계정 활성화하기...
$ sudo  gedit  /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf

greeter-show-manual-login=true

를추가함

5. 저장하고, 재 부팅



6. 로그인 시 에러 수정

Error found when loading /root/.profile
stdin:is not a tty


  <root/.profile의 "mesg  n" 부부을 아래와 같이 수정>


   # cd ~
    # vi   .profile


         if `tty -s`; then
         mesg n
         fi
----------------------------------------------------------------------------------