NIS Master and Client problem


 
Thread Tools Search this Thread
Operating Systems HP-UX NIS Master and Client problem
# 1  
Old 12-13-2012
NIS Master and Client problem

I have a NIS Master server and NIS Clients.
But when I started the service all the process and files that should be owne by root apper by the owner 0

This is an example
Code:
0 1709 1708 0 10:06:10 ? 0:00 /usr/sbin/nfsd 4
0 1710 1709 0 10:06:10 ? 0:00 /usr/sbin/nfsd 4
0 1708 1 0 10:06:10 ? 0:00 /usr/sbin/nfsd 4
 
-rw------- 1 0 sys 2862 Oct 14 2007 .ICEauthority
-rw------- 1 0 sys 228 Oct 14 2007 .TTauthority
-rw------- 1 0 sys 402 Oct 14 2007 .Xauthority
 


If I stop nis.master and nis.client all the process everything come back to root (as the user not the number 0)


Anyone have an idea??

Last edited by vbe; 12-14-2012 at 07:28 AM..
# 2  
Old 12-14-2012
Assuming ypwhich returns the expected NIS server, does this problem just occur for files owned by root or for all users?
# 3  
Old 12-14-2012
Quote:
Originally Posted by fpmurphy
Assuming ypwhich returns the expected NIS server, does this problem just occur for files owned by root or for all users?
just for root

I looks that it was a problem with the 2nd line on the /etc/passwd on the master. It was deleted and everything came back to root
root:FxuOpg9A:0:3::/:/sbin/sh
droot:R6TEgWb7FU:0:3::/:/sbin/sh ---- line deleted

thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to find out which server is LDAP/NIS master?

I have some scripts where I go and do some LDAP/NIS queries to report on users on Unix servers. What I am trying to figure out is, how do I know which server is the LDAP? The configs have been in place long before I took over so was hoping someone had some insight on how to figure this out. I must... (1 Reply)
Discussion started by: dagamier
1 Replies

2. AIX

Problem in communication nim client with nim master

Hello, I have an AIX6.1 machine which is a nim client to my nim master which is also AIX6.1 machine. I had some problem to perform an installation on my client using smit nim . i removed /etc/niminfo file in order to do the initialization again but when i run the command niminit -a name=client... (0 Replies)
Discussion started by: omonoiatis9
0 Replies

3. Red Hat

Yppasswdd not running on nis master server

Goodmorning i am preparing Nis for my test lab.Running Redhat 5.4 on master and centos for my client.Master server running portmap,ypserv,yppasswdd and client running portmap,ypbind and ypxfrd. ypcat and other yp commands are running fine frm client.But when i try yppasswdd on client to change... (1 Reply)
Discussion started by: Vaibhav.T
1 Replies

4. Solaris

Error while configuring NIS master

Hello - I have a Solaris machine, which I would like to configure as NIS master. When I run the command /usr/sbin/ypinit -m, I see below output. I am enclosing them in tags. /usr/sbin/ypinit -m In order for NIS to operate sucessfully, we have to construct a list of the NIS servers. Please... (1 Reply)
Discussion started by: manju--
1 Replies

5. Solaris

Problem with NIS client

Hi All, In my network infra, there is a NIS master server and many more NIS slave servers. Now, I want every client to set with master server and one possible slave server so that if master goes down, client could still get info from slave server. The servers will be listed on... (0 Replies)
Discussion started by: naw_deepak
0 Replies

6. Solaris

Problem while setting NIS master on Solaris 10

Hi All, I get below error while running cd /var/yp /usr/sbin/ypinit -m Error Code - 1 updated netmasks make : warning : target all not remade because of errors current working dir /var/yp *** error code 1 *** make : fatal error : command failed for target 'k' error running... (4 Replies)
Discussion started by: naw_deepak
4 Replies

7. Solaris

How to configure a NIS client bound to the NIS server in another subnet?

Hi, all. I have a Solaris client here needs to bind to NIS server in another subnet. Following is the configuration i made on the client, 1) edit /etc/inet/hosts to add an entry of the NIS server -- nserver01 2) execute `domainname` to set local NIS domain to the domain of the NIS server.... (1 Reply)
Discussion started by: sn_wukong
1 Replies

8. UNIX for Advanced & Expert Users

Moving NIS master to new machine

I am running a DNS/NIS server on and older 2.6 system. I would like to move it to a newer system running Sol9. I have not found a good HOWTO and was looking for some advice. Thanks in advance. Dave (4 Replies)
Discussion started by: dlalonde
4 Replies

9. HP-UX

Problem with HPUX as NIS-Client

Hi all! I am running an NIS Server with Linux. Now I want to configure a HPUX-Server to use this NIS Server. I have don all the configuration stuff exactly as described in the documentation. When I run YPWHICH, it shows me the right server and domain. If I run YPCAT passwd, I'll get the... (4 Replies)
Discussion started by: pepade
4 Replies

10. UNIX for Advanced & Expert Users

NIS master / slave problems

Our NIS master server went down. We have since fixed it and brought it back up. However all of are machines still point to the slave server when looking at it with ypwhich. My question is how do i point the servers back to the master. Frank (2 Replies)
Discussion started by: frankkahle
2 Replies
Login or Register to Ask a Question