linuxhanz
30.11.04, 14:23
Hallo,
ich versuche mit einer Zeile wie
den sudo timeout auf 0 zu setzen, damit die Benutzer ihr Passwort jedes mal neu
eingeben muessen.
DIe stamps unter /var/run/sudo habe ich geloescht.
Mache ich "sudo ls" kommt allerdings keine Passwortabfrage.
% less /etc/sudoers
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#
# Host alias specification
# Cmnd alias specification
# disable sudo cache, 0 will ask for a pass the next time
Defaults timestamp_timeout=0
# User privilege specification
root ALL=(ALL) ALL
hanz ALL=(ALL) ALL
gibt es eine sudo option die overrides verhindert?
ich nutze Sudo version 1.6.6.
EDIT:
habe die Loesung sudo -V gibt aus:
Users in this group are exempt from password and PATH requirements: sudo
Und es gibt eine Gruppe sudo.
Und das schone ist, man kann den timestamp_timeout benutzerspezifisch anpassen :-)
ich versuche mit einer Zeile wie
den sudo timeout auf 0 zu setzen, damit die Benutzer ihr Passwort jedes mal neu
eingeben muessen.
DIe stamps unter /var/run/sudo habe ich geloescht.
Mache ich "sudo ls" kommt allerdings keine Passwortabfrage.
% less /etc/sudoers
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#
# Host alias specification
# Cmnd alias specification
# disable sudo cache, 0 will ask for a pass the next time
Defaults timestamp_timeout=0
# User privilege specification
root ALL=(ALL) ALL
hanz ALL=(ALL) ALL
gibt es eine sudo option die overrides verhindert?
ich nutze Sudo version 1.6.6.
EDIT:
habe die Loesung sudo -V gibt aus:
Users in this group are exempt from password and PATH requirements: sudo
Und es gibt eine Gruppe sudo.
Und das schone ist, man kann den timestamp_timeout benutzerspezifisch anpassen :-)