[2009-12-19 21:37] pancake <panc...@youterm.com> > > I have done two patches for slock. > > The first simplifying the use of cpp and the other adding user > defined password.
The password should probably not be a clear text string inside the binary file, as one can easily read it with `strings slock'. Is there a secure hash function in standard C? I think not. Linking some external library for this, seems to be overkill. Maybe we could give slock a system account to check the password against. Thus it must not to be the own account, but can be a special slock system user, which exists just for this task. Unfortunately only root users will have the ability to set different passwords then. meillo