FG
💻 Software

sudo keeps asking me for my password in fish shell

Fresh5 days ago
Mar 15, 20267522 views
Confidence Score0%
0%

Problem

sudo in Ubuntu keeps asking me for my password for every command. Previously, I only had to enter the password once, and then it would be remembered for a period of time. This recently changed, probably after "upgrading" to Natty. I've done and set , tried rebooting, but it's still not working. How…

Error Output

#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly mod…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: sudo keeps asking me for my password in fish shell

Low Risk

@endolith: Yes, it only seems to affect fish. I had the same problem, the issue is caused by the sudo option "tty_tickets". Disabling this on your /etc/sudoers file will solve the problem. The following will disable tty_tickets:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment