LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-09-2010, 10:51 PM   #1
mikejreading
LQ Newbie
 
Registered: May 2009
Posts: 24

Rep: Reputation: 0
Exclamation Ubuntu hanging on login after editing pam.d


Hi guys,

In the process of trying to make Ubunti authenticate with AD2008, I followed some instructions and edited files as follows:

# /etc/pam.d/common-account
account sufficient pam_winbind.so
account required pam_unix.so


# /etc/pam.d/common-auth
auth sufficient pam_winbind.so
auth required pam_unix.so use_first_pass nullok_secure


# /etc/pam.d/common-session
session required pam_mkhomedir.so skel=/etc/skel/ umask=0066
session sufficient pam_winbind.so
session required pam_unix.so


After doing this I can no longer log in, it just hangs on the brown screen after logging in... it also asks me for my password twice before authenticating?

Any ideas??
 
Old 01-10-2010, 10:38 AM   #2
spiderbatdad
Member
 
Registered: Nov 2009
Location: mote of dust suspended in a sunbeam
Distribution: Arch Linux / Ubuntu 10.10
Posts: 40

Rep: Reputation: 17
Just guessing try the sufficient types at the end of the stack.
Check your syslog?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Login fails after installing Linux-PAM-1.0.1 on Ubuntu 8.04.1 LTS Desktop edition krunaldsoni Linux - Newbie 1 11-24-2008 03:44 AM
vsftpd hanging on SSL login Finlay Linux - Networking 1 03-08-2008 03:28 PM
Login hanging after Password entered... JoeNeedsHelp Linux - Newbie 18 01-26-2006 02:23 PM
Gnome hanging during login cybervegan Ubuntu 3 03-31-2005 01:53 PM
Login Hanging????? suseuser Linux - Software 1 06-21-2004 04:38 PM


All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration