I have modified xlockmore source to add a feature I needed, but it is unable to read the shadow password file and is asking me to set uid or gid bit on the binary. But the official binary I use doesn't have any of it's sticky bit set. Is there a workaround to avoid setting the special bits? Also, the custom binaries are more than twice the size of official ones, even though I haven't modified them much.


The official 'pkgdir' gives '--disable-setuid' as an option to the 'configure' script, which creates the makefile according to the compilation environment. Compiling the source according to pkgdir resolved the problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.