RLOGIN problem

hi !

i ve a problem with rlogin. i have a server from which only root user can Rlogin other servers.
other users can t rlogin, they get the following error :
"rcmd2: socket: The file access permissions do not allow the specified action"
Does somebody can help ?
Thanks,
Karine

Posting your OS and version would REALLY help!

If solaris then this may assist:

rsh and/or rcp and/or rlogin fails with the following error message:

rcmd: socket: Permission denied

Resolution: Top

For SunOS[TM] (4.x):

# chown root /usr/ucb/rsh /usr/ucb/rcp /usr/ucb/rlogin
# chmod 4755 /usr/ucb/rsh /usr/ucb/rcp /usr/ucb/rlogin

it should look like:

-rwsr-xr-x  1 root      6168 Oct 11  1990 /usr/ucb/rsh
-rwsr-xr-x  1 root    106558 Oct 11  1990 rcp
-rwsr-xr-x  1 root     24576 Oct 11  1990 rlogin

For Solaris[TM] (2.x):

# chown root /usr/bin/rsh /usr/bin/rcp /usr/bin/rlogin
# chmod 4555 /usr/bin/rsh /usr/bin/rcp /usr/bin/rlogin

it should look like:

-r-sr-xr-x   1 root     bin         8772 Jul 15 21:31 /usr/bin/rsh
-r-sr-xr-x   1 root     bin        20292 Jul 15 21:31 /usr/bin/rcp
-r-sr-xr-x   1 root     bin        15808 Jul 15 21:31 /usr/bin/rlogin

Sorry i forgot...
thanks for your answer, i ll try it later
Karine

:smiley:
i fixed the problem by changing permissions to 555 to /usr/bin/rlogin
since the all users can rlogin and rsh.
i ve found the solution at Unix Hp site (i use AIX 4.3)

http://docs.hp.com/en/B2355-90695/rcmd.3N.html :stuck_out_tongue: