Michael schrieb:
Hallo, Sollte hier nicht das passwort des benutzers abgefragt werden? Diesen Effect habe ich wenn ich run as user = root oder all setze. Muss hier ein anderer Wert rein?
Defaults targetpw ALL ALL = (ALL) ALL benutzer ALL = (root) /usr/local/bin/nww
# User privilege specification root ALL = (ALL) ALL
man sudoers: Zitat: "targetpw If set, sudo will prompt for the password of the user specified by the -u flag (defaults to root) instead of the password of the invoking user. Note that this precludes the use of a uid not listed in the passwd database as an argument to the -u flag. This flag is off by default." Beispiel: %admin ALL=(ALL) /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/wsadmin.sh * War das ungefähr so etwas wie Du suchtest?? Ich habe bei mir "targetpw" nicht gesetzt. Gruß Axel. -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org