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 months now.
Thank you for figuring it out and posting the link!

-Terrence

> 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 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  Veřejné  Videa
> > test@debian:~$ sudo ls
> > Dokumenty  Hudba  Obrázky  Plocha  Stažené  Šablony  Veřejné  Videa
> > test@debian:~$ fish
> > Welcome to fish, the friendly interactive shell
> > Type help for instructions on how to use fish
> > test@debian ~> sudo ls
> > [sudo] password for test: 
> > Dokumenty  Hudba  Obrázky  Plocha  Stažené  Šablony  Veřejné  Videa
> > test@debian ~> sudo ls
> > [sudo] password for test: 
> > Dokumenty  Hudba  Obrázky  Plocha  Stažené  Šablony  Veřejné  Videa
> > test@debian ~>
> > 
> > 
> > On 03/08/2011 12:55 PM, Korek wrote: 
> > > 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.php?f=141&t=67878&start=0
> > > 
> > > Z
> > > 
> > > On 03/07/2011 11:31 PM, Jan Kanis wrote: 
> > > > 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 relevant,
> > > > else try duplicating the entire environment that one shell uses
> > > > to the other when calling sudo. AFAIK these are the only real
> > > > ways in which the specific shell could influence how a command
> > > > executes. 
> > > > 
> > > > Jan
> > > > 
> > > > 
> > > > On Mon, Mar 7, 2011 at 21:38, Korek  wrote:
> > > > "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:
> > > > >> 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
> > > > 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 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/zTemp>  sudo ls
> > > >  [sudo] password for z:
> > > >  a  b
> > > >  z@pc /t/zTemp>  bash
> > > >  z@pc /tmp/zTemp $ sudo ls
> > > >  [sudo] password for z:
> > > >  a  b
> > > >  z@pc /tmp/zTemp $ sudo ls
> > > >  a  b
> > > > 
> > > >  fish, version 1.23.1
> > > > 
> > > >  Any clues?
> > > >  thx
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 

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 run from fish?

In my ubuntu karmic install, if I sudo, it creates a file with the name of
the tty in /var/run/sudo/$USER/ (use the 'tty' command to find out what your
tty is), the timestamp of that file determines if it asks for a password.
But in my case everything seems to work normally, including tty_tickets'
designed behaviour.

Jan


