<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Florent Thoumie &#187; grmbl</title>
	<atom:link href="http://blog.xbsd.org/tag/grmbl/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.xbsd.org</link>
	<description>Geek stuff follows</description>
	<lastBuildDate>Wed, 23 Mar 2011 12:22:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Something that&#8217;s annoying</title>
		<link>http://blog.xbsd.org/2009/05/15/something-thats-annoying</link>
		<comments>http://blog.xbsd.org/2009/05/15/something-thats-annoying#comments</comments>
		<pubDate>Fri, 15 May 2009 10:44:44 +0000</pubDate>
		<dc:creator>Florent Thoumie</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[grmbl]]></category>
		<category><![CDATA[group]]></category>
		<category><![CDATA[passwd]]></category>
		<category><![CDATA[pkgdb]]></category>

		<guid isPermaLink="false">http://blog.xbsd.org/?p=230</guid>
		<description><![CDATA[... losing your passwd/group files when you don&#8217;t have a (recent) backup. Well, it is especially annoying when you&#8217;re connected remotely and don&#8217;t have a root shell. When you have root privileges, here&#8217;s your solution: cd /var/db/pkg for i in &#8230;<p class="read-more"><a href="http://blog.xbsd.org/2009/05/15/something-thats-annoying">Read more &#187;</a></p>
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[	<p>... losing your passwd/group files when you don&#8217;t have a (recent) backup.</p>

	<p>Well, it is especially annoying when you&#8217;re connected remotely and don&#8217;t have a root shell. When you have root privileges, here&#8217;s your solution:</p>

<pre>
cd /var/db/pkg
for i in `grep useradd */+INSTALL | cut -d: -f1`; do
    env PKG_PREFIX=/usr/local/ sh $i ${i%%/*} PRE-INSTALL;
    env PKG_PREFIX=/usr/local/ sh $i ${i%%/*} POST-INSTALL;
done
</pre>

	<p>Obviously that can be done in one line, I just wrapped it to make it easier to read.</p>

	<p>You&#8217;re welcome.</p>
 <p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.xbsd.org/2009/05/15/something-thats-annoying/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Erm.</title>
		<link>http://blog.xbsd.org/2008/11/18/erm</link>
		<comments>http://blog.xbsd.org/2008/11/18/erm#comments</comments>
		<pubDate>Tue, 18 Nov 2008 14:24:55 +0000</pubDate>
		<dc:creator>Florent Thoumie</dc:creator>
				<category><![CDATA[Rant]]></category>
		<category><![CDATA[bazaar]]></category>
		<category><![CDATA[grmbl]]></category>
		<category><![CDATA[tarball]]></category>

		<guid isPermaLink="false">http://blog.xbsd.org/?p=133</guid>
		<description><![CDATA[Please provide tarballs. Nobody uses Bazaar, Monotone or Arch. Kthxbye. No related posts. Related posts brought to you by Yet Another Related Posts Plugin.
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[	<p>Please provide tarballs. Nobody uses Bazaar, Monotone or Arch.</p>

	<p>Kthxbye.</p>
 <p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.xbsd.org/2008/11/18/erm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

