From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SerDw-0004Fs-Eh for garchives@archives.gentoo.org; Wed, 13 Jun 2012 17:19:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9556DE05F1; Wed, 13 Jun 2012 17:19:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1BF1CE059C for ; Wed, 13 Jun 2012 17:18:02 +0000 (UTC) Received: from pomiocik.lan (p14.ppp.polbox.pl [213.241.7.14]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 645D21B4028; Wed, 13 Jun 2012 17:18:00 +0000 (UTC) Date: Wed, 13 Jun 2012 19:19:24 +0200 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= To: gentoo-dev@lists.gentoo.org Cc: axs@gentoo.org Subject: Re: [gentoo-dev] RFC: enewuser should force updates to shell and home Message-ID: <20120613191924.6e575b57@pomiocik.lan> In-Reply-To: <4FD8B910.3090606@gentoo.org> References: <4FD8B910.3090606@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA256; boundary="Sig_/Ayiaey+aO_6lohvZn+pSJ+H"; protocol="application/pgp-signature" X-Archives-Salt: e38af50a-15aa-4efb-a2f7-7e0fe29a9ed2 X-Archives-Hash: 56c41220171954190af3872ce93c3655 --Sig_/Ayiaey+aO_6lohvZn+pSJ+H Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 13 Jun 2012 12:00:16 -0400 Ian Stakenvicius wrote: > + ### force updates of some user properties > + usermod -d "${ehome}" "${euser}" || die > + usermod -s "${eshell}" "${euser}" || die I think usermod can handle multiple arguments. --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/Ayiaey+aO_6lohvZn+pSJ+H Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iJwEAQEIAAYFAk/Yy50ACgkQfXuS5UK5QB3aeQQArHuEHhc72QgRLqHRTWlWITh0 UowrWfMyqJTEL92sWW+0SbpBC4Wbzts9Hy5z3lTaTMTlL+APeU7RmqxyO2v0jTj+ 9ULfXdkUFx2rhoCMzuwie5r39p4V/fWezFQI+g2PqlyL6EhhUzCRp1q4kEX6AQD4 asH7OUe+/JnW9wwy6os= =0+aV -----END PGP SIGNATURE----- --Sig_/Ayiaey+aO_6lohvZn+pSJ+H--