diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2009-03-16 15:21:21 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2009-03-16 15:21:21 +0000 |
commit | cb55f13f9e969683651fc4bf47d7930f361443d0 (patch) | |
tree | 11f493e02cc7a6fe36a88a3dbd15a62122e3675b /net-misc | |
parent | Dropped old. (diff) | |
download | gentoo-2-cb55f13f9e969683651fc4bf47d7930f361443d0.tar.gz gentoo-2-cb55f13f9e969683651fc4bf47d7930f361443d0.tar.bz2 gentoo-2-cb55f13f9e969683651fc4bf47d7930f361443d0.zip |
Append utmp group to nx user, instead of resetting the additional groups (usermod -a option). Thanks Alexander Bezrukov <phmagic@mail.ru> in bug #262481
(Portage version: 2.2_rc25/cvs/Linux x86_64)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/nxserver-freenx/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p102.ebuild | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/net-misc/nxserver-freenx/ChangeLog b/net-misc/nxserver-freenx/ChangeLog index 175113acf462..691a54c6b922 100644 --- a/net-misc/nxserver-freenx/ChangeLog +++ b/net-misc/nxserver-freenx/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/nxserver-freenx # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/ChangeLog,v 1.59 2009/03/12 19:08:23 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/ChangeLog,v 1.60 2009/03/16 15:21:21 voyageur Exp $ + + 16 Mar 2009; Bernard Cafarelli <voyageur@gentoo.org> + nxserver-freenx-0.7.3_p102.ebuild: + Append utmp group to nx user, instead of resetting the additional groups + (usermod -a option). Thanks Alexander Bezrukov <phmagic@mail.ru> in bug + #262481 *nxserver-freenx-0.7.3_p102 (12 Mar 2009) diff --git a/net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p102.ebuild b/net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p102.ebuild index 491f8df3f10c..f31e24f7163d 100644 --- a/net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p102.ebuild +++ b/net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p102.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p102.ebuild,v 1.1 2009/03/12 19:08:23 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/nxserver-freenx-0.7.3_p102.ebuild,v 1.2 2009/03/16 15:21:21 voyageur Exp $ EAPI=1 @@ -117,7 +117,7 @@ pkg_postinst () { if [[ ${ROOT} == "/" ]]; then usermod -s /usr/bin/nxserver nx || die "Unable to set login shell of nx user!!" usermod -d ${NX_HOME_DIR} nx || die "Unable to set home directory of nx user!!" - usermod -G utmp nx || die "Unable to add nx user to utmp group!!" + usermod -a -G utmp nx || die "Unable to add nx user to utmp group!!" else elog "If you had another NX server installed before, please make sure" elog "the nx user account is correctly set to:" |