Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to devel-shadow grimoire by Thomas Orgis (6161d6d9a4b27fd85b61331ed2e70928fcf7af92)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jeremy Blosser <jblosser-smgl AT firinn.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to devel-shadow grimoire by Thomas Orgis (6161d6d9a4b27fd85b61331ed2e70928fcf7af92)
  • Date: Sat, 31 Mar 2007 15:37:02 -0500

On Mar 31, Thomas Orgis [thomas-forum AT orgis.org] wrote:
> Eh... you mean instead of trivially seding the config file that goes
> into $INSTALL_ROOT, I should execute useradd in FINAL to
> modify /etc/defaults/useradd ?

Yes, because shadow may change how they store that information. Their
published API for changing it is the command, we should use that.

> Somehow the idea of not touching this config file at all in the spell
> pleases me more (what if someone casted shadow, but then edited the
> config file to change HOME, updates shadow -> it will overwrite the
> edited value).

The change you committed would not overwrite it since it checks the config
file first, but that's also why I suggested only prompting/changing
anything if the file didn't already exist.

Attachment: pgpIMO62efseE.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page