SUMMARY: Xlock problem.

From: Liew.Chee.Wah (cwliew@bass.com.my)
Date: Mon Jan 13 1997 - 19:48:15 CST


My original mail is as follow :

>
> Dear gurus :
>
> We have a machine with OS Solaris 2.4, starting the xdm on run
> level 3. Currnetly a problem was occurred when I am trying to xlock the wo
rkstation. Some error messages
> display on the screen and the xlock just existed.
>
> Error Message
> =============
>
> Xlock : Can't get user password. Existing ......
> You need to run xlock in setuid root mode on your local machine.
>
> I check the file permission of the xlock, it is nothing wrong
>
> -rwsrwxr-x 1 root 87808 Oct 2 1995 /usr/openwin/bin/xlock
>
> The user's password is there in the /etc/passwd file. I don't understand
> why the system complaint that cannot get user's password. I wonder there
> might be some configuration set wrongly. Any hints ???
>

Thanks for all the responses .

The problem is due to the setting in the LOGNAME variable. The variable
is set to the user id instead the user login name. I reset the LOGNAME to
the user login name, the problem solved.

Thanks !



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:42 CDT