Unable to login root user on RHEL 7.0
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. please help ! Thanks |
Quote:
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 |
Also using the pam hack will cause PROBLEMS!!!!!
try to update as root in the gui 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 while here is files present - /etc/pam.d/gdm-autologin constants: #%PAM-1.0 auth required pam_env.so auth required pam_permit.so auth include postlogin account required pam_nologin.so account include system-auth password include system-auth session required pam_selinux.so close session required pam_loginuid.so session optional pam_console.so -session optional pam_ck_connector.so session required pam_selinux.so open session optional pam_keyinit.so force revoke session required pam_namespace.so session include system-auth session include postlogin Please help if you can. we want to GUI mode login through root user for specific reason. |
Quote:
Another possibility is to edit the /etc/gdm/gdm.conf file. In the [security] section of the file, add "AllowRoot=True". Quote:
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. |
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. [root@localhost ~]# vi /etc/pam.d/gdm- gdm-autologin gdm-launch-environment gdm-pin gdm-fingerprint gdm-password gdm-smartcard [root@localhost ~]# vi /etc/pam.d/gdm-^C [root@localhost ~]# vi /etc/gdm/ custom.conf Init/ PostLogin/ PostSession/ PreSession/ Xsession [root@localhost ~]# cat /etc/gdm/custom.conf # GDM configuration storage [daemon] [security] [xdmcp] [greeter] [chooser] [debug] [root@localhost ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) Please help. ! thanks |
Quote:
Quote:
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. |
Quote:
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. |
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. If they're doing self-support anyway with RHEL, what's the real value of RHEL vs. CentOS? Quote:
|
Quote:
Quote:
Quote:
Quote:
Quote:
I think we have derailed this thread enough, if you want to discuss this further please contact me per PM or mail. |
Quote:
You need to be respectful, courteous and respond responsibly. DO NOT use such language here. People here are trying to help you. I agree you've a valid point but I feel the line was unnecessary. I hope you will keep this in mind. Thanks. |
Quote:
I'd like to translate: Quote:
So, in English it would have been: Quote:
|
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. thanks to all... |
All times are GMT -5. The time now is 03:53 AM. |