[4831] in SIPB bug reports

home help back first fref pref prev next nref lref last post

Re: linux version of xscreensaver

daemon@ATHENA.MIT.EDU (ghudson@MIT.EDU)
Fri Aug 26 19:00:30 1994

From: ghudson@MIT.EDU
Date: Fri, 26 Aug 94 18:59:37 -0400
To: ericding@MIT.EDU
Cc: bug-sipb@MIT.EDU


> I recently downloaded the linux binary of xscreensaver from
> /sipb/linuxbin.  It works fine, except that when it's on
> auto-lock mode, it won't accept my password to unlock the screen.
> Do I have to rebuild the program on my own station?  Do you know why
> it's not accepting my password?  I'm running linux kernel 1.1.18,
> XFree 2.0, if it means anything.  =)

I've had the same problem.  It seems that Linux doesn't treat certain
salts the same way as other operating systems do.  For instance, here
are the results of crypting "foobar" under two salts under Linux and
Ultrix:

	Salt		Linux			Ultrix
	fp		fpyAfoAVGBL3M		fpyAfoAVGBL3M
	t%		t%/WY11rJpVX2		t%ayFkX053rKc

If you have a crypted password resource in your .Xresources, try
re-encrypting it using a salt which is only letters.  I did the above
encryptions using perl:

	perl -e 'print crypt("foobar", "fp"), "\n";'

I don't have time to track down the underlying Linux C library
problems and report them to the appropriate people right now,
unfortunately.


home help back first fref pref prev next nref lref last post