LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-25-2010, 12:49 AM   #1
koenigdavidmj
Member
 
Registered: Oct 2009
Posts: 73

Rep: Reputation: 25
GNU screen---uses my login password on other distros, but not on Slackware.


On Red Hat, Fedora, and Gentoo, when I use GNU Screen's "C-a x" binding to lock the screen, it locks immediately, and will unlock if I use my account password.

On Slackware, however, it first prompts for a password twice and only then will lock. It also responds to this password rather than my system password.

Is there a way to use the behaviour of the Red Hats and Gentoo? (I have a feeling that this is a side effect of not using PAM.)
 
Old 01-25-2010, 06:35 PM   #2
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by koenigdavidmj View Post
(I have a feeling that this is a side effect of not using PAM.)
Nope

I just had a look at Pat's SlackBuild for it and he removes the SUID bit from screen to avoid any "issues" that may arise from that.

The SUID bit is required for screen to query the systems password database as only root can touch that part of the system.

You can SUID it yourself if your prepared to take the possible risks a simple "chmod u+s /usr/bin/screen" is all it takes.
 
Old 01-26-2010, 01:37 AM   #3
koenigdavidmj
Member
 
Registered: Oct 2009
Posts: 73

Original Poster
Rep: Reputation: 25
Yup, that did it. I'll be setting it, as this box is my laptop and is locked down (no incoming connexions).

Thanks!
 
  


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
How can i bypass login password screen in linux Bash neo141 Linux - Newbie 5 05-15-2009 04:16 AM
How to recover a lost username / password for Solaris 7 at gui login screen noitwhiz Solaris / OpenSolaris 2 09-29-2004 01:32 PM
Password Check is Passwords Skipped in Login Screen, Root System Settings Change in X edwardt Red Hat 1 07-07-2004 12:46 AM
Slackware 2.4.22 remote root login no password jerry950 LinuxQuestions.org Member Success Stories 3 02-09-2004 01:40 PM
I install slackware 9 now how do i login after entering password? lava Slackware 5 03-26-2003 01:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:56 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
Open Source Consulting | Domain Registration