Scriptproblem

Cord Beermann cord at lug-owl.de
Tue Aug 27 14:21:02 CEST 2002


Hallo! (Michael Ring) hat geschrieben:

> Er versucht also ein passwort zu bekommen. OK. Aber warum taucht das nicht
> in apache/error.log auf?
> Und man sudo sagt:
>  -S  The -S (stdin) option causes sudo to read the password
>            from standard input instead of the terminal device.
> Also müsse ich doch mit -S xxx (wenn xxx das Passwort ist) das Script
> starten können.
> Oder hab ich was wichtiges übersehen?

ich wuerde sowas sowieso mit einem NOPASSWD in der sudoers loesen.

(oder dem www-User entsprechende Rechte fuer den pppd geben... bei
debian: der Gruppe dip und dialout hinzufuegen. (iirc))

Cord

-- 
Temperaturkurve: http://dexter.mediaways.net/mrtg/temp.html
		http://opa.mediaways.net/t.html
aktuelle Temperatur im Buero: 30.56C
aktuelle Aussentemperatur: 26.74C



More information about the Linux mailing list