Re: ssh'ing into DB3.0 for restart?
On Sat, 2002-07-27 at 12:43, Jamin W.Collins wrote:
> On Sat, 27 Jul 2002 10:48:08 -0700
> Johannes Graumann <graumann@its.caltech.edu> wrote:
>
> > Sorry, should have made this more clear. After 'ssh -2 -c 3des host02
> > reboot' on host01 I get a 'bash: reboot: unknown command'.
>
> That would be due to reboot not being in the PATH of the user your
> connecting to host02 as. The path to it is /sbin/reboot. But, the user
> you are connecting as probably won't have rights to execute it.
$ ssh -2 -c 3des root@host02 reboot
^^^^^
That would solve one problem, but open a security hole.
--
+-----------------------------------------------------------------+
| Ron Johnson, Jr. Home: ron.l.johnson@cox.net |
| Jefferson, LA USA |
| |
| "The greatest dangers to liberty lurk in insidious encroachment |
| by men of zeal, well-meaning, but without understanding." |
| Justice Louis Brandeis, dissenting, Olmstead v US (1928) |
+-----------------------------------------------------------------+
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: