{ 67 comments… read them below or add one }

1 ranjith asam December 12, 2008 at 12:16 pm

hi to all

i am ranjith. i want to know which media player will support of all formats of the videos.
i want to install media player of any like VLC or Xine player .

so please help me in this regards. which software will support for my requirements.

i am using FEDORA 10 & RHEL 5 also.

Isthere any site for Learningof Unix administration. please help me.

i am working as a windows system admin as well as RHEL Desktop Engineer.

Reply

2 Leslie Satenstein December 12, 2008 at 1:03 pm

I did the above, found I could log in, but I still was unable to use all the gui commands that were important, these commands block themselves when they recognize the logon as root as opposed to a sudo user.

Someone has hard coded stuff that should be parameterized.

Reply

3 james almm December 12, 2010 at 11:43 pm

tried it for fedora 12 and didn’t seem to work at all.

Reply

4 mermaldad December 21, 2010 at 7:41 pm

@james almm: Try doing the same for /etc/pam.d/gdm-password .

Reply

5 SAGA December 12, 2008 at 3:32 pm

Hi,
It will be nice if you explain what’s happening inside when you doing this? What’s that pam.d and gdm?

Thanks

Reply

6 Roc May 23, 2011 at 6:27 pm

what happen if it shuts down your system is there away to get back in?

Reply

7 nixCraft December 12, 2008 at 4:26 pm
auth required pam_succeed_if.so user != root quiet

PAM is used to control authentication for each service.

GDM is login manager and service for Fedora 10 and /etc/pam.d/gdm login configuration for GDM.

pam_succeed_if.so module is used to test account characteristics. In this example, it blocks root user from login into the system. This is done using condition.

HTH

Reply

8 marco December 13, 2008 at 4:17 am

It is recommended that you always login as normal user to avoid any _dmage_ to your system and then use su – to get root level access as required.

Reply

9 gr seshagiri December 19, 2008 at 9:36 am

Thanks Mr. Vivek for the hint about root login. It saved my time. I was about to reinstall F10

Reply

10 Sameer December 26, 2008 at 7:40 pm

Thanks for this excellent guide ! Worked perfectly…

Reply

11 vander January 2, 2009 at 1:00 pm

@marco:
recommended, maybe, desirered no…For me Linux has always been an OS which left decisions like this to the USER not the OS/Develloper.
I like to be logged in as root, and if i want to trash my system being that, it is up to me and me alone…

Reply

12 Trond January 3, 2009 at 3:41 pm

The lack of any sane way to configure the login screen (GDM) in Fedora 10 is just so mindboogingly stupid that I just want to weep.

I regret upgrading from Fedora 6 to 10. The sound disapperared as I upgraded the kernel on Fedora 10 to the newest kernel. Honestly, it feels like redhat/Fedora is trying to push me back to windows after having used Linux since 1998.

Reply

13 dx January 8, 2009 at 9:43 am

thanks a lot!!

Reply

14 bharat January 16, 2009 at 3:16 am

thanx for this solution..
what i am not able to understand about pam and gdm?

Reply

15 Mike Bennett January 19, 2009 at 4:22 pm

That worked! Thanks.

Reply

16 Dharmit Shah January 21, 2009 at 3:40 pm

Hello..

I’ve multi-booted my laptop with Fedora 10 and Vista. the problr is that when I try to login as root, it doesn’t let me do. And through kernel it accepts the password and lets me login as a root.

I logged in as Dharmit Shah(another user account that I’ve created). Then in the terminal I typed

su

and gave the root password that it asked for. It went successfuly at that time. Can you help me out to log in as a root from the boot up itself? Thanks in advance….!!!

Reply

17 PSMKREDDY January 23, 2009 at 8:43 am

very fine

Reply

18 Vijaykumar Sarode February 3, 2009 at 4:59 pm

dear Vivek Sir,
thank you very much for this very useful information or otherwise i was about to reinstall the fedora10,

Reply

19 green February 4, 2009 at 5:43 am

hi,
im new to fedora…. i installed fedora 10. while installing my mouse pointer is invisible and i used keyboard to select NEXT,,, NEXT…. while installing.

Please helpme out… what shud i do to get visible mouse pointer with step by step procedure …..

Reply

20 Leandro February 4, 2009 at 10:25 am

You can do that without any changes aswel.

Just open another terminal
login as root
them type
startx — :3
Easy …..
If your system don’t have enough memory to run 2 x windows just kill the first.
Its not very wise to use your system always as root but if you really need …

