PDA

View Full Version : sudo timeout?



hausi
Jun 13th 2007, 06:29 PM
In Feisty I could just use sudo <cmd>. As I rigged my sudoers file I did not get asked my password. In Gutsy however the first time i use sudo I get asked my password and after a certain time this happens again. Does anybody have an idea how/where to change this?
thanks _Hans

kubicle
Jun 14th 2007, 08:58 AM
The default sudo timeout is 15 minutes, you can change this by editing /etc/sudoers and adding/editing the 'Defaults' line with 'timestamp_timeout=30' (for a 30 minute timeout).

It's also possible to modify /etc/sudoers to make sudo not to ask for a password (for some tasks or all of them), if you really want to do this after careful consideration, read 'man sudoers'

hausi
Jun 25th 2007, 06:51 AM
after a few days it is now working normally :-O