본문 바로가기
Research/Linux

Fedora 10 Enable GUI Root Login

by sunnyan 2009. 8. 11.
728x90

출처: http://www.cyberciti.biz/faq/fedora-10-root-login/

Fedora 10 Enable GUI Root Login

Q. How do I enable root login under Fedora 10 Gnome GUI login screen / manager?

A. Fedora 10 uses pam module called pam_succeed_if.so. This module is designed to succeed or fail authentication based on characteristics of the account belonging to the user being authenticated. One use is to select whether to load other modules based on this test. This module blocks root login using GUI.

Login as root

Log in as normal user

Then open GUI terminal (bash prompt) and type the following command to become root user:
$ su -

WARNING! These examples may crash your computer if not executed properly. It is recommended that you always login as normal user to avoid any damage to your system and then use su - to get root level access as required.

Fedora 10 update GDM config to allow root login

Type your root password. Next, make a backup of /etc/pam.d/gdm, enter:
cp /etc/pam.d/gdm /root
Now open /etc/pam.d/gdm using gedit or vi text editor, enter:
gedit /etc/pam.d/gdm
OR
vi /etc/pam.d/gdm
Alternatively, you can do everything in a one command:
su -c 'gedit /etc/pam.d/gdm'
Find line that read as follows:

auth required pam_succeed_if.so user != root quiet

Remove or comment out line by prefixing #.

# auth required pam_succeed_if.so user != root quiet

Save and close the file. Logout from terminal and from GUI itself. Now you should be able login as root user using GDM GUI login manager.

728x90

'Research > Linux' 카테고리의 다른 글

mysqld 설정  (0) 2009.08.12
제로보드 설치시 확인 할 사항  (0) 2009.08.12
Fedora9에서 Logitech Marble Mouse(Tracball) wheel 사용하기  (0) 2009.08.10
TRAC: anonymous Default permission  (0) 2009.07.31
TRAC: Add Acount Fail  (0) 2009.07.31