Leoaraujo79@gmail.com

Reply

21 Anuj February 24, 2009 at 12:00 pm

Thanks man…..That worked!!!

Reply

22 Thiyagarajan February 26, 2009 at 6:43 am

Hi I had had the same problem “Fedora 10 Enable GUI Root Login”. but its working now properly.
Thanks for you.

Thiyagarajan

Reply

23 Saravana Nathan March 12, 2009 at 11:08 am

It is working good. Thanks a lot.

Reply

24 shahin March 13, 2009 at 9:50 am

i have done this work but it dose not work properly.
actually it dose not send a message “we can not authenticate user” like past
but after logging on with the root my desktop either KDE or GNOME could not be loaded.

Reply

25 Alienistic March 23, 2009 at 10:14 pm

gui login as regular user, open a command terminal, su root, gedit /etc/inittab
edit your inittab to change it to runlevel 3, then save and shutdown -r now
your computer will boot into command terminal now instead of gui, now login as root and startx.

done.

Reply

26 Wei Seng March 26, 2009 at 7:51 am

Great! It works.

Reply

27 Pyrrhic March 26, 2009 at 3:28 pm

Thank you! I really need to log in as ‘root’ and – yes – I do know what I am doing. It was pretty disconcerting not to be able to log in when the upgrade finished from 8. Again, thanks for the post on how to fix this super-annoying ‘feature’ of F10.

Reply

28 Chris April 17, 2009 at 3:07 pm

Thanks to Leandro in his post 02.04.09 at 10:25 am!!!

I’ve been looking on and off for a day or so to find a solution, and his is great! Not only is it simple, but it has the “feel” of being temporary, which is, I think, the way one should consider being logged in as root.

Reply

29 AP April 22, 2009 at 6:32 pm

Great Tutorial. Thanks..

Reply

30 kingy April 28, 2009 at 4:40 am

I don’t know why Fedora scrapped root gui logins but i’m sure it was security related?

Course…the way i see it anyone worthy of hacking into yer box sure as shooting isn’t gonna need a GUI…Now are they?

Thanks for the great info, i got my box back!
kingy

Reply

31 Karimulla June 17, 2009 at 9:07 am

I am unable to login fedora core gui with root user, i tryed to do the the following, but still not able to login.. Kindly help

# auth required pam_succeed_if.so user != root quiet

Reply

32 Karimulla June 17, 2009 at 9:09 am

I am unable to login fedora 11 gui with root user, i tryed to do the the following, but still not able to login.. Kindly help

# auth required pam_succeed_if.so user != root quiet

Reply

33 Gee June 18, 2009 at 2:20 pm

Hey, friendly community

Can u plz help me out, I installed fedora 10 on my pc and i’v been trying to build apache, php and mysql. But every time get this messege

