This is not a security problem with the xlock shipped with Red Hat linux.
Their PAM-enabled version is not setuid. In principle, xlock can also
verify a user's shadowed password in this "unprivileged" state, using the
pam_pwdb module.
Cheers
Andrew
-- Linux-PAM, libpwdb, Orange-Linux and Linux-GSS http://parc.power.net/morgan/index.html [ For those that prefer FTP --- ftp://ftp.lalug.org/morgan ]