2011/3/8 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
>> 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 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  Veřejné  Videa
>> test@debian:~$ sudo ls
>> Dokumenty  Hudba  Obrázky  Plocha  Stažené  Šablony  Veřejné  Videa
>> test@debian:~$ fish
>> Welcome to fish, the friendly interactive shell
>> Type help for instructions on how to use fish
>> test@debian ~> sudo ls
>> [sudo] password for test:
>> Dokumenty  Hudba  Obrázky  Plocha  Stažené  Šablony  Veřejné  Videa
>> test@debian ~> sudo ls
>> [sudo] password for test:
>> Dokumenty  Hudba  Obrázky  Plocha  Stažené  Šablony  Veřejné  Videa
>> test@debian ~>
>>
>>
>> On 03/08/2011 12:55 PM, Korek wrote:
>>
>> 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.php?f=141&t=67878&start=0
>>
>> Z
>>
>> On 03/07/2011 11:31 PM, Jan Kanis wrote:
>>
>> 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 relevant, else try duplicating the entire environment that one shell
>> uses to the other when calling sudo. AFAIK these are the only real ways in
>> which the specific shell could influence how a command executes.
>>
>> Jan
>>
>>
>> On Mon, Mar 7, 2011 at 21:38, Korek  wrote:
>>
>>> "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:
>>> >> 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 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 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/zTemp>  sudo ls
>>>  [sudo] password for z:
>>>  a  b
>>>  z@pc /t/zTemp>  bash
>>>  z@pc /tmp/zTemp $ sudo ls
>>>  [sudo] password for z:
>>>  a  b
>>>  z@pc /tmp/zTemp $ sudo ls
>>>  a  b
>>> 
>>>  fish, version 1.23.1
>>> 
>>>  Any clues?
>>>  thx
>>> 
>>> 
>>> 
>>> --
>>>  What You Don't Know About Data Connectivity CAN Hurt You
>>>  This paper provides an overview of data connectivity, details
>>>  its effect on application quality, and explores various alternative
>>>  solutions. http://p.sf.net/sfu/progress-d2

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
> 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 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  Veřejné  Videa
> test@debian:~$ sudo ls
> Dokumenty  Hudba  Obrázky  Plocha  Stažené  Šablony  Veřejné  Videa
> test@debian:~$ fish
> Welcome to fish, the friendly interactive shell
> Type help for instructions on how to use fish
> test@debian ~> sudo ls
> [sudo] password for test:
> Dokumenty  Hudba  Obrázky  Plocha  Stažené  Šablony  Veřejné  Videa
> test@debian ~> sudo ls
> [sudo] password for test:
> Dokumenty  Hudba  Obrázky  Plocha  Stažené  Šablony  Veřejné  Videa
> test@debian ~>
>
>
> On 03/08/2011 12:55 PM, Korek wrote:
>
> 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.php?f=141&t=67878&start=0
>
> Z
>
> On 03/07/2011 11:31 PM, Jan Kanis wrote:
>
> 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 relevant, else try duplicating the entire environment that one shell
> uses to the other when calling sudo. AFAIK these are the only real ways in
> which the specific shell could influence how a command executes.
>
> Jan
>
>
> On Mon, Mar 7, 2011 at 21:38, Korek  wrote:
>
>> "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:
>> >> 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 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 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/zTemp>  sudo ls
>>  [sudo] password for z:
>>  a  b
>>  z@pc /t/zTemp>  bash
>>  z@pc /tmp/zTemp $ sudo ls
>>  [sudo] password for z:
>>  a  b
>>  z@pc /tmp/zTemp $ sudo ls
>>  a  b
>> 
>>  fish, version 1.23.1
>> 
>>  Any clues?
>>  thx
>> 
>> 
>> 
>> --
>>  What You Don't Know About Data Connectivity CAN Hurt You
>>  This paper provides an overview of data connectivity, details
>>  its effect on application quality, and explores various alternative
>>  solutions. http://p.sf.net/sfu/progress-d2d
>>  ___
>>  Fish-users mailing list
>>  Fish-users@lists.sourceforge.net
>>  https://lists.sourceforge.net/lists/listinfo/fish-users
>> >>>
>> >>>
>> >>>
>> --
>> >>> What You Don't Know About Data Connectivity CAN Hurt You
>> >>> This paper provides an overview of data connectivity, details
>> >>> its effect on application quality, and explores various alternative
>> >>> solutions. http://p.sf.net/sfu/progress-d2d
>> >>> ___
>> >>> Fish-users mailing list
>> >>> Fish-users@lists.sourceforge.net
>> >>> https://lists.sourceforge.net/lists/listinfo/fish-users
>> >>>
>> >>
>> >>
>> 

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 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  Veřejné  Videa
test@debian:~$ sudo ls
Dokumenty  Hudba  Obrázky  Plocha  Stažené  Šablony  Veřejné  Videa
test@debian:~$ fish
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
test@debian ~> sudo ls
[sudo] password for test:
Dokumenty  Hudba  Obrázky  Plocha  Stažené  Šablony  Veřejné  Videa
test@debian ~> sudo ls
[sudo] password for test:
Dokumenty  Hudba  Obrázky  Plocha  Stažené  Šablony  Veřejné  Videa
test@debian ~>


On 03/08/2011 12:55 PM, Korek wrote:
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.php?f=141&t=67878&start=0


Z

On 03/07/2011 11:31 PM, Jan Kanis wrote:
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 relevant, else try duplicating the 
entire environment that one shell uses to the other when calling 
sudo. AFAIK these are the only real ways in which the specific shell 
could influence how a command executes.


Jan


On Mon, Mar 7, 2011 at 21:38, Korek > wrote:


"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
Frasconemailto:d...@frascone.com>>  wrote:
>> 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
Emrysmailto:myrd...@gmail.com>>  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 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, Korekmailto:korek...@seznam.cz>>  wrote:
 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/zTemp>  sudo ls
 [sudo] password for z:
 a  b
 z@pc /t/zTemp>  bash
 z@pc /tmp/zTemp $ sudo ls
 [sudo] password for z:
 a  b
 z@pc /tmp/zTemp $ sudo ls
 a  b

 fish, version 1.23.1

 Any clues?
 thx




--
 What You Don't Know About Data Connectivity CAN Hurt You
 This paper provides an overview of data connectivity, details
 its effect on application quality, and explores various
alternative
 solutions. http://p.sf.net/sfu/progress-d2d
 ___
 Fish-users mailing list
 Fish-users@lists.sourceforge.net

 https://lists.sourceforge.net/lists/listinfo/fish-users
>>>
>>>
>>>

--
>>> What You Don't Know About Data Connectivity CAN Hurt You
>>> This paper provides an overview of data connectivity, details
>>> its effect on application quality, and explores various
alternative
>>> solutions. http://p.sf.net/sfu/progress-d2d
>>> ___
>>> Fish-users mailing list
>>> Fish-users@lists.sourceforge.net

>>> https://lists.sourceforge.net/lists/listinfo/fish-users
>>>
>>
>>

