LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   gui root login in fedora 11 (https://www.linuxquestions.org/questions/linux-newbie-8/gui-root-login-in-fedora-11-a-758098/)

av.dubey 09-27-2009 12:52 PM

gui root login in fedora 11
 
i have installed fedora 11 on my system....i had fedora 8 earlier but since i have shifted to this newer version iam not able to do GUI login as root user...
i googled the solution and got many results telling me to comment this line in /etc/pam.d/gdm

# auth required pam_succeed_if.so user != root quiet

but still iam not able to login as root...

~sHyLoCk~ 09-27-2009 12:57 PM

Dunno if this will work try this.

David the H. 09-27-2009 01:35 PM

I know this has been said many times before, but there is really NO reason to run a gui session as root, and good reasons not to. There's nothing you can do in one that can't be done in other, safer ways. Distributions don't disable root gui's just to annoy people, you know.

If you need to run a gui program, you can use gksu or kdesu to launch it, or you can configure your running user's x-server so that root can access it when needed.

If you have any specific needs that these options can't cover, then you should ask about it. I'm sure someone can find a way to do it that doesn't require a root x-session.

lhorace 09-27-2009 01:41 PM

I know this is off-topic, on my old desktop PC at home. When I logged in as ROOT, performance improved, sound enhance in quality. Now we are force to use non-root accounts for good reasons but how come the same performance improvements I enjoyed in a root account aren't ported to a non-root user especially if you are the only one who is using the computer

ronlau9 09-27-2009 01:50 PM

Quote:

Originally Posted by David the H. (Post 3698723)
I know this has been said many times before, but there is really NO reason to run a gui session as root, and good reasons not to. There's nothing you can do in one that can't be done in other, safer ways. Distributions don't disable root gui's just to annoy people, you know.

If you need to run a gui program, you can use gksu or kdesu to launch it, or you can configure your running user's x-server so that root can access it when needed.

If you have any specific needs that these options can't cover, then you should ask about it. I'm sure someone can find a way to do it that doesn't require a root x-session.

It only works when you use GNOME

John VV 09-27-2009 04:21 PM

av.dubey
the root login was disabled in fedora 10 ,11, on up
in fedora 9 there was a WARNING

If you MUST login as root install KDE and use KDM to boot .

but then again there is no real good reason to login as root

one can ( even in Gnome ) run gedit,nautlias, and the rest AS ROOT from the terminal.

David the H. 09-27-2009 08:45 PM

Quote:

Originally Posted by ronlau9 (Post 3698733)
It only works when you use GNOME

What only works when you use gnome? :confused:

Nothing I mentioned is desktop-specific. Sure, gksu is part of gnome and kdesu is part of kde, but neither one requires you to be actually running that desktop when you use it. There are probably also other, similar programs you could use instead. And configuring your x-server to allow root to connect has nothing to do with your DE at all.

illushunnz 09-27-2009 10:16 PM

Quote:

Originally Posted by av.dubey (Post 3698687)
i have installed fedora 11 on my system....i had fedora 8 earlier but since i have shifted to this newer version iam not able to do GUI login as root user...
i googled the solution and got many results telling me to comment this line in /etc/pam.d/gdm

# auth required pam_succeed_if.so user != root quiet

but still iam not able to login as root...

Same thing for me... So I Googled more and found that you need to comment out the same line in the file '/etc/pam.d/gdm-password'.

Hope this helps =]

John VV 09-27-2009 11:55 PM

one can use the fedora "gdm " hack BUT BE WARNED not everything in the root gui WILL WORK , somethings WILL say that " they can NOT be launched as ROOT for those ( like software installation ) you WILL need to logout and log back in AS A NORMAL USER and use " su -" in the terminal .This is Gnome only and dose not apply to KDE

av.dubey 10-01-2009 03:57 PM

thanx a lot to all of you for your support..
i have finally succeded in loggin as root in GUI mode..
thanx again

John VV 10-01-2009 06:49 PM

that IS your choice , to log in to X as root .
We warned you .

james2b 10-12-2009 01:34 AM

The gksu does not seem to be included with Fedora 11 gnome desktop, but I found a copy cat called; beesu, which is now available. Is it not needed to enable the root user login to be able to install and use gksu ?

DrLove73 10-12-2009 02:21 AM

gksu is in rpmforge repository. You will also need libgksu package (I hope I wrote it correctly).

Yes, you need root access to install gksu, like any other package.

John VV 10-12-2009 03:06 AM

if you need to run something as root use
" su - " or " su "

Code:

su -
( your root password when asked )
gedit


james2b 10-12-2009 03:31 AM

But what about to run programs such as the NTFS configuration tool or other such tools, to open them and run as a normal user, so that a person does not need to become root in a terminal just to open these type of applications.? In Fedora 11 gnome, the ntfs cofig tool command is shown as this; "/usr/sbin/ntfs-config-root", and gives a error box when I try to open it up which says; "can't find a graphical authentication program" and to install gksu or to run it as root in a terminal. So for a normal user the command for that ntfs program may be; "gksu ntfs-config" with the directory path included.

repo 10-12-2009 04:22 AM

This kind of behavior, which I see more and more, will compromise linux, and make it more and more vulnerable for attacks at the long run.

Oakems 10-12-2009 05:57 AM

Quote:

Originally Posted by repo (Post 3716211)
This kind of behavior, which I see more and more, will compromise linux, and make it more and more vulnerable for attacks at the long run.

How so? Surely it will only affect those who choose to login as root, not the rest of us. Remember we are mostly dealing with open source software here, this means that all the intricacies of the OS are laid bare, for anyone who cares to see. People have been warned not to login as root, but if they still choose to do so, that is their prerogative! If something goes wrong they only have themselves to blame! I fail to see how this could affect those of us who don't login as root?

If someone really wanted to try to compromise Linux, they'd not find it hard getting hold of the information to do so, like I said we're dealing with open source software here, getting a copy of the OS then trying to find its vulnerabilities wouldn't be a hard task, and you could even setup a box yourself with whatever conditions you needed to exploit any weaknesses. Once the information needed had been collated and formed into something nasty, it would then only be a case of spreading it to the Linux community where it would affect only those silly enough to login as root. I fail to see how other peoples security inadequacies can have an affect on the people who are security concious and like to err on the side of safety?

Like I say, all the information needed is already there, it hasn't been locked away and hidden. Logging in as root may leave the individual vulnerable, but surely the rest of us are safe?

John VV 10-12-2009 03:00 PM

james2b

if you want a "normal" user to have FULL root just log in as root .
[b] but I DO NOT recommend that at all . see above WARNINGS

illushunnz 10-13-2009 12:38 AM

Quote:

Originally Posted by repo (Post 3716211)
This kind of behavior, which I see more and more, will compromise linux, and make it more and more vulnerable for attacks at the long run.

No it will only compromise the people silly enough to use root.


All times are GMT -5. The time now is 03:49 AM.