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: Thomas Orgis <thomas-forum AT orgis.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 22:33:47 +0200

Am Sat, 31 Mar 2007 15:20:55 -0500
schrieb Jeremy Blosser <jblosser-smgl AT firinn.org>:

> On Mar 31, Thomas Orgis [thomas-forum AT orgis.org] wrote:
> > Am Tue, 27 Mar 2007 11:23:18 -0500
> > schrieb Jeremy Blosser <jblosser-smgl AT firinn.org>:
> >
> > > > install_config_file etc/limits $INSTALL_ROOT/etc/limits
> > > > &&
> > > > install_config_file etc/login.access $INSTALL_ROOT/etc/login.access
> > > > &&
> > > > install_config_file etc/login.defs $INSTALL_ROOT/etc/login.defs
> > > > &&
> > > > -


> > > > +sed -i -e 's,^HOME=.*$,HOME='"$SHADOW_HOME"',' -e
> > > > 's,GROUP=1000,GROUP=users,' etc/useradd &&

> Look further down:
>
> Changing the default values
> When invoked with the -D option, useradd will either display the
> current default values, or update the default values from the
> command line. The valid options are
>
> -b HOME_DIR
> The initial path prefix for a new user's home directory. The
> user's name will be affixed to the end of HOME_DIR to create
> the new directory name if the -d option is not used when
> creating a new account.

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 ?
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).

> >
> > echo "install:" > etc/Makefile &&
> > echo "install:" > etc/pam.d/Makefile &&
> > install_config_file etc/useradd $INSTALL_ROOT/etc/default/useradd &&
>
> I don't have a problem with that part of the change, no.

OK, then I'll commit that to test.


Thomas.




Archive powered by MHonArc 2.6.24.

Top of Page