How to enable 'rsh' for user=root ?

Bob Chiodini rchiodin at bellsouth.net
Sat May 19 17:49:53 UTC 2007


Banibrata Dutta wrote:
> Hi,
>
> I've tried several recommendations to enable 'rsh' for the user
> 'root'. I know about the pitfalls and dangers or doing same, but I
> must have this because of particular need for the software suites I am
> running.
> I am able to run 'rsh' just fine for all other users. It's just for
> 'root' that I am facing problems.
>
> I've attempted by adding 'rsh', 'rlogin', 'rexec' in /etc/securetty
> file, i.e. first three lines. Didn't help.
> I've attempted by adding the 'server_options = o' & 'server_options =
> -o' in the /etc/xinitd.d/rsh file. Didn't help.
>
> On running the following,
> # rsh <myhostname> pwd
>
> I get:
> Trying krb4 rsh...
> krb_sendauth failed: You have no tickets cached
> trying normal rsh (/usr/bin/rsh)
> Permission denied.
>
> Also, if someone is aware of how to disable the feature of rsh to
> attempt connection using Kerberos ?
>
> thanks & regards,
> Banibrata
>

.rhosts and securetty

The usual warning:  Don't do it for root.  That said, see man securetty.

Add the remote host to root's .rhost.  /etc/host.equiv may need some 
touch ups too.

Bob...




More information about the fedora-list mailing list