- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIS/YP authentication control issues
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
Forums
Discussions
Discussions
Discussions
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
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
06-06-2003 12:20 AM
06-06-2003 12:20 AM
NIS/YP authentication control issues
I'm having an issue for HPUX11i and NIS/YP. The machine is currently in the process of updated for use with ClearCase. However I have the problem that when I remove the + from the passwd all users can still login. The only way to prevent user login is to remove the nis option from the nsswitch.conf. But I need the nis UID/GID info.
Can anyone tell me how I can restrict logins to certain users without allowing everyone.
Thanks.
P.S. I have tried with +username only, however all users can still login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 12:38 AM
06-06-2003 12:38 AM
Re: NIS/YP authentication control issues
did you changed the /etc/nsswitch.conf ?
I think you have to change the password and group lines.
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 01:35 AM
06-06-2003 01:35 AM
Re: NIS/YP authentication control issues
However when nis is included all users can login
Thnx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 01:37 AM
06-06-2003 01:37 AM
Re: NIS/YP authentication control issues
or
After the change of the passwd, did you re-issued the refresh command for nis (i don't remember it now). may be NIS caches the information..
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 01:43 AM
06-06-2003 01:43 AM
Re: NIS/YP authentication control issues
The original config was to allow all users local & NIS to login. So the /etc/passwd & /etc/group has "+" as the last entry and the nsswitch.conf has "nis" after "files" for passwd & group.
However I now want that only one NIS user can login aswell as the local users. So I left the nsswitch.conf how it was configured and replaced the "+" with "+username" in the /etc/passwd & /etc/group.
But with the new configuration all users can login, it is not at all restricted to the "+username", which is how it works on every other *NIX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2003 10:24 AM
06-16-2003 10:24 AM
Re: NIS/YP authentication control issues
All you need now is to add the following lines for passwd and group into /etc/nsswitch.conf:
passwd: compat
group: compat
BR,
Dmitry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2003 11:55 AM
06-16-2003 11:55 AM
Re: NIS/YP authentication control issues
Check your client config file
/etc/nsswitch.conf
and change the passwd ang group will take
only from local not from NIS
Caesar