- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to add HP-Unix servers to NIS domain.
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
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
тАО01-22-2006 09:26 PM
тАО01-22-2006 09:26 PM
How to add HP-Unix servers to NIS domain.
We have a RHEL 4 server serving as NIS and NFS server. It has the users
home directories that are shared and automounted on all other Linux and
Solaris servers in the lab as part of NIS login.
The HP-Unix servers we have currently, are not part of the NIS domain. I am new
to HP-Unix, please suggest how to add HP-Unix servers to the NIS domain, so that
users can login to HP-Unix server using NIS account and get their home directory
also automounted.
Thanks & Regards,
-GnanaShekar-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2006 01:55 AM
тАО01-23-2006 01:55 AM
Re: How to add HP-Unix servers to NIS domain.
1. Login to your NIS server and change to the directory which contains your domain details (filename will be of the form db.domain)
2. Make a safe copy of this file
3. vi the file and add the name and IP address of the HP-UX server. Make sure you increment the serial number of the file.
4. You may also have extra files for different subnets. If so, amend the file for the subnet containing the HP-UX server.
5. reload.dns (you may need to locate this file).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2006 01:57 AM
тАО01-23-2006 01:57 AM
Re: How to add HP-Unix servers to NIS domain.
For NIS..
#domainnmae
#domainname (see the output)
#/var/adm/ypinit -c
Enter the ip address of NIS server
#vi /etc/nsswitch.conf
host file NIS
save and come out.
u can also use.
#sam
For NFS in Server site..
#vi /etc/exports
/export/home ipaddress_cliet(rw,root_no_squash,async)
save and come out
#service nfs restart
In client (hp unix)
#vi /etc/fstab
(modify the fstab file for auto mount)
#mkdir /export/home
#mount ipaddress_server:/export/home /export/home
#showmount.
Hope this will help u to resolve ur issue..
cheers
indrajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2006 02:02 AM
тАО01-23-2006 02:02 AM
Re: How to add HP-Unix servers to NIS domain.
On the NIS side Modifying the ypservers map.
Step 1. cd /var/yp/`domainname` # makedbm -u ypservers > /tmp/ypservers.
Step 2. vi /tmp/ypservers # makedbm /tmp/ypservers ypservers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2006 02:06 AM
тАО01-23-2006 02:06 AM
Re: How to add HP-Unix servers to NIS domain.
the changes live.
cat /tmp/ypservers.map |makedbm - /var/yp/`domainname`/ypservers
Running ypcat -k ypservers at this point should show the changes however
the servers I deleted are still being displayed.
Regards,
Simon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2006 02:07 AM
тАО01-23-2006 02:07 AM
Re: How to add HP-Unix servers to NIS domain.
GnanaShekar,
The instructions in the prior notes will work
But a word of caution - if the systems are trusted (or if you want to enhance security at some point and make them trusted), NIS will not work with the systems.
I believe you need to use NIS+ or LDAP in order to work with trusted systems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2006 02:25 AM
тАО01-23-2006 02:25 AM
Re: How to add HP-Unix servers to NIS domain.
to configure these servers as NIS-client you can use 'SAM' - area: Networking and Communications - NIS (or NIS+)
or
set_parms addl_netwrk
(see 'man set_parms')
You have to know the nis domain name.
Also you have to add a '+' in /etc/passwd, /etc/hosts and /etc/group.
Then you have to send the nis-informations from the nis-server with 'ypmake'.
HTH
Volkmar