Adriaan de Groot wrote:
> On Wednesday 30 July 2008 13:40:06 Marc Glisse wrote:
>>> chown root:bin + chmod 4755 the relevant binaries
>> In kde3 the relevant program to make suid to allow unlocking was
>> kcheckpass, don't know if that changed in kde4. --
> 
> A brief test on my SunRay says that this is sufficient:
> 
> chown root:bin /opt/kde-4.0/lib/kde4/libexec/kcheckpass
> chmod 4755 /opt/kde-4.0/lib/kde4/libexec/kcheckpass
> 
> On the SR, it blanks the screen and shows a dialog to unlock. On a local 
> display, though, the screen is not blanked. That seems like a bug.

I did this (via ssh)

$ pfexec chown root:bin kcheckpass
$ pfexec chmod u+s kcheckpass
$ ll kcheckpass
56 -rwsr-xr-x 1 root bin 56016 Jul 10 02:13 kcheckpass

and then logged on to the machine on the console; while the screen was 
blanked when I selected "lock screen", I got the same error as before when 
I tried to unlock it.

(again: this is OpenSolaris, in case that makes a difference)

Michael
-- 
Michael Schuster        http://blogs.sun.com/recursion
Recursion, n.: see 'Recursion'

Reply via email to