🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ch.comp.os.linux
Article #21560

Re: Remote Shutdown

#21560
From: Andreas Umbach
Date: Tue, 06 Jul 1999 00:00
20 lines
1641 bytes
On Tue, 06 Jul 1999 17:37:07 +0200, Christian H���rlimann <chh@openspace.ch> wrote:
>Hallo Allerseits
>
>Zugriffe auf '/sbin/shutdown' sind ja auf 'root' beschr�nkt, mit der
>M�glichkeit,  das zu erweitern auf users, welche an einem virtuellen
>Terminal eingeloggt sind und in '/etc/shutdown.allow' aufgef�hrt sind.
>Nun m�chte ich in unserem LAN jemandem erlauben, als non-root per SSH einen
>'shutdown -h now' auszuf�hren.
>Wie stelle ich das am besten an?

Irre ich mich oder steht die Loesung hier nicht schon da?
User 'foo' anlegen. Der macht dann 'ssh -l foo bar.host.com shutdown -h now'
von seiner Kiste aus.

- Andreas
-- 
Hi! I'm a .signature virus! Copy me into yours and help me spread
*****************************************************************
<blink>Hier koennte Ihre Werbung stehen!</blink>
*****************************************************************
Technical Details
Message-ID: <slrn7o4bbu.kq.aumbach@tulpe.ards.dataway.ch>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7lt7om$ong$1@pollux.ip-plus.net>

Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII
X-Google-Thread: f4b73,5b7ca0d218ed0671
X-Google-Attributes: gidf4b73,public
From: aumbach@g26.ethz.ch (Andreas Umbach)
Subject: Re: Remote Shutdown
Date: 1999/07/06
Message-ID: <slrn7o4bbu.kq.aumbach@tulpe.ards.dataway.ch>
X-Deja-AN: 497786147
Content-Transfer-Encoding: 8bit
References: <7lt7om$ong$1@pollux.ip-plus.net>
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: news@ip-plus.net
X-Trace: pollux.ip-plus.net 931278117 27270 195.216.80.33 (6 Jul 1999 16:21:57 GMT)
Organization: Swisscom IP+ (post doesn't reflect views of Swisscom)
Mime-Version: 1.0
Reply-To: aumbach@g26.ethz.ch
NNTP-Posting-Date: 6 Jul 1999 16:21:57 GMT
Newsgroups: ch.comp.os.linux