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> 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>
>  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>
>  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>  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.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