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 <korek...@seznam.cz <mailto:korek...@seznam.cz>> 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<d...@frascone.com <mailto: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
    Emrys<myrd...@gmail.com <mailto: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, Korek<korek...@seznam.cz
    <mailto: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
    <mailto: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
    <mailto: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
    <mailto: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
    <mailto: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
    <mailto: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

Reply via email to