5 replies
by nikki96
From a help document...
"the rsh (or remsh on HP) must have uid-s bit set to call rcmd with root privilege. Do 'chmod u+s rsh' (or chmod u+s remsh on HP) to fix this problem. The result should be "-rwsr-xr-x".
Another help file notes this as well.
chown root /usr/bin/rsh /usr/bin/rcp /usr/bin/rlogin
chmod 4555 /usr/bin/rsh /usr/bin/rcp /usr/bin/rlogin
HTH
~nikki~
by volksjager
by qnex
I am not sure if it will work on Solaris, but rlogin/rsh is a piece of quite old and well stablized software, so it might.
Try to set up /etc/hosts.equiv file (your directory may differ, see man rlogind. This file contains list of hosts which can freely rsh/rlogin to given host.
Also make sure that rlogin/rsh binaries are SUID root (rlogin/rsh need to allocate privileged (<1024) ports) and if you insist on having .rhosts in each users' dir, make sure they own these files (rlogin/rsh may check that for the sake of security).
by volksjager
by volksjager
This discussion is closed to new replies.
Trending Linux posts
Sort by Trending