openSUSE Forums > Install/Boot/Login » Permissions on the password database may be too restrictive

Go Back   openSUSE Forums > Install/Boot/Login
Forums FAQ Members List Search Today's Posts Mark Forums Read


Install/Boot/Login Questions about installation, login, boot issues, partitioning, file systems, software that runs at boot (GRUB, LILO, boot scripts)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-Nov-2009, 21:55
Puzzled Penguin
 
Join Date: Nov 2009
Posts: 3
tweetiepooh hasn't been rated much yet
Default Permissions on the password database may be too restrictive

I'm getting this on OpenSuse 11.1 but only on NIS accounts.

This was all working fine, went for a coffee came back and couldn't unlock screensaver.

I can ssh in on these accounts using keys, I can su - from root and login with local accounts is fine.

Ideas most welcome. I can see that a number of PAM files have been updated.
Reply With Quote
  #2 (permalink)  
Old 07-Nov-2009, 07:07
Knurpht's Avatar
Wise Penguin
 
Join Date: Jun 2008
Location: groningen, netherlands
Posts: 1,792
Knurpht 's reputation will be famous soon enoughKnurpht 's reputation will be famous soon enoughKnurpht 's reputation will be famous soon enough
Default Re: Permissions on the password database may be too restrict

What happens after a reboot (server)? I've seen the problem, fixed it, but cannot remember how. If a NIS server reboot doesn't work, we could compare the NIS settings on your network to mine, which are working.
Since PAM is updated, just a restart of the NIS services might not do, therefore the suggested reboot. Get back here if it doesn't work.
__________________
- AMD Athlon X2 6.0 GHz, 8 GB DDR2-800, 30 GB SSD, 1.5 TB, EVGA 9800GT, openSUSE 11.2 KDE4 4.3.3
- ASUS K70IO laptop, GT120M-1GB, 4 GB, 64 GB SSD, opensuse Factory, KDE4 4.3.3

R.E.S.T.E.C.P.
Reply With Quote
  #3 (permalink)  
Old 07-Nov-2009, 08:07
Puzzled Penguin
 
Join Date: Nov 2009
Posts: 3
tweetiepooh hasn't been rated much yet
Default Re: Permissions on the password database may be too restrict

I can't reboot the NIS server, it's used for too many boxes and has been up 10 years or so (Solaris).

I have restarted the OpenSuse client but no joy.

I can login with local accounts including root and from root I can su to NIS accounts. This suggests that the authentication is being broken.
Reply With Quote
  #4 (permalink)  
Old 07-Nov-2009, 11:32
Puzzled Penguin
 
Join Date: Nov 2009
Posts: 3
tweetiepooh hasn't been rated much yet
Default Re: Permissions on the password database may be too restrict

I sorted it.

In nsswitch.conf there was added

Code:
shadow: compat
Remove this and both NIS and local accounts now login fine. Phew!

I guess this is because NIS puts the password into passwd not shadow.

Thanks for all the suggestions and help.
Reply With Quote
  #5 (permalink)  
Old 07-Nov-2009, 13:40
Knurpht's Avatar
Wise Penguin
 
Join Date: Jun 2008
Location: groningen, netherlands
Posts: 1,792
Knurpht 's reputation will be famous soon enoughKnurpht 's reputation will be famous soon enoughKnurpht 's reputation will be famous soon enough
Default Re: Permissions on the password database may be too restrict

Good you got it solved. On the NIS server
rcyppasswd restart && rcypserv restart
would have restarted the NIS server.

My next suggestion would have been to take a look whether NIS was using passwd or shadow, but you got it solved already.
__________________
- AMD Athlon X2 6.0 GHz, 8 GB DDR2-800, 30 GB SSD, 1.5 TB, EVGA 9800GT, openSUSE 11.2 KDE4 4.3.3
- ASUS K70IO laptop, GT120M-1GB, 4 GB, 64 GB SSD, opensuse Factory, KDE4 4.3.3

R.E.S.T.E.C.P.
Reply With Quote
Reply

Bookmarks

Tags
nis login


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2