From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3.0.3.32.19971031082653.034a6200@atlas> Date: Fri, 31 Oct 1997 08:26:53 -0600 From: Rob Zook Subject: Re: rsh/rlogin In-Reply-To: <199710310952.LAA05826@blinky.bfr.co.il> At 11:52 AM 10/31/97 +0200, you wrote: >Stephen Tow writes: > > Howdy, > > > > I have a problems that I have not been able to figure out for the life > > of me... > > > > Why doesn't rsh/rlogin work when logged in as root? It works fine for > > normal users, but not for root. I'm sure this is some sort of security > > measure, but is there some way around this? Without it it's pure hell > > to try and propagate a common file across a dozen machines. > >It's a security measure. If you figure out how to use PAM, you can >probably figure out how to enable it. One way around it is to nfs >mount the dozen machines onto one machine. In /etc/pam.d/rlogin you will find the pam file which controls rlogin security. Disable the securetty line and you can rlogin as root: # auth required /lib/security/pam_securetty.so ^ Comment out this line ----+ auth sufficient /lib/security/pam_rhosts_auth.so auth required /lib/security/pam_pwdb.so shadow nullok auth required /lib/security/pam_nologin.so account required /lib/security/pam_pwdb.so password required /lib/security/pam_cracklib.so password required /lib/security/pam_pwdb.so shadow nullok use_authtok session required /lib/security/pam_pwdb.so HTH, Rob Z. -------------------------------------------------------- Man has such a predilection for systems and abstract deductions that he is ready to distort the truth intentionally, he is ready to deny the evidence of his senses only to justify his logic. -- Notes from Underground, Fyodor Dostoyevsky -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com