LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-16-2013, 11:59 AM   #1
pljulien
LQ Newbie
 
Registered: Apr 2012
Posts: 1

Rep: Reputation: Disabled
screensaver unlock issues


I've hardened my server with the NSA & CIS security guidance. Now when my session goes to locked screensaver mode, it won't unlock. I have to do a switch user, select my account, and then unlock works.

Hoping someone can give me a clue on what security setting is causing this.
 
Old 05-16-2013, 02:05 PM   #2
kbscores
Member
 
Registered: Oct 2011
Location: USA
Distribution: Red Hat
Posts: 259
Blog Entries: 9

Rep: Reputation: 32
Most likely pam settings - If something is set incorrectly or is too restrictive it can lock a regular user out. This usually involves the faillog. The faillog is only readable by root - if you have any pam settings checking how many failed attempts then this could be the issue. I know gnome-screensaver actually has a patch out that was supposed to fix the faillog issue.

--This is what GNOME website says:

First, make sure that your caps lock key is not on. It may sound silly but this is actually one of the most common reasons for password authentication failure. gnome-screensaver will print a warning if it detects the caps lock key is on.

If you are using a vendor provided package please contact your vendor for help. If you have built gnome-screensaver from source then try the test-passwd command that is located in the src directory of the gnome-screensaver sources. There are typically two reasons for why this command can fail:

* If your system supports PAM authentication, the gnome-screensaver PAM setup may either not be installed or may be incorrect.

To determine if your system supports PAM, look at the summary that is printed at the end of the configure process. You may need to manually install the gnome-screensaver PAM configuration file into /etc/pam.d (GNU/Linux) or add it to /etc/pam.conf (Solaris). There is a warning message to this effect displayed when you do 'make install'. If you use SuSE or Novell GNU/Linux you may have to modify the PAM configuration file that is distributed with gnome-screensaver.
* If your system does not support PAM authentication, you may need to install gnome-screensaver-dialog as setuid to root

To determine if your system requires setuid to root, look at the summary that is printed at the end of the configure process. There is a warning message to this effect displayed when you do 'make install'.
 
  


Reply



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
Chrome Responsiveness issues after screensaver thekore Linux - Software 1 03-20-2011 03:06 AM
ubuntu 7.10 screensaver issues.. jeanna Ubuntu 1 04-19-2008 04:16 PM
gnome-screensaver does not unlock with correct password also deepclutch Debian 1 02-20-2008 01:21 PM
Screensaver issues on KDE kwikness Slackware 24 03-16-2007 12:13 PM
kde screensaver wont unlock trscookie Linux - Software 6 04-24-2006 05:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:47 PM.

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
Open Source Consulting | Domain Registration