Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2053 - vlock outputs garbage and doent accept input
Summary: vlock outputs garbage and doent accept input
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-24 01:14 UTC by Matt Taylor
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Taylor 2002-04-24 01:14:07 UTC
vlock version 1.3 doesn't work at all.  When run, it uses 100% of the cpu and
repeatedly prints the following messages to the screen.  It does this in a
terminal in X and also on the console.  It any input is given in the terminal
vlock ignores it untill it is killed, and then outputs whatever was typed to the
console.  If you attempted to type in your password, then your password is
output in plain text to the console.  This was duplicated on 2 different
machines, both running gentoo 1.1a.  


liverbugg@alumiguin liverbugg $ vlock

This TTY is now locked.
Please enter the password to unlock.
liverbugg's root's  *** That password is incorrect; please try again. *** 

This TTY is now locked.
Please enter the password to unlock.
liverbugg's root's  *** That password is incorrect; please try again. *** 

This TTY is now locked.
Please enter the password to unlock.
liverbugg's root's  *** That password is incorrect; please try again. *** 

This TTY is now locked.
Please enter the password to unlock.
liverbugg's root's  *** That password is incorrect; please try again. ***
Comment 1 Matt Taylor 2002-04-24 15:22:27 UTC
I found a solution, see bug 2073.  the same thing is wrong with vlock.  There is
no entry in /etc/pam.d for vlock. Make a file called vlock in /etc/pam.d and put
the following in it.

#%PAM-1.0
auth       required     /lib/security/pam_stack.so service=system-auth

Either vlock or pam should provide these files to prevent this from happening in
the future and for other packages.
Comment 2 Matt Taylor 2002-04-24 15:24:46 UTC
Sorry, I should have said the same thing is wrong with xlock, not the same thing
is wrong vlock.
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2002-04-26 13:34:56 UTC
Should be all set now in vlock-1.3-r1.  Thanks for the bug report (and resolution).