>>>>> "CS" == Cameron Simpson <cameron_at_research.canon.com.au> wrote:
CS> Daniel R Ehrlich <ehrlich_at_cse.psu.edu> writes:
CS> | I am experiencing a weird problem with FvwmButtons/fvwm-2.0.42 and xlock under
CS> | Solaris 2.5. If I have the following in my .fvwm2rc file:
CS> |
CS> | *FvwmButtons Lock xlock.xpm Exec /usr/openwin/bin/xlock -mode random
CS> | xlock does not execute and emits the following error message:
CS> | xlock: can't get the user password. Exiting ...
CS> | You need to run xlock in setuid root mode on your local machine.
CS> | Contact your system administrator.
CS> |
CS> | But, if I run the command
CS> |
CS> | /usr/openwin/bin/xlock -mode random
CS> |
CS> | from the shell prompt it works just fine. And xlock is already suid root:
CS> |
CS> | daneel:15> ls -gl /usr/openwin/bin/xlock
CS> | -rwsrwxr-x 1 root bin 94484 Oct 2 1995 /usr/openwin/bin/xlock*
CS> |
CS> | and /usr/openwin/bin is on the local disk, so NFS is not stripping the suid
CS> | bits for me:
CS> I have a theory.
CS> Suppose the author of xlock was an idiot and used getlogin() to find the
CS> user's login name - fvwm will not have a controlling terminal or utmp entry
CS> and getlogin() will fail.
Sorry folks, but I have an icon for xlock (v3.8) in my FvwmButtons
that works nicely (HP-UX 9.07, X11R6.1, fvwm-2.0.42, gcc-2.7.2).
Emilio.
--
Emilio C. Lopes <mailto:ecl_at_finpe.if.usp.br>
FINPE, Instituto de Fisica E-mail: ecl_at_finpe.if.usp.br
Universidade de Sao Paulo Phone : (+55 11) 818-6724 (Voice)
Caixa Postal 66318 (+55 11) 818-6715 (Fax)
05389-970 Sao Paulo - SP
BRAZIL
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu Jun 20 1996 - 19:37:40 BST