'ubuntu'에 해당되는 글 2건

  1. 2011.12.22 ubuntu root password 설정하기
  2. 2011.12.22 ubuntu Server에 x-windows 설치
Computer2011. 12. 22. 13:01
원래 우분투 리눅스는 root (관리자 계정)로 로그인할 수 없습니다. 설치할 때 사용자 ID를 root 로 정하면 로그인이 아예 불가능하게 됩니다.


다음은 우분투에 root 계정과 암호를 만들어 주는 방법입니다.

우선 사용자 계정으로 로그인 합니다. 


프롬프트에서

sudo passwd root

라고 합니다. 주의! 위에서 "passwd"라는 문자열은 진짜 암호가 아니라 문자 그대로 입력해야 합니다.

만약 패스워드가 foo 라고 해서

sudo foo root

이렇게 하면 안됩니다. 정확히 sudo passwd root 이렇게 적어 주어야 합니다.

그러면 현재 암호를 먼저 묻습니다. 현재 로그인한 ID의 암호를 한번 입력해 주면 이제

Enter new UNIX password:

라고 나오며 root 의 암호를 2번 묻습니다. 새 암호를 만들어 적어 주면 됩니다.

그러면 이제 root 로 로그인할 수 있습니다. root 계정이 생기는 것입니다.

Ctrl+D키를 눌러, 로그아웃한 후 root 로 로그인해 봅니다.


그런데 root 의 패스워드가 짧고 간단하다면 해커들의 표적이 됩니다. 되도록 길고 복잡해야 합니다.




예전 버전과 달리, 우분투 9.04에서는 좀더 설정을 해주어야만 root로 로그인이 됩니다.

상단 메뉴에서

System / Administration / Login Window / Security 탭을 찾아간 후

"Allow local system administrator login"에 체크한 후,

로그아웃하고 root로 로그인하면 됩니다.
Posted by beingmania
Computer2011. 12. 22. 12:57
[soriel01@localhost] sudo su -   (관리자모드로 변환)
password :                               (root 권한 password 입력)
[root@localhost] apt-get update  (새로운 업데이트 확인)
[root@localhost] apt-get dist-upgrade     (업데이트)
[root@localhost] apt-get install xorg gdm (Graphic Mode 설치)
[root@localhost] apt-get install gnome-session gnome-menus gnome-panel metacity nautilus
                        (Gnome 설치)
[root@localhost] apt-get install [다음 Package 설치]
            gnome-applets 
            gnome-control-center 
            gnome-volume-manager 
            libsmbclient
            gnome-screensaver 
            menu 
            network-manager-gnome 
            gnome-utils 
            gnome-system-tools
            gnome-netstatus-applet 
            gnome-nettool 
            libgnomevfs2-extra
-------<다음은 유용한 Package>
            gnome-terminal 
            gedit 
            firefox
-------<다음은 데스크탑 테마 Package>
            ubuntu-artwork 
            ubuntu-sounds 
            human-theme 
            usplash-theme-ubuntu

[root@localhost] apt-get install gnome-app-install update-manager restricted-manager
                       (패키지 관리자 설치)

[root@localhost] /etc/init.d/gdm start   (그래픽 모드 시작)

----------------------------------------------------
이보다 더 간단한 팁~!

 
[root@localhost]apt-get install ubuntu-desktop
Posted by beingmania