- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how can i know who use nis server to login the the...
Operating System - HP-UX
1822562
Members
3228
Online
109642
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО11-17-2004 11:41 AM
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2004 12:29 PM
тАО11-17-2004 12:29 PM
Solution
Hi
Its a while since i have used NIS but from what I remember /etc/nsswitch.conf file determines how NIS behaves.
If user has an entry in /etc/passwd then user is authenticated locally. If there is no entry in the file then NIS passwd map is used.
I'm not aware of any log file on master server.
To determine which users are using NIS to login, then you need to check /etc/nsswicth.conf. If it has an entry for passwd as follows:
passwd files nis
then any user listed in local /etc/passwd will not use NIS to login.
Any user not in local /etc/passwd will use NIS maps to authenticate and login.
Hope that helps.
Cheers
Con
Its a while since i have used NIS but from what I remember /etc/nsswitch.conf file determines how NIS behaves.
If user has an entry in /etc/passwd then user is authenticated locally. If there is no entry in the file then NIS passwd map is used.
I'm not aware of any log file on master server.
To determine which users are using NIS to login, then you need to check /etc/nsswicth.conf. If it has an entry for passwd as follows:
passwd files nis
then any user listed in local /etc/passwd will not use NIS to login.
Any user not in local /etc/passwd will use NIS maps to authenticate and login.
Hope that helps.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2004 02:21 PM
тАО11-17-2004 02:21 PM
Re: how can i know who use nis server to login the the system?is there nis server log?
The rules for nis are quite simple. Look in the client's /etc/passwd file. At the end of the file there should be at least one strange looking entry with a '+' where the login normally goes. Any user that is defined in the local /etc/passwd before the '+' file gets her login information from the local /etc/passwd file but any users not locally defined use the NIS map. It's actually a little more complicated because if locally defined passwd field are left undefined they can be picked up from NIS while using the parts of the entry that are locally defined.
There is no log that says this user was served by this server.
There is no log that says this user was served by this server.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP