Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-10-2004, 12:51 AM
|
#1
|
|
Member
Registered: Apr 2004
Distribution: Linux Red Hat
Posts: 141
Rep:
|
root cannot login through gdm
HI,
ok was succesfully able to use use windows 2000 AD domain user names on my linux red hat 9.0 box. local users can also login through GUI but root cannot.
to enable users to login through te GUI prompt of red hat i changed the file gdm in the pam.d directory.
presently my gdm file is some thing lilke this
[junaid@NIIT158 pam.d]$ more gdm
#%PAM-1.0
auth required /lib/security/pam_securetty.so
auth required /lib/security/pam_nologin.so
auth sufficient /lib/security/pam_winbind.so
auth required /lib/security/pam_pwdb.so use_first_pass shadow nullok
account required /lib/security/pam_winbind.so
password required pam_stack.so service=system-auth
session required pam_mkhomedir.so skel=/etc/skel umask=0022
session required pam_stack.so service=system-auth
session optional pam_console.so
can any one plz tell me what change do i make so that root can also login through gdm.
|
|
|
|
06-10-2004, 02:40 AM
|
#2
|
|
Member
Registered: Oct 2003
Location: Virginia, US
Distribution: Debian, Ubuntu, Knoppix.
Posts: 76
Rep:
|
um you've probably already done this but in the file /etc/X11/gdm/gdm.conf it should be AllowRemoteRoot=true
you can also change this with gdmconfig, i think.
|
|
|
|
06-12-2004, 10:09 AM
|
#3
|
|
Member
Registered: Apr 2004
Distribution: Linux Red Hat
Posts: 141
Original Poster
Rep:
|
the problem is some thing else.
cause when i checked that /etc/X11/gdm.conf
in the security sections the AllowRoot= parameter was true
i also added gdm in the securetty file but still things dont work.
|
|
|
|
06-12-2004, 03:56 PM
|
#4
|
|
Newbie
Registered: Jun 2004
Location: INDIA
Distribution: RedHat 9.2,Mandrake 10.2
Posts: 21
Rep:
|
Hi Look problem is
#%PAM-1.0
auth required /lib/security/pam_securetty.so
auth required /lib/security/pam_nologin.so <--Here
auth sufficient /lib/security/pam_winbind.so
auth required /lib/security/pam_pwdb.so use_first_pass shadow nullok
comment that line by putting {B]#[/B] at the beging of the line.i think it should work because pam man page says that pam_nologin.so file wont let u log in .
u may also try these entries in you pam.d/gdm if above does not work
auth required pam_env.so
auth required pam_stack.so service=system-auth
auth required pam_nologin.so
account required pam_stack.so service=system-auth
password required pam_stack.so service=system-auth
session required pam_stack.so service=system-auth
session optional pam_console.so
to do this make a back of your /pam.d/gdm before trying this
hope it works for you for you
askjha
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:19 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|