Re: [Fish-users] sudo vs fish - have to re-enter password

2011-10-26 Thread Jan Kanis
I've done some testing, the problem was introduced with sudo revision f9aec9ab9054, but the changes from revision 8649bf22b3b2 are needed to get sudo to build. Sources from www.sudo.ws. This is the description of the changeset: Store info from stat(2)ing the tty in the tty ticket when tty tickets

Re: [Fish-users] sudo vs fish - have to re-enter password

2011-10-25 Thread Jan Kanis
After upgrading to ubuntu 11.04, (with sudo 1.7.4) I now have this same problem. Disabling tty_tickets solves it, but that is only a workaround since that is a security feature that is disabled. On another ubuntu 10.04 install with sudo 1.7.2 this problem does not exist. On 11.04 with bash it's not

Re: [Fish-users] sudo vs fish - have to re-enter password

2011-03-08 Thread Terrence Cole
On Tue, 2011-03-08 at 14:52 +0100, Korek wrote: > tty_tickets were causing the problem! > > Turned them off. Dunno what tty_tickets are exactly for, but it works > fine now. > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598567 I had also been having that problem (on Gentoo) for a couple mont

Re: [Fish-users] sudo vs fish - have to re-enter password

2011-03-08 Thread Jan Kanis
Korek: nice work! According to 'man sudoers' tty_tickets makes sudo remember the password per tty, so if the same user sudos from different ttys, he has to enter the password on each tty. Though apparently it's not working entirely. Maybe sudo fails in figuring out under what tty it's running when

Re: [Fish-users] sudo vs fish - have to re-enter password

2011-03-08 Thread Myrddin Emrys
Excellent work Korek. I personally have no idea what tty_tickets are either. It sounds like a different way to record timestamps. On Tue, Mar 8, 2011 at 07:52, Korek wrote: > tty_tickets were causing the problem! > > Turned them off. Dunno what tty_tickets are exactly for, but it works fine > n

Re: [Fish-users] sudo vs fish - have to re-enter password

2011-03-08 Thread Korek
tty_tickets were causing the problem! Turned them off. Dunno what tty_tickets are exactly for, but it works fine now. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598567 Thx On 03/08/2011 02:41 PM, Korek wrote: Ok, a little more light into this: It does work both on LMDE and Debian Sqee

Re: [Fish-users] sudo vs fish - have to re-enter password

2011-03-08 Thread Korek
Ok, a little more light into this: It does work both on LMDE and Debian Sqeeze (fresh install) in console. It does not work under gnome. (both systems) ..now, It seems to be a serious problem. test@debian:~$ sudo ls [sudo] password for test: Dokumenty Hudba Obrázky Plocha Stažené Šablony

Re: [Fish-users] sudo vs fish - have to re-enter password

2011-03-08 Thread Korek
I'm using Linux Mint DE (based on Debian) ... tried to boot from LiveDVD - it's the same. Tried to install Debian Squeeze in Virtualbox - it works. So there's something wrong with Mint. I've posted the question into Mint forums. Just for the record: http://forums.linuxmint.com/viewtopic.p

Re: [Fish-users] sudo vs fish - have to re-enter password

2011-03-07 Thread Jan Kanis
Check that fish and bash are both actually calling the sudo command directly, i.e. that there are not any functions/aliases for sudo. If both are calling the command directly, my guess is that it must be something with environment variables. See if there are any exported ones in bash/fish that look

Re: [Fish-users] sudo vs fish - have to re-enter password

2011-03-07 Thread Korek
"z" - that's my username echo $USER z Thanks On 03/07/2011 06:45 PM, Stestagg wrote: > what is the value of the $USER environment variable in your fish shell? > > Thanks > > Steve > (ps. sorry for the initial reply, pressed wrong button) > > On Mon, Mar 7, 2011 at 5:30 PM, David Frascone wrote

Re: [Fish-users] sudo vs fish - have to re-enter password

2011-03-07 Thread Stestagg
what is the value of the $USER environment variable in your fish shell? Thanks Steve (ps. sorry for the initial reply, pressed wrong button) On Mon, Mar 7, 2011 at 5:30 PM, David Frascone wrote: > Same here -- works for me.  And, iirc, it has always worked correctly for > me. :) > Try the curre

Re: [Fish-users] sudo vs fish - have to re-enter password

2011-03-07 Thread David Frascone
Same here -- works for me. And, iirc, it has always worked correctly for me. :) Try the current version(s). -Dave On Mon, Mar 7, 2011 at 9:25 AM, Myrddin Emrys wrote: > I have to say that this has not been my experience. I am not using the > latest fish however; I'm using the default version

Re: [Fish-users] sudo vs fish - have to re-enter password

2011-03-07 Thread Myrddin Emrys
I have to say that this has not been my experience. I am not using the latest fish however; I'm using the default version in the Ubunto repository. I have had no problems using sudo; it properly remembers and uses my password timeout. On Mon, Mar 7, 2011 at 09:58, Korek wrote: > Hello, I have a

[Fish-users] sudo vs fish - have to re-enter password

2011-03-07 Thread Korek
Hello, I have a problem with sudo vs fish when I use sudo, it asks me to enter password repeatedly, even thou I have sudo timeout set to 15 minutes. sudo works correctly under bash look at the following example: z@pc /t/zTemp> ls a/ b/ z@pc /t/zTemp> sudo ls [sudo] password for z: a b z@pc /t