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 |
I suggest you look into using expect which is a wonderful tool for automating remote logins, uploads/downoads and stuff like that. Expect scripts aren't hard to write, and it comes with a script that can capture everything you type and create a script from it.
Håkan |
Moved: More suitable in our Success Forums since there is no question involved. Regards.
And yes, I would love to see a more secure method as I wouldn't recommend this type of access using root and rsh for anyone if your network is exposed to the public, internet, etc. Cheers. |
Yes, I have used expect before but I do not have the time to design
something more viable and secure. The customer wants and they are not allowing me much time to implement. Does anyone know how to get the automounter working correctly. Part of it works but other parts show mounted but nothing there? |
All times are GMT -5. The time now is 07:56 AM. |