Hi all,

Erik Auerswald <[email protected]> writes:

> As I understand the documentation of getusershell() [1], it has a built-in
> fallback to /bin/sh and /bin/csh if /etc/shells [2] does not exist or
> is not readable.
>
> [1]: https://man7.org/linux/man-pages/man3/getusershell.3.html
> [2]: https://man7.org/linux/man-pages/man5/shells.5.html

That is correct.

> I concur that "standard shell" is a bit terse, as I would not have
> understood this to mean "usually listed in /etc/shells" either.  I intend
> to push the attached patch soon, it expands point 3 of ftpd user
> authentication to:
>
> ```
>   3. The user must have a standard shell.  If the file '/etc/shells'
>      exists and is readable, only programs listed there are considered
>      standard shells.  'ftpd' uses the C library function 'getusershell'
>      to enumerate standard shells.  Standard shells are also known as
>      valid login shells, valid user shells, or permitted user shells.
> ```

Looks good to me.

>> telenetd is in such case. This made this problem really difficult to
>> track down. Thanks you for the great software and kind regards.
>
> Yes, adding more details to the ftpd documentation should help.
>
> While I can update the Texinfo documentation, and the online documentation
> is created from this, AFAIK I cannot update the online documentation.

You can since you are in the Savannah group. It is in a CVS repository [1].

But the online documentation should be updated as part of a new release.

Thanks,
Collin

[1] https://savannah.gnu.org/cvs/?group=inetutils

  • [ftpd] docu... Benjamin Cathelineau
    • Re: [f... Erik Auerswald
      • Re... Collin Funk
        • ... Erik Auerswald
      • Re... Simon Josefsson via Bug reports for the GNU Internet utilities
        • ... Collin Funk
          • ... Simon Josefsson via Bug reports for the GNU Internet utilities
            • ... Collin Funk

Reply via email to