Slackware 2.4.22 remote root login no password
This is in information post only. No need to reply.
I have searched and searched for the answer to the question on how to
allow root to access a slackware 2.4.22 linux system from solaris systems without
linux system asking for password. Why. I need to utilize rdist from solaris systems
to linux system.
What I have been able to do on the linux system so far.
I have root ~/.rhosts - make sure in roots true home based on passwd file entry.
<solaris hostname> root
I have uncommented the tty's and pty's from /etc/securetty.
and in inetd.conf uncommented and restarted inetd (kill -HUP <pid of inetd>):
#telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
Allowing root to at least login with telnet and a password.
I have uncommented out from /etc/inetd.conf and restarted inetd.
shell stream tcp nowait root /usr/sbin/tcpd in.rshd -L
login stream tcp nowait root /usr/sbin/tcpd in.rlogind -h
And added the -h, the one piece I was missing, to rlogind line since it states in the man page that -h will allow root to use its .rhosts.
I have no pam files so any post I saw about root access related to
this did not help.
Hopefully this will help someone with the same problem with Linux Slackware.
I'm sure RH and others are different methods.
I will work on using a more secure method when I have the time.
root login no password rlogin rsh slackware rhosts
|