Thanks for the advice sofar.
Ok so i went back to the basics and started from scratch. Im still new to all of this so heres the info i have:
My Computer’s name is: MidKnight
My “User” name on Suse us: Henco
My Login password is: *******
My root password is :&&&&
First off i wanted to see if i can rsh mysel so i reconfigured my /etc/hosts file which now looks like this:
*
127.0.0.1 localhost
special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
127.0.0.2 linux-bwcu.site linux-bwcu
168.120.20.48 Henco Zabimaru*
Then i added Zabimaru to the /etc/hosts.equiv and the /home/Henco/.rhosts files.
Adiotionally i added rsh, rlogin and rexec to the /etc/securetty file.
I also edited the /ect/pam.d/rsh and /etc/pam.d/rlogin files as follow:
RSH File:
auth required /lib/security/pam_rhosts_auth.so
auth required /lib/security/pam_securetty.so
auth required /lib/security/pam_nologin.so
auth required /lib/security/pam_env.so
account required /lib/security/pam_stack.so
service=system-auth
session required /lib/security/pam_stack.so
service=system-auth
rlogin File
***auth sufficient /lib/security/pam_rhosts_auth.so
auth required /lib/security/pam_securetty.so
auth required /lib/security/pam_nologin.so
auth required /lib/security/pam_env.so
auth required /lib/security/pam_stack.so
service=system-auth
account required /lib/security/pam_stack.so
service=system-auth
password required /lib/security/pam_stack.so
service=system-auth
session required /lib/security/pam_stack.so
service=system-auth
This seamed to get rsh going, however on the command rsh Zabimaru I immediately get an responce saying Login incorrect.
I am then promted for a login user name and a password. Using my user name “Henco” and login password ******* i am able to login into my own pc. I have checked the net on how to make this login automatic but it seams as though everything is setup correctly for automatic login.
Any ideas on what might be wrong or missing?
Lastly, how do i change the permission on the /etc/.rhost file to 600? I cant find a way to do it.
Regards
Henco