NIS Problem


 
Thread Tools Search this Thread
Operating Systems Solaris NIS Problem
# 1  
Old 10-14-2003
NIS Problem

I have a Solaris 9 system running on a sparc platform which is configured for NIS. The domain is set to unixlab.ocas.uc.edu on this system and the yp processes are running. The client machinces successfully binds using the ypinit -c command and specifying the servers name. I also copied the nsswitch.nis file to the nsswitch.conf. I reboot the client and the system reconizes the nis domain and comes up. The problem is when i try to login using an account i created it says login incorrect. I can login as the clients root and do a ypcat and the users info is in the passwd map. Also doing a ypwhich shows the name of the server. Plus i can ping the server. Any ideas???
# 2  
Old 10-14-2003
you can log using root because root user is a local user stored in
/etc/passwd

To solve your problem put this entry in your /etc/passwd

+::::::

and this in /etc/shadow file

+::::::::


Note

the /etc/passwd should have 6 colon and /etc/shadow file has
8 colon

Last edited by hassan2; 10-14-2003 at 05:36 PM..
# 3  
Old 10-15-2003
Unfourtunately that didnt work. The client systems are using dhcp and retrieving there ip from the universities dhcp server. My NIS server has a static ip. I was wondering if this could be causing a problem? The FQDN for the client is like Computername.net1.net2.edu and net1 is not the domainname. I would think it should look like this Computername.mydomain.net1.net2.edu. Any incite? Next im going to try to get a static ip for a client and see if it works.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Audio Problem-NIS users

Hai all, I'm rameez rahman working as a Technical assistant. I configured NIS Server in RHEL 6.5 with 40 client PC's.All the clients are using the same os ie RHEL 6.5 64 bit.All the features are working fine except sound ie from client machine if a NIS user logged in he cant access sound.But if... (2 Replies)
Discussion started by: rameez rahman k
2 Replies

2. Red Hat

NIS problem

Hello Everyone! When my NIS clients sync to the master server they have a problem with only the group maps. Upon executing "ypcat group" on the client, just one entry displayed for groups. That entry corresponds to the local group account (/etc/group) on the master. This particular group... (0 Replies)
Discussion started by: pingmeback
0 Replies

3. AIX

NIS problem in aix

Hi, We are facing a problem with nis . we have a master server and there are 5 -6 slave servers configured with NIS. All the servers are IBM aix with different O/s versions installed Ex.5.2, 5.3 and 6.1 The master nis server is a 5.2 aix server system and all others are installed with nis... (6 Replies)
Discussion started by: ramkalluri
6 Replies

4. 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

5. Solaris

annoying problem with nis

This is my home set up I have 2 solaris boxes at home. One is a nis server and one is client. everytime I start the client without server, it will hang permanently looking for for nis server. is there a way to get around this? Can you set timeout the nis client? I use nis becuase my... (4 Replies)
Discussion started by: congngo
4 Replies

6. Solaris

NIS Problem

I'm having an issue with NIS. I run the following: ./nisclient -i -d XXX.XXXX.XXX -h XXXX-XXXX Everytime I do this with both my master and slave servers up and running and I go to reboot my client the client will hang after starting RPCBIND, and NIS Cachemanager. If I take my slave NIS... (1 Reply)
Discussion started by: buckhtr77
1 Replies

7. Solaris

problem in changing the NIS passwd

Now I face a problem in changing the NIS passwd,I have no idea,want you to help me! Today I add some user in the NIS master server ,I "vi" /etc/passwd &/etc/shadow,add user account and password by hand(shadow----no password ,only eight ":"). when finsh,I login ,system told me to input a password... (3 Replies)
Discussion started by: dlsjm
3 Replies

8. UNIX for Advanced & Expert Users

NIS config problem

Hi Experts, For configuring NIS server/clients which i've done several times already, i faced some problem which i have not seen before. The problem is that after configuring NIS server & the clients, for instance when i run "ypcat hosts " it gives this message: "No such map in domain services"... (5 Replies)
Discussion started by: nikk
5 Replies

9. UNIX for Advanced & Expert Users

NIS Problem

Hi all, I use a sparc 1000 Enterprice server with solaris 5.8 as nis server. IŽam able to login as root user on the server and switch after that to any other user (If I am switch as root user) . So far so good. But if i try a rlogin server -l user_name or su - user (if I am no root user)... (5 Replies)
Discussion started by: joerg
5 Replies

10. UNIX for Advanced & Expert Users

NIS problem with netgroup

Hi@all, I'd setup a nis server and 4 slaves. Update of passwd work's fine, but if i create a netgroup file the make all process hang by push the netgroup file. I work with AIX 4.3.3.0 and Maintance Level 5. Tank's for help (1 Reply)
Discussion started by: Michael
1 Replies
Login or Register to Ask a Question