I use fish
as my standard shell.
And I use sudo
sometimes.
But I'm having problems with credential caching.
On an Ubuntu system, this works:
niklas@Niklas-Mobil~> sudo true
[sudo] password for niklas:
niklas@Niklas-Mobil~> sudo true
niklas@Niklas-Mobil~>
On a Debian system, this doesn't work:
niklas@ThinServer ~> sudo true
[sudo] password for niklas:
niklas@ThinServer ~> sudo true
[sudo] password for niklas:
niklas@ThinServer ~>
But on the same system as the same user with bash
:
niklas@ThinServer:~$ sudo true
[sudo] password for niklas:
niklas@ThinServer:~$ sudo true
niklas@ThinServer:~$
It works using dash
, too.
Why aren't the credentials cached when I'm using fish? (And what can I do to solve this problem?)