[Bug 1494] doesn't look on path for $SHELL

2017-06-26 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=1494

--- Comment #7 from Vincent Lefevre  ---
(In reply to Damien Miller from comment #2)
> My copy of Single Unix Specification states:
> 
> > SHELL
> > This variable shall represent a pathname of the user's
> > preferred command language interpreter. [...]
> 
> Its definition of "pathname":
> 
> > A character string that is used to identify a file. 
> > [...]
> > Note:
> > Pathname Resolution is defined in detail in _Pathname Resolution_.
> 
> I'd say that a non-absolute pathname for $SHELL clearly does not
> "identify a file" unless one happens to be in the same directory as
> the shell itself and the "Pathname Resolution" section doesn't
> specify that pathnames be resolved using $PATH.

There would be the same issue with $EDITOR, while POSIX also says
"pathname" for EDITOR and gives an example with EDITOR=vi (i.e. not an
absolute pathname).

According to a mail in the Austin Group mailing-list, the valid values
for $SHELL should be documented by the platform. For Debian, I've
reported:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866060

(bug against the manpages package, which provides the environ(7) man
page).

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


[Bug 1494] doesn't look on path for $SHELL

2011-01-23 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=1494

Damien Miller d...@mindrot.org changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

--- Comment #6 from Damien Miller d...@mindrot.org 2011-01-24 12:34:05 EST ---
Move resolved bugs to CLOSED after 5.7 release

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs


[Bug 1494] doesn't look on path for $SHELL

2010-04-25 Thread bugzilla-daemon
https://bugzilla.mindrot.org/show_bug.cgi?id=1494

Damien Miller d...@mindrot.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX

--- Comment #4 from Damien Miller d...@mindrot.org  ---
WONTFIX - I don't accept that logic (you wouldn't specify zsh as your
shell in /etc/passwd without a path). Furthermore, I don't think it is
too hard to specify a path when a user overrides $SHELL.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
___
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs