Visit Our UNIX and Linux User Community

NIS Problem

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users NIS Problem
# 1  
Old 01-06-2003
Data 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
su - user (if I am no root user)

and enter the right password I get always the erro message:

Login incorrect
su: Sorry

I verify the password and change it to standard one but nothing happens. Using another user .. no result.

This happens after we transport the server to a other location.
In my opinion all relevant prozesses are running.

thanks for every info or hint.
# 2  
Old 01-06-2003
are you able to see the maps on the other servers

$ ypcat hosts

if you can. are the map correctly exported from the master server ?
# 3  
Old 01-06-2003
it seems to me that the user you are trying to su in to is not in your /etc/passwd and /etc/shadow files

the root user password is in /etc/shadow that why root user can log on.

To be able to su to any other users you need the following entry in /etc/passwd file




The above informs the server to check nis(yp file) for users rather than the local /etc/passwd

username will be the username on the person you want to su in to
nisgroup will be group the user belong to
# 4  
Old 01-07-2003
after any modification in password or user's info that refers to passwd file you should run:

that propagates modifiactions in related maps.
# 5  
Old 01-08-2003
Bug Thanks for your replay.

Hi all

To MrOrange:
My Test system have only on NIS master and no other slave server. So I try to login on the niss masterserver with my one login name and password. I`am able to use ypcat hosts or ypcat passwd the output of this commands are complete with all hosts all users and so on.

To Hassan2:
All users are not only present as nis usres. I can find all relevant entryŽs in the local passwd or shadow.

To nikk:
If you use as root user
passwd name_of_user
the system change both the local passwd and the nis yppasswd.

Thanks all,
but I try this now for the 10th time and I donŽt now why but now the problem isnŽt yet present.
The server have 1 day time to solve the mistake alone because IŽam an a meating in another office and he has used this time.
regards joerg


removed extra blank lines for readability --oombera

Last edited by oombera; 02-20-2004 at 04:20 PM..
# 6  
Old 01-08-2003
what happens when

what happens when you logging to a NIS-client workstaion as root. And you use the follwing command.

#ypcat passwd

the output had to be a password file output from the NIS-map with lives on you NIS-master (since you do not have NIS-slaves installed)

Previous Thread | Next Thread
Test Your Knowledge in Computers #837
Difficulty: Medium
SOAP was designed as an object-addressing protocol in 1998,
True or False?

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

NIS Problem

I have a Solaris 9 system running on a sparc platform which is configured for NIS. The domain is set to 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... (2 Replies)
Discussion started by: meyersp
2 Replies

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

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 and Maintance Level 5. Tank's for help (1 Reply)
Discussion started by: Michael
1 Replies

Featured Tech Videos