[ale] remote shutdown

jj at spiderentertainment.com jj at spiderentertainment.com
Mon Oct 18 14:02:51 EDT 1999


Umm, she does not know much about computes, and I want something simple, click
and point thing.. but nothing to work like m$,.

Zhongbin Yu \"jerry\" wrote:

> install sudo package,
>
> set your sister-in-law as a local user on linux box,
> install sudo package
> configure sudo to allow her to be able to do poweroff or shutdown -h
> command and to do those only. (man sudoers will have perfect example.
> NOPASSWD alt directive is also avaiable.)
> install ssh package if applicable on her win98 machine and linux box
> insert her public key from win98 to her own authorized_keys in her ~/.ssh
> for ssh1 on linux box. or list her key in authorized key list in her
> ~/.ssh2.
> an icon on her win98 desktop, as shortcut to
> ssh1.exe sister at myPreciousLinux.home.org /usr/bin/poweroff
>
> with this she may still be prompted for pass phrase for her private key on
> local box. If she is really lazy type, generate keys with null passphrase,
> but this is dangerous since she has a valid shell account on your linux
> box.
>
> $0.02.
>
> Jerry Yu
> ----------------------------------------------------------------------------
> Systems Engineer        | zyu at tc.net
> Premiere Technologies   | 404-262-8544(O)       1-800-979-1105 (P)
> Atlanta, GA 30326       | ae.tc.net/dept/engineering/op/public/developer/zyu
>
> On Fri, 15 Oct 1999, Keith R. Watson wrote:
>
> #At 11:58 AM 10/18/99 -0400, you wrote:
> #>I have a small machine at home RH6 that is doing ip_masq. And my sister
> #>in law wants to use the internet from her computer. She knows how to
> #>turn on the linux box but she does not know how to shut it down. I
> #>personally run the halt command which shutsdown and turns off the
> #>machine. I need a solution that will do just that, where she clicks on
> #>her desktop(Win98) and it rsh the halt command, any ideas ?
> #>
> #>
> #>BTW: I have a small hard disk in this machine that is getting corrupted,
> #>I'm looking for a kernel that will do IP_MASQ and can be booted from
> #>floppy, I looked at the devel project, but it does not say anything
> #>about ip_masq. Can I build such kernel ... ? I'll try tonight but any
> #>pointers would be greatly appreciated.
> #>
> #>Thx,
> #>
> #>
> #
> #JJ,
> #
> #I can't answer the question about remote shutdown but I can tell you who
> #has a Linux router that boots from floppy. Charles Shapiro,
> #72300.3632 at compuserve.com has a working Linux router running ip_masq that
> #boots from a floppy. He is supposed to be giving a talk on it at one of the
> #upcoming ALE meetings.
> #
> #keith
> #
> #-------------
> #
> #Keith R. Watson                        GTRI/AIST
> #Computer Services Specialist IV        Georgia Institute of Technology
> #keith.watson at gtri.gatech.edu           Atlanta, GA  30332-0816
> #404-894-0836
> #






More information about the Ale mailing list