bjunix
April 14th, 2005, 11:04 AM
Hello,
i regulary have set a root passwd at expert installation. i altered sudoers the way that i need rootpw to execute sudo commands.
now if sudo has got the root passwd it remembers it and wont ask for any password the next time i execute sudo.
what do i have to do that sudo losses its password memory?
thanks in advance.
greetings
bjunix
edit:
allright i got it by myself:
this is what my /etc/sudoers.conf looks like:
# /etc/sudoers
#
# 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
# User alias specification
User_Alias ADMIN = bjunix
# Cmnd alias specification
# Defaults
Defaults !lecture,tty_tickets,!fqdn
Defaults:ADMIN timestamp_timeout=0, rootpw, passwd_tries=1
# User privilege specification
root ALL=(ALL) ALL
ADMIN ALL=(ALL) ALL
i regulary have set a root passwd at expert installation. i altered sudoers the way that i need rootpw to execute sudo commands.
now if sudo has got the root passwd it remembers it and wont ask for any password the next time i execute sudo.
what do i have to do that sudo losses its password memory?
thanks in advance.
greetings
bjunix
edit:
allright i got it by myself:
this is what my /etc/sudoers.conf looks like:
# /etc/sudoers
#
# 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
# User alias specification
User_Alias ADMIN = bjunix
# Cmnd alias specification
# Defaults
Defaults !lecture,tty_tickets,!fqdn
Defaults:ADMIN timestamp_timeout=0, rootpw, passwd_tries=1
# User privilege specification
root ALL=(ALL) ALL
ADMIN ALL=(ALL) ALL