[
[root@localhost Download]# cd httpd-2.2.11

[root@localhost httpd-2.2.11]# ./configure
checking for chosen layout… Apache
checking for working mkdir -p… yes
checking build system type… i686-pc-linux-gnuoldld
checking host system type… i686-pc-linux-gnuoldld
checking target system type… i686-pc-linux-gnuoldld

Configuring Apache Portable Runtime library …

checking for APR… reconfig
configuring package in srclib/apr now
checking build system type… i686-pc-linux-gnuoldld
checking host system type… i686-pc-linux-gnuoldld
checking target system type… i686-pc-linux-gnuoldld
Configuring APR library
Platform: i686-pc-linux-gnuoldld
checking for working mkdir -p… yes
APR Version: 1.3.3
checking for chosen layout… apr
checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: in `/home/smarty/Download/httpd-2.2.11/srclib/apr’:
configure: error: no acceptable C compiler found in $PATH
See `config.log’ for more details.
configure failed for srclib/apr
[root@localhost httpd-2.2.11]#

Reply

34 nixCraft June 18, 2009 at 3:28 pm

No need to build it from source. Simply use yum command to install the same:
yum install httpd php mysql mysql-server

Reply

35 Gee June 18, 2009 at 3:49 pm

Sorry dude, i forgot to tell you this.
I did use the yum installer but, but every time i try to open a page on localhost, an alias not from root folder(htdocs) i get the message
“Forbidden
You don’t have permission to access /ROOTFOLDER on this server.
Apache/2.2.10 (Fedora) Server at localhost Port 80″

from the browser

Reply

36 nixCraft June 18, 2009 at 4:36 pm

This is Apache server configuration issue and it has nothing to do with yum or source code installation. Set correct permission on folder and see this faq for more details about forbidden errors.

Reply

37 TED June 24, 2009 at 4:45 pm

This works great, I have been searching and searching and nothing came up. Thanks for the article.

Ted

Reply

38 George July 8, 2009 at 9:29 pm

Gee,

From the look of you error you do not have a compiler installed on your system. You can try this:

|> which gcc
/usr/lib/ccache/gcc

If you do not get something similar to the above, then you first need to install a compiler as well as the tool-chain before you can build packages from source code. At a minimum you will need the following programs:

make — a tool for automating compiling programs
gcc — GNU compiler collection, a front-end for a number of compilers
cc1 — the C compilers (comes with the gcc package)
as — an assembler (comes with the binutils package)
ld — the linker (and loader) (also comes with the binutils package)

wish I could tell you the yum packages you would have to get, but I tend to build everything from source code myself.

Reply

39 Gee July 13, 2009 at 12:16 pm

I locked my root user with passwd -l root. Can anyone help me unlock it?

Reply

40 Gee July 13, 2009 at 12:19 pm

Thanx, i’ll try that

Reply

41 fareed July 20, 2009 at 11:22 am

i used this method to login root but failed on fedora 11 please help to login as root in gui fedora 11. thnks

Reply

42 Vwbond August 13, 2009 at 6:24 pm

Hey, “Gee”
You and use “passwd -uf root” but you’ll have to use a systemrescue CD inorder to do it so you can change the password for root.

Reply

43 Volker B. September 22, 2009 at 9:23 pm

Using Fedora 11 you might also want to check other files for checks against being root:

# grep -e ‘ root’ /etc/pam.d/*
/etc/pam.d/gdm:#auth required pam_succeed_if.so user != root quiet
/etc/pam.d/gdm-fingerprint:#auth required pam_succeed_if.so user != root quiet
/etc/pam.d/gdm-password:#auth required pam_succeed_if.so user != root quiet
/etc/pam.d/xdm:#auth required pam_succeed_if.so user != root quiet

Reply

44 raj September 28, 2009 at 4:38 pm

You can even edit in the following way to get access as root:

auth required pam_succeed_if.so user quiet

Reply

45 Vajindar Laddad November 10, 2009 at 8:09 am

Thanks a million……….

Reply

46 Rajiv November 29, 2009 at 2:30 pm

A very useful article…..

Reply

47 Adam Gale January 6, 2010 at 12:06 pm

Did not work.

Rebooted, still cannot log in as root.

Why have they ruined Fedora!!

Reply

48 srinivas March 8, 2010 at 12:20 pm

thanx a lot u have helped a lot

Reply

49 sandaruwan March 20, 2010 at 8:29 am

Thanks. you help me a lot…

Reply

50 chetan shende April 22, 2010 at 2:41 am

It works thank you!

Reply

51 vladyka July 22, 2010 at 9:20 am

1. user$ su – root
2. passwort eingeben
3. root$ passwd -uf root
4. passwort eingeben
5. $ nano /etc/pam.d/gdm

zeile
pam_succeed_if.so user != root quiet
“root” mit “test” ersetzen
pam_succeed_if.so user != test quiet
6. $ nano /etc/pam.d/gdm-password
zeile
pam_succeed_if.so user != root quiet
“root” mit “test” ersetzen
pam_succeed_if.so user != test quiet
7. user abmelden
8. mit root anmelden

Reply

52 Summit October 9, 2010 at 1:47 am

Hi,
Today, I installed fedora 13. I want to install my software. For this, I have to login in root. I did, what is written above. But I am not able to login in root.
Can anybody help me pls?

Summit

Reply

53 Manoj October 27, 2010 at 10:31 am

Set the password for root from the terminal or from Single User mode / Mainitanence mode i.e. [runlevel 1 (init 1)]

comment or delete the line from the following file:
/etc/pam.d/gdm

#auth required pam_succeed_if.so user != root quiet

&

/etc/pam.d/gdm-password

#auth required pam_succeed_if.so user != root quiet

reboot the machine & select other at GUI login. put the login name as root & give the password.

Reply

54 Jozef July 1, 2011 at 10:24 pm

Can anybody tell me why this is not possible in GUI? Why? There are a lot of discussions why Linux distros are not so popular like Win or Mac OS. But I think this the answer: it’s not comfortable to use them.

Reply

55 prasad December 16, 2011 at 6:23 am

tahnqqqqqqqqqqqqqqqqqqqqqq bossssssssssssssssss its working
now i know that, to login as a root from gui,

we have to change two files
/etc/pam.d/gdm
/etc/pam,d/gdm-password

nice work dude

Reply

56 Manoj October 27, 2010 at 10:30 am

Hi All,
Solution on RHEL 4,5,6 for root user able to login via GUI:

Set the password for root from the terminal or from Single User mode / Mainitanence mode i.e. [runlevel 1 (init 1)]

comment or delete the line from the following file:
/etc/pam.d/gdm

#auth required pam_succeed_if.so user != root quiet

&

/etc/pam.d/gdm-password

#auth required pam_succeed_if.so user != root quiet

reboot the machine & select other at GUI login. put the login name as root & give the password.

Reply

57 irplayboy May 4, 2012 at 9:24 am

it work for fedora 16
thx

Reply

58 RonM July 21, 2011 at 7:53 pm

Try this on Fedora 10, 12, and 14 … No luck.

Reply

59 tamashebi September 19, 2011 at 8:45 pm

i dont have root permision in var/www/html folder. please help…

Reply

60 Gee October 12, 2011 at 7:57 am

I need SERIOUS help, AURGENTLY

My fedora 14 boots and stays stuck on the splash screen, this is as far as it loads:

“Welcome to fedora ”

Start adev : [Ok]
Setting hostname localhost.localdomain [ok]
Checking filesystem [ok]
/dev/sda4: Clean 330704/81760… [ok]

Remounting root filesystem [ok]
Mounting local.filesystem: [ok]
Enabling local.filesystem quotes [ok]
Enabling etc/fstab swaps
/dev/fd/8: line 2 : /bin/awk: permission denied

….
….

init: rcS post-stop process (852) terminated with status 1

plymouth: pl-array.c: 133: ply_array_get_pointer_elements:

Assertion “array->element-type == PLY_ARRAY_ELEMENT_TYPE_POINTER = failed

—————————-

Please help, i don’t have a backup and i’m currently working on a project thats in there

Reply

61 Gee October 12, 2011 at 7:40 am

@tamashebi

I think this might help,

1.Fire your terminal
2. login as root, $ su ……
2. Navigate to www folder, $ cd /var/www
3. And fire this command, $ chmod 777 -R html

Reply

62 Muhammad November 23, 2011 at 5:39 am

Is there any procedure to get login on Linux GUI Desktop with Active Directory users, However I have integrated active directory users with linux through winbind and i can login under linux text console with AD users.

I want to use Graphical Desktop with Active Directory users but unable to logon.

Reply

63 SURESH January 10, 2012 at 8:16 am

i am useing fedora 14 32-bit… while i am removing my old VM

plymouthd: ply-array_get_pointer_elements: Assertion ‘array->element_type == PLY_ARRAY_ELEMENT_TYPE_POINTER’ failed

Reply

64 SURESH January 10, 2012 at 8:21 am

I am using Fedora 14 32-bit..while i am removing my old VM Ware(through GUI) it asks so many dependences for removing just i am selected OK for everything..after rebooting it display error like this. Please send me correct solution…

plymouthd: ply-array_get_pointer_elements: Assertion ‘array->element_type == PLY_ARRAY_ELEMENT_TYPE_POINTER’

Reply

65 magesh August 18, 2012 at 7:16 am

nice post

Reply

66 KR October 21, 2013 at 7:30 pm

@Gee,

I know your reply is old, but maybe you will get this! Did you ever figure out what was going on with your issue?

I am stuck on an issue that looks identical, but I can’t find much information at all. One of my centOS 6.4 boxes went boom on me after a restart… it mounts the disks fine, but it freezes at the same point every time I try to boot up… even in single-user mode. When trying to boot into rescue mode, it freezes after mounting /tmp.


Mounting local filesystems…. OK
Enabling /etc/fstab swaps….. OK
/dev/fd/8: line 2: /bin/awk: Permission denied
init: rcS post-stop proces (789) terminated with status 1

…. [ freezes ] ….

I don’t know what to do as I can’t even boot rescue mode to investigate!

Reply

67 monika sharma November 27, 2013 at 4:57 pm

plz help me ……if m using cp /etc/pam.d/gdm/ root……..it doesn’t work..it shows “-bash: cp: command not found” what to do now?

Reply

Leave a Comment

Tagged as: , , , , , , , , , , , , , ,

Previous Faq:

Next Faq: