[Linux-disciples] Re: Roll your own 'addgroup'

Stephen R Laniel steve at laniels.org
Mon Apr 24 09:23:07 EDT 2006


On Mon, Apr 24, 2006 at 08:59:35AM -0400, Stephen R Laniel wrote:
> sudo usermod -G `groups |sed 's/ /,/g'`,groupname username

Sorry, that should have been

sudo usermod -G `groups username |sed 's/ /,/g'`,groupname username

-- 
Stephen R. Laniel
steve at laniels.org
Cell: +(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20060424/9a23eb42/attachment.pgp


More information about the Linux-disciples mailing list