- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 'finger' isn't working for NIS users
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2003 12:58 PM
тАО03-18-2003 12:58 PM
'finger' isn't working for NIS users
But if I try to issue finger username, it returns:
Login name: username In real life: ???
If I grep passwd /etc/nsswitch.conf returns files nis.
If I swap and have nis 1st, it doesnt matter.
The 'who', 'last' and 'lastb' commands all return expected data without garbage.
Any ideas where to look now ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2003 01:13 PM
тАО03-18-2003 01:13 PM
Re: 'finger' isn't working for NIS users
Is finger commented out in /etc/inetd.conf on the NIS server?
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2003 01:13 PM
тАО03-18-2003 01:13 PM
Re: 'finger' isn't working for NIS users
Check permissions on /etc/utmp and /var/amd/wtmp.
Is it commented out in inetd.conf?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2003 01:23 PM
тАО03-18-2003 01:23 PM
Re: 'finger' isn't working for NIS users
passwd: compat
in the nsswitch.conf instead , did you try that. Your local password file, any username/uid clashes ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2003 01:25 PM
тАО03-18-2003 01:25 PM
Re: 'finger' isn't working for NIS users
finger IS commented out of inetd.conf. But it is also commented out of the servers where the command works fine for NIS users.
hrmm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2003 01:25 PM
тАО03-18-2003 01:25 PM
Re: 'finger' isn't working for NIS users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2003 01:29 PM
тАО03-18-2003 01:29 PM
Re: 'finger' isn't working for NIS users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2003 01:34 PM
тАО03-18-2003 01:34 PM
Re: 'finger' isn't working for NIS users
If I issue: finger robert
I get a list of properly formatted data for all the Roberts in NIS, but if I issue: finger gamble I get Login name: gamble In real life: ???
I went to the NIS master (which is still 10.20) and issued: finger gamble
and it worked correctly, so I don't think the passwd.* maps are corrupt.
I am having someone run 'pwck' on those large maps overnight.
Any other ideas ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2003 01:57 PM
тАО03-18-2003 01:57 PM
Re: 'finger' isn't working for NIS users
$ finger -m gamble
.. ie assuming you have a valide username "gamble" entry in the passwd map and/or local passwd file. At this point it's hard to figure out what's the problem until we do more test. Try the chfn command .. (change finger info). I just want to see if changes made are written back to your master passwd file. For example ..
# chfn -r nis skchan
You'll be prompted for password entry and then the GECOS field changes. Try changing something (for example tel number) and then check the nis passwd map to see if the change got overwritten ..
# ypcat passwd|grep \^skchan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2003 02:14 PM
тАО03-18-2003 02:14 PM