[nSLUG] rsh(1) as root

John Weintraub johnweintraub at gmail.com
Wed Feb 26 02:39:12 AST 2014


Wouldn't SSH be safer? Not that that solves anything, but telnet lacks
for security, even in a LAN setting.

Cheers JJW


On Tue, Feb 25, 2014 at 10:35 PM, Mike Spencer <mspencer at tallships.ca> wrote:
>
> Working on host grody as root, I would like to do:
>
> grody-root% date -s `rsh nudel date`
>
> to set the date on grody to match that on nudel.
>
> But I get "Permission denied", presumably because of a prohibition
> against remote logins by root.  It works for non-root:
>
> grody-user% rsh nudel date
>             Wed Feb 26 01:26:37 AST 2014
>
> The things I've tried are too numerous and tedious to recount here in
> detail (although I could, if this were a really iteresting topic. :-)
>
> Is there a simple way to enable rsh(1) by root from a remote host?
>
> Yes, I know this is in general a Bad Thing and I would disable it
> after using.  I just need it occasionally. As it is, I telnet to nudel
> from grody, execute date(1), then cut and paste from a user xterm to
> one owned by root.  Works, loses a few seconds, inelegant, y'know?
>
> - Mike
>
> --
> Michael Spencer                  Nova Scotia, Canada       .~.
>                                                            /V\
> mspencer at tallships.ca                                     /( )\
> http://home.tallships.ca/mspencer/                        ^^-^^
>
>
> _______________________________________________
> nSLUG mailing list
> nSLUG at nslug.ns.ca
> http://nslug.ns.ca/mailman/listinfo/nslug



-- 
John Weintraub
#333-7451 Moffatt Rd.
Richmond BC Canada
V6Y 3W3
604-813-9830
johnweintraub at gmail.com


More information about the nSLUG mailing list