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

Flan Alflani falflani at gmail.com
Fri Nov 19 20:56:04 UTC 2010

On Fri, Nov 19, 2010 at 11:47 PM, Nicolas François
<nicolas.francois at centraliens.net> wrote:
> Hello,
> On Fri, Nov 19, 2010 at 07:16:30PM +0300, falflani at gmail.com wrote:
>> is it possible to change the location of the --sysconfdir=/etc to
>> --sysconfdir=/etc/shadow ? I did try ./configure
>> --sysconfdir=/etc/shadow and it did compile ok however i am unable to
>> login after that !
> I do not think --sysconfdir has any influence on shadow's programs.
> It might be used during "make install" to install some configuration
> files.
> It's surprising that you were no more able to login, unless you also
> removed the /etc/shadow file at the same time (or replaced it by a
> directory).
> Also the source code makes use of APIs such as getspnam, which hardcode
> the /etc/shadow file location.
> What are you trying to achieve?
> Maybe there is another way to do it.
> Best Regards,
> --
> Nekral

thx for reply my email,

well, you you correct i did move /etc/shadow file. what i am trying to
do is to keep all
the conf's files in one directory. for example all files should be in

thx again

More information about the Pkg-shadow-devel mailing list