Advertisement

04.28.2008 at 12:26AM PDT, ID: 23357972
[x]
Attachment Details

password needed for rlogin despite .rhosts entry is there

Asked by sunhux in Sun Solaris, Unix Operating Systems, Unix Setup

Tags: , , ,

Hi,

I've just set up a Solaris 10 server (call it Server1) & connect it
up to the network.

I've commented (prefix with #)  out the line
   " CONSOLE=/dev/console"    
in /etc/default/login  

From another old server running Solaris 9 (call it Server2) which sits on
a different subnet, I would like to be able to  rlogin into Server1 as well
as "rcp -rp ..."  files into Server 2.

I created  .rhosts  file on Server1's  /,  which contain one line :
the IP addr of Server2 & ensured this .rhosts file is world readable.

I login to Server2 using my id & then "su - root" - while I'm in root,
tried  "rlogin Server1" & was prompted for password.  I'm sure I
did not have to this as I ever got it working.

On Server1,  rlogin is enabled :
Server1#> svcs -a | grep -i rlogin
online         13:11:25 svc:/network/login:rlogin

Also, whether I have the following 2 lines in /etc/pam.conf or
not does not make any difference - it still requires a password
& "rcp" from Server2 will still give permission denied
  rlogin  auth sufficient         pam_rhosts_auth.so.1
  rsh     auth sufficient         pam_rhosts_auth.so.1
    pkgchk -f -n -p /etc/pam.conf   !! this is probably to make the changes in pam.conf effective


ThanksStart Free Trial
 
Loading Advertisement...
 
[+][-]04.28.2008 at 01:01AM PDT, ID: 21452208

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.28.2008 at 01:12AM PDT, ID: 21452251

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.28.2008 at 03:19AM PDT, ID: 21452681

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.28.2008 at 05:17AM PDT, ID: 21453188

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.28.2008 at 05:39AM PDT, ID: 21453323

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.28.2008 at 05:41AM PDT, ID: 21453335

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.28.2008 at 06:54AM PDT, ID: 21453970

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Sun Solaris, Unix Operating Systems, Unix Setup
Tags: Sun, Solaris, 10, password .rhosts entry rlogin rcp
Sign Up Now!
Solution Provided By: blu
Participating Experts: 4
Solution Grade: B
 
 
[+][-]04.28.2008 at 07:47AM PDT, ID: 21454494

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.28.2008 at 08:43AM PDT, ID: 21455050

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.28.2008 at 08:45AM PDT, ID: 21455071

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.28.2008 at 08:57AM PDT, ID: 21455174

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.28.2008 at 09:22AM PDT, ID: 21455363

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.01.2008 at 10:51PM PDT, ID: 21484765

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.01.2008 at 10:57PM PDT, ID: 21484777

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628