---

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  Veřejné  Videa
test@debian:~$ sudo ls
Dokumenty  Hudba  Obrázky  Plocha  Stažené  Šablony  Veřejné  Videa
test@debian:~$ fish
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
test@debian ~> sudo ls
[sudo] password for test:
Dokumenty  Hudba  Obrázky  Plocha  Stažené  Šablony  Veřejné  Videa
test@debian ~> sudo ls
[sudo] password for test:
Dokumenty  Hudba  Obrázky  Plocha  Stažené  Šablony  Veřejné  Videa
test@debian ~>


On 03/08/2011 12:55 PM, Korek wrote:
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.php?f=141&t=67878&start=0


Z

On 03/07/2011 11:31 PM, Jan Kanis wrote:
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 relevant, else try duplicating the entire 
environment that one shell uses to the other when calling sudo. AFAIK 
these are the only real ways in which the specific shell could 
influence how a command executes.


Jan


On Mon, Mar 7, 2011 at 21:38, Korek > wrote:


"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
Frasconemailto:d...@frascone.com>>  wrote:
>> 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
Emrysmailto:myrd...@gmail.com>>  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 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, Korekmailto:korek...@seznam.cz>>  wrote:
 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/zTemp>  sudo ls
 [sudo] password for z:
 a  b
 z@pc /t/zTemp>  bash
 z@pc /tmp/zTemp $ sudo ls
 [sudo] password for z:
 a  b
 z@pc /tmp/zTemp $ sudo ls
 a  b

 fish, version 1.23.1

 Any clues?
 thx




--
 What You Don't Know About Data Connectivity CAN Hurt You
 This paper provides an overview of data connectivity, details
 its effect on application quality, and explores various
alternative
 solutions. http://p.sf.net/sfu/progress-d2d
 ___
 Fish-users mailing list
 Fish-users@lists.sourceforge.net

 https://lists.sourceforge.net/lists/listinfo/fish-users
>>>
>>>
>>>

--
>>> What You Don't Know About Data Connectivity CAN Hurt You
>>> This paper provides an overview of data connectivity, details
>>> its effect on application quality, and explores various
alternative
>>> solutions. http://p.sf.net/sfu/progress-d2d
>>> ___
>>> Fish-users mailing list
>>> Fish-users@lists.sourceforge.net

>>> https://lists.sourceforge.net/lists/listinfo/fish-users
>>>
>>
>>

--
>> What You Don't Know About Data Connectivity CAN Hurt You
>> This paper provides an overview of data connectivity, details
>> its effec

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.php?f=141&t=67878&start=0


Z

On 03/07/2011 11:31 PM, Jan Kanis wrote:
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 relevant, else try duplicating the entire 
environment that one shell uses to the other when calling sudo. AFAIK 
these are the only real ways in which the specific shell could 
influence how a command executes.


Jan


On Mon, Mar 7, 2011 at 21:38, Korek > wrote:


"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 Frasconemailto:d...@frascone.com>>  wrote:
>> 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 Emrysmailto:myrd...@gmail.com>>  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 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, Korekmailto:korek...@seznam.cz>>  wrote:
 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/zTemp>  sudo ls
 [sudo] password for z:
 a  b
 z@pc /t/zTemp>  bash
 z@pc /tmp/zTemp $ sudo ls
 [sudo] password for z:
 a  b
 z@pc /tmp/zTemp $ sudo ls
 a  b

 fish, version 1.23.1

 Any clues?
 thx




--
 What You Don't Know About Data Connectivity CAN Hurt You
 This paper provides an overview of data connectivity, details
 its effect on application quality, and explores various
alternative
 solutions. http://p.sf.net/sfu/progress-d2d
 ___
 Fish-users mailing list
 Fish-users@lists.sourceforge.net

 https://lists.sourceforge.net/lists/listinfo/fish-users
>>>
>>>
>>>

--
>>> What You Don't Know About Data Connectivity CAN Hurt You
>>> This paper provides an overview of data connectivity, details
>>> its effect on application quality, and explores various
alternative
>>> solutions. http://p.sf.net/sfu/progress-d2d
>>> ___
>>> Fish-users mailing list
>>> Fish-users@lists.sourceforge.net

>>> https://lists.sourceforge.net/lists/listinfo/fish-users
>>>
>>
>>

--
>> What You Don't Know About Data Connectivity CAN Hurt You
>> This paper provides an overview of data connectivity, details
>> its effect on application quality, and explores various alternative
>> solutions. http://p.sf.net/sfu/progress-d2d
>> ___
>> Fish-users mailing list
>> Fish-users@lists.sourceforge.net

>> https://lists.sourceforge.net/lists/listinfo/fish-users
>>
>>
>

--
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d
> ___
> Fish-users mailing list
> Fish-users@lists.sourc