On Thu, 2020-03-05 at 19:39 +0300, Dmitry V. Levin wrote:
On Wed, Feb 19, 2020 at 03:44:51PM +0100, Tomas Mraz wrote:
> The attached patch adds a new pam_start_confdir() API call to
> address
> the issue #143. It allows setting a directory from which the
> service
> PAM configuration is to be loaded. Please review.
Hmm. Do we want to allow arbitrary non-NULL confdir argument, or
should we rather restrict it to a path starting with '/'?
I do not see a big reason for restrictions. This interface is for
special use-cases anyway.
--
Tomáš Mráz
No matter how far down the wrong road you've gone, turn back.
Turkish proverb
[You'll know whether the road is wrong if you carefully listen to your
conscience.]