SUMMARY: Problem with xlock

From: Jose Manuel Franco Melgar (LCE/SUN System Manager) (jmfranco@campus.cem.itesm.mx)
Date: Wed May 08 1996 - 10:17:27 CDT


The environment variable LOGNAME was unset .I'm using XDM
        and aparently sometimes (?) it not set LOGNAME.

        Add to Xsession a line such as

        LOGNAME=$USER
        export LOGNAME

        Thank you very much to Brian L Plante

Original mail:
> I get this error when I try to lock my screen
>
>
> xlock: can't get the user password. Exiting ...
> You need to run xlock in setuid root mode on your local machine.
> Contact your system administrator.
>
> (obiusly) I'm the system administrator but I've already checked for
> the suid bit on xlock. Every thing looks right .
>
> -rwsrwxr-x 1 root bin 94484 Oct 2 1995 /usr/openwin/bin/xlock*
>
> I'm using NIS and solaris 2.5
>
> in my nsswitch.conf passwd and group looks first for nis and then for files
>

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
José Manuel Franco 
Laboratorio de Cómputo Especializado (SUN) 
Estaciones de trabajo de profesores (SUN)
ITESM CEM 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

San Francisco, n.: Marcel Proust editing an issue of Penthouse.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:59 CDT