From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Comment: RFC 2476 MSA function at smtp2.yandex.ru logged sender identity as: arhangelnight X-AntiVirus: Checked by Dr.Web [version: 4.33, engine: 4.33.5.10110, virus records: 184637, updated: 22.03.2007] Message-ID: <46664E80.2010002@yandex.ru> Date: Wed, 06 Jun 2007 10:04:48 +0400 From: Dmitrii Philippov User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: ALT Linux Sisyphus discussion list References: <20070605211848.GE5563@osdn.org.ua> In-Reply-To: Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Subject: Re: [sisyphus] sudo: must be run from a terminal X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2007 06:04:33 -0000 Archived-At: List-Archive: List-Post: Andrey Khavryuchenko пишет: > DVL> On Wed, Jun 06, 2007 at 12:18:48AM +0300, Michael Shigorin wrote: > >> On Tue, Jun 05, 2007 at 11:06:00PM +0300, Andrey Khavryuchenko wrote: > >> > Что я делаю не так? > >> > >> http://lists.altlinux.org/pipermail/devel/2007-May/046284.html > >> http://lists.altlinux.org/pipermail/devel/2007-May/046296.html > >> http://lists.altlinux.org/pipermail/devel/2007-May/046332.html > > DVL> http://lists.altlinux.org/pipermail/devel/2007-May/046286.html > > Почитал. Покурил ман. Покрутил ручки. Опять почитал. Не работает: > > akhavr@djangofeed ~ $ sudo ls > sudo: must be run from a terminal > akhavr@djangofeed ~ $ su - > Password: > [root@djangofeed ~]# 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 > #Defaults env_keep += "DISPLAY" > Defaults !tty_tickets > Defaults !requiretty > Defaults !env_reset > > # User privilege specification > akhavr ALL=(ALL) ALL > > Что до меня не доходит? > > Вот так: # sudoers file. # akhavr ALL = NOPASSWD: ALL