How to enable 'rsh' for user=root ?

Anne Wilson cannewilson at googlemail.com
Sat May 19 18:16:32 UTC 2007


On Saturday 19 May 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 ?
>
I'm not a coder, so perhaps I'm misunderstanding you, but isn't the usual 
recommendation for security that you should ssh log in as user, then su to 
root?

Anne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070519/1626589e/attachment-0001.sig>


More information about the fedora-list mailing list