Solaris 10 NIS client configuration


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 10 NIS client configuration
# 1  
Old 02-25-2010
Solaris 10 NIS client configuration

Hi,

I have a Solaris 10 machine and trying to connect it to a Linux NIS Server. Up till now I have set up NIS so that it does find the NIS server and gets the user list.

Automounter also mounts some directories from an NFS server.

However, I can't get it to map the shadow passwords (they are MD5 and unfortunately I cannot change that).

Can you give me some guidelines on what to try?

Thanks
# 2  
Old 03-01-2010
According to www.linux-nis.org nis-howto
shadow passwords are a bad idea and Solaris does not support shadow passwords over NIS.

hth
# 3  
Old 03-02-2010
Password are expected to be in the passwd map as there is no shadow map with NIS on Solaris. Is your problem md5 password being unrecognized by Solaris or the shadow.* maps not being used ?
# 4  
Old 03-08-2010
I have a NIS linux server that has all the user information, hosts and home directory information and a linux nfs server that has the home directories.

Unfortunately, I do not manage those and are not going to change, so I have to set it up somehow to be able to ssh to the solaris machine - either through a password or through public key authentication.

I managed this far to be able to connect to the NIS server and mount the home directories.

ypcat passwd reports:
PHP Code:
dop:x:26779:2000:User Name:/users/dop:/usr/bin/bash 
and ls -al /users | grep dop
PHP Code:
dr-xr-xr-x    1 root     root            1 Mar  8 01:21 dop 
However, my password is not recognized and public key authentication fails, since it sshd cannot access the /users/dop/.ssh/authenticated_keys

Let me know what else information would be useful.
# 5  
Old 03-22-2010
Quote:
and ls -al /users | grep dop
PHP Code:
dr-xr-xr-x 1 root root 1 Mar 8 01:21 dop

Looks like the user's home directory was not autmounted when you did the ls, try:
Code:
# cd /users/dop

You may get permission denied but it should have mounted, then try:
Code:
# ls -ld /usrs/dop

and make sure it is now owned by dop and writeable by the owner, otherwise acessing ~/.ssh for dop is going to be a problem!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

User authentication failed while log in Solaris 8 client on Linux NIS server.

Based on the NIS migration tests I did and another question I posted earlier on. https://www.unix.com/solaris/272021-solaris-8-md5-encryption-support.html I tried to downgrade NIS linux encryption to DES to support solaris connection. So I modified /etc/pam.d/system-auth as below, password... (0 Replies)
Discussion started by: bestard
0 Replies

2. Solaris

LDAP server and client configuration in Solaris 10

How do i install ldap server and client in solaris server how to configure ldap server and client please help me (1 Reply)
Discussion started by: ainstin
1 Replies

3. UNIX for Advanced & Expert Users

Inquiry: NIS configuration setup

Hello, Good day. I would like to ask for your inputs on this scenario. Currently, we have a NIS virtual machine with a Solaris 10 (32-bit) OS. And also we have another virtual machine with the same OS. And I am asked to set-up a secondary NIS on this another VM, bring down the primary NIS and... (0 Replies)
Discussion started by: SystemAddict
0 Replies

4. UNIX for Dummies Questions & Answers

Help with NIS client

Hi All, I have a new server on the network, I did configure the NIS. ypwhich is working and ypcat all are working. But when I log in as me, home directory is not coming up. I looked at other servers we have at work to see what's under /etc/fstab. I don't see anything for home directory. ... (3 Replies)
Discussion started by: samnyc
3 Replies

5. IP Networking

Removing NIS configuration

Hi, I want to remove the NIS configuration completely from a SCO UNIX 6.0 box. How to do that. I configured it using /mvdev/nis.Dexter (1 Reply)
Discussion started by: dextergenious
1 Replies

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

7. Solaris

Solaris 10 NIS Client

Hi all, Recently i have implemented NIS functionality in solaris 10 and i have created server and client with user in server side by giving useradd -d /export/home/user1 -m -s /bin/sh user1 after that I went to /var/yp dir and give /usr/ccs/bin/make so that it will refelect to client... (2 Replies)
Discussion started by: esungoe
2 Replies

8. UNIX for Advanced & Expert Users

Linux NIS sever not binding with Solaris client

I am installing a NIS master server with a linux SLES 10 SP1. And it was pretty straight forward. (Simple since it GUI ) The server can bind to itself when issue with ypwhich command. But on solaris 10 box, I set up the defaultdomain (/etc/defaultdomain) and also issue ypinit -c to startup the... (3 Replies)
Discussion started by: ibroxy
3 Replies

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

10. UNIX for Dummies Questions & Answers

NIS Configuration Help

I have a Solaris 5.5 with NIS set-up. My plan is to change IP address. I used the ifconfig command to change IP and updated the /etc/hosts file, the problem is that ypmake command is not yet available with Solaris 5.5 and I don't know how I can update my NIS map. ypcat hosts still shows my old IP... (2 Replies)
Discussion started by: inquirer
2 Replies
Login or Register to Ask a Question