finger doesn't work

From: nugulus@netscape.net
Date: Sat Aug 06 2005 - 14:11:20 EDT


I have a few solaris 9 machines where finger doesn't work.
If I issue
finger username
I get a single line,
Login Name: username In real life: ???

If the username belong to an local account (/etc/passwd entry), it works fine. Most of my users are in the nis passwd map.
The strange thing is that I found a couple of nis users which respond normal to finger. Between the two groups of users that work and not work to the finger command, I couldn't find any difference.

Using
truss -u '*' finger username
I saw that after reading lastlog, there is a difference between two users that work and not,

Worked,
open("/var/adm/lastlog", O_RDONLY) = 4
<- libc:fopen() = 0x28bc8
-> libc:strdup(0xffbff950, 0x14010, 0x0, 0x0)
<- libc:strdup() = 0x2a970
-> libc:fseek(0x28bc8, 0x7f34, 0x0, 0x0)
lseek(4, 32564, SEEK_SET) = 32564

Not worked,
open("/var/adm/lastlog", O_RDONLY) = 4
<- libc:fopen() = 0x28bc8
-> libc:fclose(0x28bc8, 0xffbffb74, 0x24780, 0x0)
llseek(4, 0, SEEK_CUR) = 0

but I can't find why there is such a difference. Also this may not be the reason for the different finger output of the two kinds of users.

I need help to find why finger doesn't work for the mojority of my nis users.

Jun

__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:31:15 EDT