<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Add a user to the admin group via command line</title>
	<atom:link href="http://managingosx.wordpress.com/2006/09/14/add-a-user-to-the-admin-group-via-command-line/feed/" rel="self" type="application/rss+xml" />
	<link>http://managingosx.wordpress.com/2006/09/14/add-a-user-to-the-admin-group-via-command-line/</link>
	<description>Trials and Tribulations of an OS X Administrator</description>
	<lastBuildDate>Thu, 24 Dec 2009 15:11:20 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: OSX Commandline User/Group &#171; Gareth R. White</title>
		<link>http://managingosx.wordpress.com/2006/09/14/add-a-user-to-the-admin-group-via-command-line/#comment-9725</link>
		<dc:creator>OSX Commandline User/Group &#171; Gareth R. White</dc:creator>
		<pubDate>Thu, 11 Dec 2008 16:52:50 +0000</pubDate>
		<guid isPermaLink="false">http://managingosx.wordpress.com/2006/09/14/add-a-user-to-the-admin-group-via-command-line/#comment-9725</guid>
		<description>[...] Add a user to the admin group via command line [...]</description>
		<content:encoded><![CDATA[<p>[...] Add a user to the admin group via command line [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anna</title>
		<link>http://managingosx.wordpress.com/2006/09/14/add-a-user-to-the-admin-group-via-command-line/#comment-8318</link>
		<dc:creator>anna</dc:creator>
		<pubDate>Wed, 14 Nov 2007 22:50:16 +0000</pubDate>
		<guid isPermaLink="false">http://managingosx.wordpress.com/2006/09/14/add-a-user-to-the-admin-group-via-command-line/#comment-8318</guid>
		<description>This has a good explanation of how dscl replaces niutil with very clear examples http://osxdaily.com/2007/10/29/how-to-add-a-user-from-the-os-x-command-line-works-with-leopard/</description>
		<content:encoded><![CDATA[<p>This has a good explanation of how dscl replaces niutil with very clear examples <a href="http://osxdaily.com/2007/10/29/how-to-add-a-user-from-the-os-x-command-line-works-with-leopard/" rel="nofollow">http://osxdaily.com/2007/10/29/how-to-add-a-user-from-the-os-x-command-line-works-with-leopard/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DennisU</title>
		<link>http://managingosx.wordpress.com/2006/09/14/add-a-user-to-the-admin-group-via-command-line/#comment-6661</link>
		<dc:creator>DennisU</dc:creator>
		<pubDate>Mon, 10 Sep 2007 18:15:54 +0000</pubDate>
		<guid isPermaLink="false">http://managingosx.wordpress.com/2006/09/14/add-a-user-to-the-admin-group-via-command-line/#comment-6661</guid>
		<description>Great command for automating tasks.</description>
		<content:encoded><![CDATA[<p>Great command for automating tasks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GregN</title>
		<link>http://managingosx.wordpress.com/2006/09/14/add-a-user-to-the-admin-group-via-command-line/#comment-244</link>
		<dc:creator>GregN</dc:creator>
		<pubDate>Fri, 15 Sep 2006 20:09:09 +0000</pubDate>
		<guid isPermaLink="false">http://managingosx.wordpress.com/2006/09/14/add-a-user-to-the-admin-group-via-command-line/#comment-244</guid>
		<description>Thanks.  I&#039;ll post the dscl equivalents in a future post.</description>
		<content:encoded><![CDATA[<p>Thanks.  I&#8217;ll post the dscl equivalents in a future post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: systemsboy</title>
		<link>http://managingosx.wordpress.com/2006/09/14/add-a-user-to-the-admin-group-via-command-line/#comment-243</link>
		<dc:creator>systemsboy</dc:creator>
		<pubDate>Fri, 15 Sep 2006 17:31:16 +0000</pubDate>
		<guid isPermaLink="false">http://managingosx.wordpress.com/2006/09/14/add-a-user-to-the-admin-group-via-command-line/#comment-243</guid>
		<description>Hey,

To do this with dscl would look something like the following:

sudo dscl -p / -append /Groups/admin users gneagle

The dscl command is nice because it will also work for editing LDAP/OD information. The man page is a bit messy, though, and I&#039;ve found it necessary to modify some of the syntax listed there in order to get things working properly, so be warned. Still, I&#039;ve kept notes on this, and have been using dscl for most directory operations for a while now. Happy to share my findings if you&#039;re ever interested. Just drop me a line.

-systemsboy</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>To do this with dscl would look something like the following:</p>
<p>sudo dscl -p / -append /Groups/admin users gneagle</p>
<p>The dscl command is nice because it will also work for editing LDAP/OD information. The man page is a bit messy, though, and I&#8217;ve found it necessary to modify some of the syntax listed there in order to get things working properly, so be warned. Still, I&#8217;ve kept notes on this, and have been using dscl for most directory operations for a while now. Happy to share my findings if you&#8217;re ever interested. Just drop me a line.</p>
<p>-systemsboy</p>
]]></content:encoded>
	</item>
</channel>
</rss>
