I’ve been meaning to look into this bug for quite a while as it has affected me also. It doesn’t appear to be a problem with any shell -- fish or otherwise.
What I’ve found is that when tty_tickets is enabled, and the tty device is under devpts, sudo includes the tty’s ctime as part of the ticket information that is compared on each invocation. The problem is that the ctime changes when certain program -- such as vi -- are run. I would suggest that the inclusion of the tty’s ctime be avoided in all tickets; see check_user() near check.c:114-115. -- Rob Leslie r...@mars.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org