How do I gracefully exit/shutdown a "remote" machine?
Walter Dnes
waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org
Wed Jul 20 10:56:20 UTC 2005
On Mon, Jul 18, 2005 at 05:44:14PM -0400, Henry Spencer wrote
> Don't try to do it interactively. Sign off from the interactive
> session, and then "ssh root at p3box poweroff" (substituting the
> appropriate name for "p3box"). Works for me.
Thanks. Sounds like what I need. I may make slight changes by
creating a dedicated user for shutdown, authorised in /etc/sudoers.
Or maybe even make the shutdown process their "user shell". I don't
currently have my machine publicly accessable. But if I ever do, I
don't want to have root be able to log in directly
--
Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org>
My musings on technology and security at http://tech_sec.blog.ca
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list