vezi mai jos, la mine merge manevra cu sudo-1.6.1

On Wed, Jun 20, 2001 at 10:06:21PM +0300, Dragos Traian Georgescu wrote:
> 
> Salut
> 
> Dintr-o pagina web trebuie sa execut un script.
> Problema e ca in acel script trebuiesc executate anumite comenzi ca
> root.
> Am definit in sudoers ca userul apache poa' sa execute respectivele
> comenzi.
> 
> root    ALL=(ALL) ALL
> apache  ALL = /usr/bin/makestat

apache ALL = NOPASSWD: /usr/bin/makestat

> dragos  ALL = /usr/bin/makestat
> 
> Cu toate astea, cand dau sa execut apare eroarea:
> PAM_unix[14188]: authentication failure; (uid=0) -> apache for sudo
> service
> 
> Daca, fiind logat cu dragos dau
> sudo makestat
> 
> cere parola, dar de executat il executa ca fiind dragos nu root
> 
> Avand in vedere ca e prima oara cand pun mana pe sudo, nu dati prea tare
> cu pietre.
> Unde gresesc?
> 
> -- 
> Dragos-Traian Georgescu  <[EMAIL PROTECTED]>
> ---
> Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
> unsubscribe from this list.

-- 
        ___
       <o-o>    Viorel ANGHEL <vang AT altavista DOT net>
       [`-']    
       -"-"-    In Linux We Trust.
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui