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.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. Solaris
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
3. UNIX for Advanced & Expert Users
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
4. Solaris
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
5. Solaris
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. IP Networking
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
7. UNIX for Dummies Questions & Answers
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
8. UNIX for Advanced & Expert Users
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
9. Solaris
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
10. Solaris
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
LEARN ABOUT SUSE
ssh-copy-id
SSH-COPY-ID(1) General Commands Manual SSH-COPY-ID(1)
NAME
ssh-copy-id - install your public key in a remote machine's authorized_keys
SYNOPSIS
ssh-copy-id [-i [identity_file]] [user@]machine
DESCRIPTION
ssh-copy-id is a script that uses ssh to log into a remote machine (presumably using a login password, so password authentication should be
enabled, unless you've done some clever use of multiple identities)
It also changes the permissions of the remote user's home, ~/.ssh, and ~/.ssh/authorized_keys to remove group writability (which would oth-
erwise prevent you from logging in, if the remote sshd has StrictModes set in its configuration).
If the -i option is given then the identity file (defaults to ~/.ssh/id_rsa.pub) is used, regardless of whether there are any keys in your
ssh-agent. Otherwise, if this:
ssh-add -L
provides any output, it uses that in preference to the identity file.
If the -i option is used, or the ssh-add produced no output, then it uses the contents of the identity file. Once it has one or more fin-
gerprints (by whatever means) it uses ssh to append them to ~/.ssh/authorized_keys on the remote machine (creating the file, and directory,
if necessary)
SEE ALSO
ssh(1), ssh-agent(1), sshd(8)
OpenSSH 14 November 1999 SSH-COPY-ID(1)