- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIS client configuration between HPUX master and l...
Operating System - HP-UX
1819931
Members
3259
Online
109607
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
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
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
тАО03-21-2011 11:05 PM
тАО03-21-2011 11:05 PM
NIS client configuration between HPUX master and linux clients
Hi Experts,
I have a HPUX box as nIS master server :
[root@sttr16:/root]#uname -a
HP-UX sttr16 B.11.11 U 9000/785 2000124292
And redhat linux boxes as nis clients.
root @s130fr0p04:~# uname -a;cat /etc/redhat-release
Linux s130fr0p04 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
root @s130fr0p04:~#
In master server i have added the linux hosts as below method:
edited /etc/hosts and put the new hosts in it:
/var/yp/ypmake hosts
cd /var/yp
/usr/ccs/bin/make -f Makefile
at client side::
I used authconf-tui utility and made the client as a NIS client.
[ selected NIS,
[*] Use NIS
[*] Use MD5 Passwords
[*] Use Shadow Passwords
after that Ican able to see the linux client became part of the NIS.
root @s130fr0p04:~# domainname
x.btv.cti.fr
root @s130fr0p04:~#
root @s130fr0p04:~# domainname
to.btv.cti.fr
root @s130fr0p04:~# ypcat passwd |tail -3
st04151:UKM5KtDn8sCZE:1078:310:Moreaux_Alexandre,B42-1,583216,b02w122,:/home/control/cdve/st04151:/bin/posix/sh
to12922:D7ckiSF2KkR4s:2226:201:Malmary_Cecile,M63-0,585384,rbtv36,:/home/devlog/prog/to12922:/bin/posix/sh
to21921:ybyntu50pH4AA:2397:411:Castagnino_Cyril,M24-6,586375,rbtv4,:/home/avionic/serv/to21921:/bin/posix/sh
root @s130fr0p04:~# ypcat hosts | grep -i s130fr0p04
root @s130fr0p04:~#
My NIS is poor.So could you pls correct me dear Gurus,where I went wrong?
Thanks in advance.
Rgds
Sree
I have a HPUX box as nIS master server :
[root@sttr16:/root]#uname -a
HP-UX sttr16 B.11.11 U 9000/785 2000124292
And redhat linux boxes as nis clients.
root @s130fr0p04:~# uname -a;cat /etc/redhat-release
Linux s130fr0p04 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
root @s130fr0p04:~#
In master server i have added the linux hosts as below method:
edited /etc/hosts and put the new hosts in it:
/var/yp/ypmake hosts
cd /var/yp
/usr/ccs/bin/make -f Makefile
at client side::
I used authconf-tui utility and made the client as a NIS client.
[ selected NIS,
[*] Use NIS
[*] Use MD5 Passwords
[*] Use Shadow Passwords
after that Ican able to see the linux client became part of the NIS.
root @s130fr0p04:~# domainname
x.btv.cti.fr
root @s130fr0p04:~#
root @s130fr0p04:~# domainname
to.btv.cti.fr
root @s130fr0p04:~# ypcat passwd |tail -3
st04151:UKM5KtDn8sCZE:1078:310:Moreaux_Alexandre,B42-1,583216,b02w122,:/home/control/cdve/st04151:/bin/posix/sh
to12922:D7ckiSF2KkR4s:2226:201:Malmary_Cecile,M63-0,585384,rbtv36,:/home/devlog/prog/to12922:/bin/posix/sh
to21921:ybyntu50pH4AA:2397:411:Castagnino_Cyril,M24-6,586375,rbtv4,:/home/avionic/serv/to21921:/bin/posix/sh
root @s130fr0p04:~# ypcat hosts | grep -i s130fr0p04
root @s130fr0p04:~#
My NIS is poor.So could you pls correct me dear Gurus,where I went wrong?
Thanks in advance.
Rgds
Sree
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2011 01:08 AM
тАО03-22-2011 01:08 AM
Re: NIS client configuration between HPUX master and linux clients
Hi,
Are you sure that HP-UX supports /etc/shadow as a map ?
Secondly, nisdomains on different LINUXes are different.
Third, check /etc/nsswitch.conf on the serves
Last, bbut not least, look at /etc/yp.conf on clients.
HTH
Are you sure that HP-UX supports /etc/shadow as a map ?
Secondly, nisdomains on different LINUXes are different.
Third, check /etc/nsswitch.conf on the serves
Last, bbut not least, look at /etc/yp.conf on clients.
HTH
Entities are not to be multiplied beyond necessity - RTFM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2011 01:25 AM
тАО03-22-2011 01:25 AM
Re: NIS client configuration between HPUX master and linux clients
Hi,
As I mentioned earlier, the nIS passwd, group maps are well working in newly configured Nis clients.
My main concern is about the visibility of the newly created/configured NIS clients in the created NIS domain.
ypcat hosts | grep -i "newly added client"
its not working in even from master.
All other things are OK.
Rgds
Sree
As I mentioned earlier, the nIS passwd, group maps are well working in newly configured Nis clients.
My main concern is about the visibility of the newly created/configured NIS clients in the created NIS domain.
ypcat hosts | grep -i "newly added client"
its not working in even from master.
All other things are OK.
Rgds
Sree
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-22-2011 02:28 AM
тАО03-22-2011 02:28 AM
Re: NIS client configuration between HPUX master and linux clients
> it[']s not working in even from master.
That almost answers my first question. What,
exactly, does "not working" mean here?
Did you look at the output from:
ypcat hosts
before running it through "grep"?
> /var/yp/ypmake hosts
Does that _do_ anything? Does it push the
results out to the other servers? (Are there
other servers?) Perhaps:
yppush
On the client:
ypwhich
Is that the master, or some other server?
> edited /etc/hosts [...]
Look at the NIS "make" file. Does it use
"/etc/hosts" as the source for its "hosts"
data? (I'd expect that, but I know nothing.)
That almost answers my first question. What,
exactly, does "not working" mean here?
Did you look at the output from:
ypcat hosts
before running it through "grep"?
> /var/yp/ypmake hosts
Does that _do_ anything? Does it push the
results out to the other servers? (Are there
other servers?) Perhaps:
yppush
On the client:
ypwhich
Is that the master, or some other server?
> edited /etc/hosts [...]
Look at the NIS "make" file. Does it use
"/etc/hosts" as the source for its "hosts"
data? (I'd expect that, but I know nothing.)
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