HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: I need to migrate the services from NIS to loc...
Operating System - HP-UX
1826047
Members
4326
Online
109690
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
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
09-27-2004 02:01 AM
09-27-2004 02:01 AM
I need to migrate the services from NIS to local
I need to eliminate service NIS in the server and the Workstation, In order to use them of local way.
Workstation is NIS Client...
What I need to do?
Please help me...
Thanks
Workstation is NIS Client...
What I need to do?
Please help me...
Thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2004 02:14 AM
09-27-2004 02:14 AM
Re: I need to migrate the services from NIS to local
Hi Guillermo,
All you need to do is edit the /etc/nsswitch.conf file & set the services line to:
services: files
If you want it to check NIS if the service is not in the files then:
services: files [NOTFOUND=continue] nis
HTH,
Jeff
All you need to do is edit the /etc/nsswitch.conf file & set the services line to:
services: files
If you want it to check NIS if the service is not in the files then:
services: files [NOTFOUND=continue] nis
HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2004 02:37 AM
09-27-2004 02:37 AM
Re: I need to migrate the services from NIS to local
Rename the /var/yp directory, I mean move it to some new name. And make necessary changes to /etc/hosts, /etc/nsswitch.conf. Stop all YP daemons which are running... I believe that is what you have to do. Rename your domainname file also.
Prashant
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2004 03:00 AM
09-27-2004 03:00 AM
Re: I need to migrate the services from NIS to local
OK - I may have misunderstood your question.
If you want to switch *all* the lookups from NIS then do this:
1) cp /etc/nsswitch.conf /etc/nsswitch.nis
2) cp /usr/newconfig/etc/nsswitch.files /etc/nsswitch.conf
3) /sbin/init.d/nis.client stop
4) edit /etc/rc.config.d/namesvrs & set
NIS_CLIENT=0
on the server do all the above..plus
5) /sbin/init.d/nis.server stop
6) edit /rc.config.d/namesvrs & set
NIS_MASTER_SERVER=0
NIS_SLAVE_SERVER=0
Optionally you could remove the domain name by setting
NIS_DOMAIN=""
HTH,
Jeff
If you want to switch *all* the lookups from NIS then do this:
1) cp /etc/nsswitch.conf /etc/nsswitch.nis
2) cp /usr/newconfig/etc/nsswitch.files /etc/nsswitch.conf
3) /sbin/init.d/nis.client stop
4) edit /etc/rc.config.d/namesvrs & set
NIS_CLIENT=0
on the server do all the above..plus
5) /sbin/init.d/nis.server stop
6) edit /rc.config.d/namesvrs & set
NIS_MASTER_SERVER=0
NIS_SLAVE_SERVER=0
Optionally you could remove the domain name by setting
NIS_DOMAIN=""
HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP