Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Please let us know how to login through root user on RHEL 7.0 OS in GUI mode. RHEL 7.0 offering user base login in to GUI mode, but I can't login through root.
Hi,
Please let us know how to login through root user on RHEL 7.0 OS in GUI mode. RHEL 7.0 offering user base login in to GUI mode, but I can't login through root. I'm also able root user login through txt mode.
As you've been asked before, have you tried looking this up, before posting? And have you tried contacting Red Hat support? You are PAYING FOR RHEL, RIGHT?????
This is explained in Red Hat's knowledgebase, which you have access to since you're paying for RHEL. Comment out this line in /etc/pam/gdm:
Code:
auth required pam_succeed_if.so user != root quiet
And bear in mind what you're wanting to do is disabled FOR A REASON...it is a very, VERY bad idea to log in through the GUI as root. You should log in as a standard user, and switch to root ONLY WHEN NEEDED, with either the su or sudo commands.
a pop up will ask for the root password
then fail ,because you ARE already root
this is the SAME issue that fedora has since fedora11
the root gui login is BLOCKED!!!!
there is only really one ONE 1 reason to use the pam hack
use it
log in as root into the gui
set the THEME to "hi-contrast" or " Nauseating Headache "
undo the pam hack
and use the NORMAL first non root user and "su" or "su -"
TB0ne - thanks for reply,
but at RHEL 7.0 below path/file is not exist:
/etc/pam/gdm
auth required pam_succeed_if.so user != root quiet
Ok..does the file /etc/pam.d/gdm exist? And AGAIN, since you've ignored it several times now, you are PAYING FOR RHEL, RIGHT???? HAVE YOU CALLED THEIR TECH SUPPORT, since you're paying for it???? And have you tried any of the MANY solutions you can find via Google??
Another possibility is to edit the /etc/gdm/gdm.conf file. In the [security] section of the file, add "AllowRoot=True".
Quote:
we want to GUI mode login through root user for specific reason.
And what, exactly, is this 'specific reason'??? Bear in mind what you're asking for HAS no 'specific reason', other than poor system security and administration. Any user you trust with the root password should easily be able to log in as themselves, and either use su or sudo to get root access, and do whatever they wish. This includes running GUI based programs on the X console.
If they are only marginally-skilled users needing to run a task or two, then you DEFINITELY don't want them to have the root password, especially not through a GUI. That's what SUDO is for, so they can run whatever commands you say they can.
but I've tried to multiple path and also search google, not pickup solution for this issue.
as check /etc/pam.d/gdm file & /etc/gdm/gdm.conf both are not exist in to RHEL 7.
here one file is present /etc/gdm/custom.conf but in that file no any configuration contains exist.
Thanks TB0ne,
but I've tried to multiple path and also search google, not pickup solution for this issue. as check /etc/pam.d/gdm file & /etc/gdm/gdm.conf both are not exist in to RHEL 7.
here one file is present /etc/gdm/custom.conf but in that file no any configuration contains exist. I've attached snapshot for your reference.
Ok...so did you read and understand my last post?? Do you not see the 'security' section in the file you posted? Did you try putting what I looked up for you in that section???
Quote:
[root@localhost ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.0 (Maipo)
Please help. ! thanks
Yes, we know you're using RHEL 7. And AGAIN, since you keep ignoring the question: DID YOU CALL RED HAT SUPPORT, since you are PAYING FOR RHEL???? If you're not going to pay for RHEL, then you SHOULD NOT use it...all you're going to wind up doing is having an unstable, insecure system that's hard to work with.
And since you STILL ignore questions, I'll again both tell you that what you're doing is a very bad idea, and AGAIN ask you what you're trying to accomplish/run by doing this.
If you want people to help you, you need to acknowledge what folks are saying, and answer the questions asked of you. If you don't, why should anyone bother to try to help you?
Thanks for information.
if we can use RHEL 7.0 trail version then KYA GOLI MAR DEGA.
AGAIN, if you are not going to PAY FOR RHEL, then don't use it. No idea what you posted above...this is an English-only forum. Why don't you translate it?
You may think you're doing something good by using RHEL for free...but you are NOT. Your server WILL NOT.....EVER get any updates, patches, bugfixes, or security fixes from Red Hat, unless you PAY. All you'll wind up with is an unstable, insecure server, that is a LOT harder to load new software on to. If you are the admin, you're doing NOTHING but making more work for yourself.
TB0ne, I don't know why you come up with it again and again although you have been corrected multiple times now: Red Hat offers subscriptions without support, you don't have automatically the possibility to call the support just because you have paid for a RHEL subscription. Also, as sandeep002gupta points out, the possibility that an OP uses a trial version for evaluation always exists.
So please refrain from bringing this up all the time.
TB0ne, I don't know why you come up with it again and again although you have been corrected multiple times now: Red Hat offers subscriptions without support, you don't have automatically the possibility to call the support just because you have paid for a RHEL subscription.
You don't have to 'correct' me; I know that's a possibility. However, the OP has not yet said/acknowledged that they're paying ANYTHING for RHEL, and pointing out to someone who is (ostensibly) putting a server into production at a company WITHOUT support is a bad idea. The main point here is that the OP hasn't answered questions; such as, what they're trying to do, what program(s) they 'need' root at a GUI to run, and if they're using RHEL, if they're paying for it.
I don't feel it's a bad thing to point out to people who may be new to the scene, that using CentOS is a VERY viable alternative to RHEL, and will make their lives easier in the future. If they're doing self-support anyway with RHEL, what's the real value of RHEL vs. CentOS?
Quote:
Also, as sandeep002gupta points out, the possibility that an OP uses a trial version for evaluation always exists. So please refrain from bringing this up all the time.
Yep, they can use it for evaluation...and during that period of time, they get support.
You don't have to 'correct' me; I know that's a possibility. However, the OP has not yet said/acknowledged that they're paying ANYTHING for RHEL,
I don't see why the OP should have to inform you about company internals. If the OP is paying for a subscription and of which type that subscription is is information that is not relevant at all for the problem at hand.
Quote:
and pointing out to someone who is (ostensibly) putting a server into production at a company WITHOUT support is a bad idea.
Indeed, but you were not pointing out, you started yelling at the OP in your very first post. I don't believe that you don't know about Netiquette.
Quote:
The main point here is that the OP hasn't answered questions; such as, what they're trying to do, what program(s) they 'need' root at a GUI to run, and if they're using RHEL, if they're paying for it.
Again, if this is a registered copy of RHEL is not relevant at all. I do agree with you about not answering technical questions, though.
Quote:
I don't feel it's a bad thing to point out to people who may be new to the scene, that using CentOS is a VERY viable alternative to RHEL, and will make their lives easier in the future.
The OP registered here three years ago, I wouldn't call that new to the scene. Also, there is a difference between pointing something out and yelling at people on a forum. You started with the latter and kept that course over the thread.
Quote:
If they're doing self-support anyway with RHEL, what's the real value of RHEL vs. CentOS?
That you are doing self support for your OS does in no way indicate that you do self support for the applications running on the OS. A lot of software is only supported on RHEL, but not on other distributions, including CentOS.
I think we have derailed this thread enough, if you want to discuss this further please contact me per PM or mail.
kindly ignore the previous word.
sorry for bother. but I didn't get the resolution for my actual question.
ok let see some others point out from Google search.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.