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.
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.
|
|
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
|
|
|
All times are GMT -5. The time now is 10:41 PM.
|
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
|
|