> Also, you shouldnt dare to use the standard X11 xlock. > It is not aware of the password database structure of 4.4 BSD , and > you can type whatever you wnat, it won't unlock . Any setuid root program that uses getpwnam() or getpwuid() should work with the shadow password file transparently...