- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to disable nis client and nis server.
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
05-12-2008 09:35 AM
05-12-2008 09:35 AM
I want to migrate all the uids which are currently administered thru nis to /etc/passwd and then I want to disable nis on the server, becuase now we have a new DNS server in our environment.
Are there any standard steps for this migration.
The server is in production and its acting as nis server and client both, also no other server is client to it.
Do we require any downtime for this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2008 10:11 AM
05-12-2008 10:11 AM
Solutionvi /etc/rc.config.d/namesvr
You can change the startup characteristic.
Either restart the server or use the nis.client and nis.server programs to stop the daemons in /sbin/init.d
If your NIS setup has the new NIS master and the old NIS master in the client setup, then downtime is not strictly required. I'd warn my users though, mistakes are possible.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2008 11:54 AM
05-12-2008 11:54 AM
Re: how to disable nis client and nis server.
Is this server the NIS master? If so there is no need to migrate anything to /etc/passwd unless you have a different password file from which you built the NIS map.
1. Update /etc/passwd, /etc/group if needed and remove the "+" directive.
2. Change /etc/nsswitc.conf to use "files" for the passwd and group and "files dns" for hosts.
3. Stop the NIS server and client processes using /sbin/init.d/nsi.client stop, /sbin/init.d/nis.server stop
4. Disable the NIS in /etc/rc.config.d/namesrvs to prevent them from starting up again. Change the "1" to "0".
All this can be done live but do it when the server is least active. Perform many tests when done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2008 04:19 PM
05-12-2008 04:19 PM
Re: how to disable nis client and nis server.
Thanks a lot for the answers.
This server is NIS master and client both, also there is no other client associated to it.
There are number of uids in the passwd.byname which are not present in /etc/passwd, and these uids are active too. How can I migrate these uids from passwd.byname to /etc/passwd? Will just a copy and paste will do or is there any specific command or process for this?
Also Please let me know if there are any other important nis maps to migrate like this to the local files.
Again thanks for all the answers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2008 03:09 AM
05-13-2008 03:09 AM
Re: how to disable nis client and nis server.
By default all the default NIS maps are created in the NIS server. Look in /var/yp/
The maps are also listed in /etc/rc.config.d/namesrvs in one of the variable sections and inside the ypinit script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2008 06:38 PM
05-13-2008 06:38 PM
Re: how to disable nis client and nis server.
before disabling NIS make carefull study and make a detail action plan
check all the user in system
and working directory, shell etc
check NIS using same password file /etc/passwd
some system due to security they are using diffrent passwod files
DNS is using name resolutions,if you are implementing ldap for NIS, then you can disable NIS, I do not understand for DNS why you disabling NIS
Regards
Safar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2008 03:53 AM
05-14-2008 03:53 AM
Re: how to disable nis client and nis server.
Thanks a lot for detailed reply. I unconfigured the nis from server successfully after updating local file from /nis maps.