1847256 Members
3781 Online
110263 Solutions
New Discussion

finger trouble

 
SOLVED
Go to solution
Alan Meyer_4
Respected Contributor

Re: finger trouble

what I've just encountered here at my location is a slave server who had a outdated mapfile. finger commands to machines bound to it yielded the ??? response. I re-pushed out the map files and the problem was resolved.
" I may not be certified, but I am certifiable... "
Simon Page_1
Frequent Advisor

Re: finger trouble

Some answers:

If I append the domain e.g. finger mcastan7@machine.company.com I get 'connection refused'.

A complete push of all maps made no difference.

ypwhich on the Tru64 machine gives the FQDN of the NIS master.

ypwhich on HP or Sun gives out FQDN slaves!
Simon Page_1
Frequent Advisor

Re: finger trouble

Hi Alan, how did you repush the mapfile?
Alan Meyer_4
Respected Contributor

Re: finger trouble

yppush passwd.byname
" I may not be certified, but I am certifiable... "
Alan Meyer_4
Respected Contributor

Re: finger trouble

from the master server.
" I may not be certified, but I am certifiable... "
Rick Garland
Honored Contributor
Solution

Re: finger trouble

What does this yield on output?

ypcat passwd | nawk -F: 'NF != 7 {print}'


Getting from the URL of
http://sunportal.sunmanagers.org/pipermail/summaries/2002-March/001090.html

QUOTE:
"I found one of the entries had seven "colons" rather than six . All entries after that were simply ignored by fingerd."

Simon Page_1
Frequent Advisor

Re: finger trouble

Well done Rick!

ypcat passwd | nawk -F: 'NF != 7 {print}'

was the route to the answer - there were 3 entries in the passwd file without the required number of fields.

Strange how Tru64 soldiers on, when other OE's fall by the wayside!

Going home now - will assign points tomorrow.

Many thanks to all.
Simon Page_1
Frequent Advisor

Re: finger trouble

Well done Alan - you had the answer some time back when you said "I also get that response if the NIS/passwd record is incomplete or in the incorrect format" but I wasn't prepared to check out 1300 lines! Rick came up with the awk check.
Simon Page_1
Frequent Advisor

Re: finger trouble

thread closed