From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 9 Jun 2003 02:37:31 +0400 From: Andrey Brindeew To: community@altlinux.ru Subject: Re: [Comm] Re: =?koi8-r?B?8M/EztHU2CDPwtLB?= =?koi8-r?B?1M7P?= sshd Message-ID: <20030608223731.GA18335@abr.tool.ru> Mail-Followup-To: community@altlinux.ru References: <20030608134856.GA25832@abr.tool.ru> <20030608135708.GA4083@lks.home> <20030608141057.GA27041@abr.tool.ru> <20030608145056.GA6351@lks.home> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline In-Reply-To: <20030608145056.GA6351@lks.home> Sender: community-admin@altlinux.ru Errors-To: community-admin@altlinux.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: community@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit On Sun, Jun 08, 2003 at 06:50:56PM +0400, Konstantin Lepikhov wrote: > что-нибудь вроде: > > #!/bin/sh > > sudo /sbin/shutdown -r now < > EOF > > /sbin/shutdown -r now можно заменить /sbin/service sshd start За рецепт и дополнение к нему - спасибо. Дело решилось весьма просто: === sshd.sh === #!/bin/sh echo Content-Type: text/plain echo sudo -S service sshd $QUERY_STRING <