-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Willkommen im Club, da problem hatte ich auch. Am Mittwoch, 4. Februar 2004 13:48 schrieb Frank Streitz:
In sämtlichen manuals zu sudoers und sudo habe ich gelesen, daß man nur das Userpasswort eingeben muß, damit der Befehl funktioniert. Bei mir (SuSE 9.0) muß ich jedoch immer das root-Passwort eingeben.
Meine sudoers:
# Host alias specification # User alias specification # Cmnd alias specification # Defaults specification Defaults targetpw Hier ist der Fehler. Diese Anweisung stand nicht in der 8.2 sudoers. targetpw besagt, dass man nicht das eigene, sondern das Password des "Ziel-Benutzer" benötigt.
%users ALL=(ALL) ALL
# User privilege specification root ALL=(ALL) ALL fstreitz ALL=(ALL) /sbin/shutdown -h now fstreitz ALL=(ALL) /usr/sbin/adsl-start fstreitz ALL=(ALL) /usr/sbin/adsl-stop
Kann jemand sagen, wo hier mein Denkfehler liegt?
Gruß, Frank
MfG Thomas - -- Thomas Arend Schilfgraben 29 26389 Wilhelmshaven Tel: +49-4421-83062 http://www.t-arend.de | http://www.arend-whv.de icq:133073900 aim:tawhv - ---------------------------------------- M$ is not the answer. M$ is the question. No is the answer! Eric Naggum - ---------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.4 (GNU/Linux) iD8DBQFAIQAw2TqsmTFMxwkRAmvnAJwJJChFuiszYf/k2Z6wK32KsdOd1wCbB7e/ qICVZ7v0OegunJdb8ujXEuM= =I49v -----END PGP SIGNATURE-----