From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 01 Mar 2006 15:08:42 +0300 From: =?koi8-r?B?98zBxMnNydIg59XTxdc=?= To: "ALT Linux Community" Subject: Re: =?koi8-r?B?W0NvbW1dIEFMVCBMaW51eCAyLjQgTWFzdGVyIC0+INDP3tTJIExpdmUgQ0Q=?= References: <200602281800.37517.karelin-ap@mail.ru> <44052F4B.9090304@yandex.ru> <200603011329.02834.karelin-ap@mail.ru> <44057E79.70404@yandex.ru> Content-Type: text/plain; format=flowed; delsp=yes; charset=koi8-r MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <44057E79.70404@yandex.ru> User-Agent: Opera M2/8.51 (Linux, build 1462) X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.6 Precedence: list Reply-To: ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Mar 2006 12:08:45 -0000 Archived-At: List-Archive: List-Post: >>> 5. не заходить рутом :) >> Но юзеру не дают сделать halt. А мне нужно. > Настроить sudo. [root@vova root]# cat /etc/sudoers # sudoers file. # # This file MUST be edited with the 'visudo' command as root. # # See the sudoers man page for the details on how to write a sudoers file. # # Host alias specification # User alias specification # Cmnd alias specification # Defaults specification # User privilege specification #root ALL=(ALL) ALL ALL ALL=NOPASSWD:/sbin/poweroff,/sbin/reboot -- С уважением, Владимир Гусев