Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Ian Stakenvicius <axs@g.o>
Subject: Re: RFC: enewuser should force updates to shell and home
Date: Wed, 13 Jun 2012 13:21:16 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 13/06/12 01:19 PM, Michał Górny wrote:
> On Wed, 13 Jun 2012 12:00:16 -0400 Ian Stakenvicius 
> <axs@g.o> wrote:
> 
>> +               ### force updates of some user properties + 
>> usermod -d "${ehome}" "${euser}" || die +               usermod 
>> -s "${eshell}" "${euser}" || die
> 
> I think usermod can handle multiple arguments.
> 

It can, but I figured it would be easier to debug if something failed,
if each modification was on the same line.  Easy to modify it to be a
one-liner, however (and iirc all but possibly dscl can do this in a
single call)


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iF4EAREIAAYFAk/YzAsACgkQ2ugaI38ACPAz/AD8DI/5ZynrT/+0rDrgNGPM06l9
dUk/4JSiXKZuxxn7H4oBAL4eHwrPQXXrJWfYDY61QorFqhmVkl5oJdxS4is5WkQQ
=YoDC
-----END PGP SIGNATURE-----


References:
RFC: enewuser should force updates to shell and home
-- Ian Stakenvicius
Re: RFC: enewuser should force updates to shell and home
-- Michał Górny
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: RFC: enewuser should force updates to shell and home
Next by thread:
Re: RFC: enewuser should force updates to shell and home
Previous by date:
Re: RFC: enewuser should force updates to shell and home
Next by date:
Re: RFC: enewuser should force updates to shell and home


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.