[Pkg-shadow-devel] ./configure --sysconfdir=/etc/shadow would not work?

Nicolas François nicolas.francois at centraliens.net
Fri Nov 19 21:16:32 UTC 2010


Hello,

On Fri, Nov 19, 2010 at 11:56:04PM +0300, falflani at gmail.com wrote:
> 
> what i am trying to
> do is to keep all
> the conf's files in one directory. for example all files should be in
> /etc/shadow.d.

$I'm not sure this would be possible.

You do not have only to change shadow for this, but also all the tools
which will try to read /etc/shadow for authentication of an user
(e.g. libc, PAM).

Even for some shadow utils related configuration files, like
/etc/login.defs, I would not recommend to move it since some other
utilities outside shadow are using it.

You may have a look at TCB, which split the shadow file in smaller files
all placed in a subfolder of /etc/ (but I'm not sure this is your intend).

-- 
Nekral



More information about the Pkg-shadow-devel mailing list