1. Edit /etc/inetd.conf, and add "h" at the end of the line, this is for enable ".rhosts" to the root user (be careful with security) hell stream tcp npwait root /usr/sbin/tcpd in.rshd -L 2. Tell inetd to "reload" it's configuration kill -HUP `ps aux | grep inetd | grep -v grep | awk '{ print $2}'` 3. Login as root, and create a .rhosts file, be sure to assign 600 permissions to .rhosts, and to check the changes made to this file. 4. Just invoke "rsh -l root <host> <commands> At least it worked for me on SuSE 6.0 (2.2.10) machine... - Nestor On Thu, 27 Apr 2000, Sam Carleton wrote:
I need to do some one time maintenance on my SuSE machines. I will require root to rsh into another SuSE machine and get root privileges on the remote machine but NOT be prompted with a password. I cannot figure out how to configure rshd. It is my understanding giving in.rshd the correct switches within inetd.conf is all I need to change.
It is my understanding that if the switching are correct, there is no need to configure all the different host files. Because I am only going to do this for a few hours and then disable rsh again, I want the absolute simplest solution.
Does anyone know for a FACT how to configure in.rshd the way I need it?
Sam
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/