<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Unix Linux Forum - Fixunix.com</title>
		<link>http://fixunix.com/</link>
		<description>Unix Linux Windows support forum</description>
		<language>en</language>
		<lastBuildDate>Thu, 17 May 2012 10:52:53 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://fixunix.com/images/misc/rss.png</url>
			<title>Unix Linux Forum - Fixunix.com</title>
			<link>http://fixunix.com/</link>
		</image>
		<item>
			<title><![CDATA[Bashe "HERE documents " help]]></title>
			<link>http://fixunix.com/shell-scripting/588561-bashe-here-documents-help.html</link>
			<pubDate>Fri, 02 Mar 2012 01:43:10 GMT</pubDate>
			<description><![CDATA[I'm trying to enter a block of text into an existing configuration file for OpenLDAP so the setup can be fully scripted. 
 
The text below is what I...]]></description>
			<content:encoded><![CDATA[<div><!-- google_ad_section_start -->I'm trying to enter a block of text into an existing configuration file for OpenLDAP so the setup can be fully scripted.<br />
<br />
The text below is what I want to enter into slapd.conf and this all works well and good, however as you probably know this will place the text at the end of the file. What I'd like to know is how can I choose where in an existing file I want to place the text or is this beyond the scope of HERE documents?<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">cat >> slapd.conf << "EOF"<br />
access to attrs=userPassword<br />
&nbsp; &nbsp; &nbsp; &nbsp; by self write<br />
&nbsp; &nbsp; &nbsp; &nbsp; by anonymous auth<br />
&nbsp; &nbsp; &nbsp; &nbsp; by dn.base="cn=root,dc=abclott,dc=lott" write<br />
&nbsp; &nbsp; &nbsp; &nbsp; by group.base="cn=infrastructure,ou=GTECH,ou=groups,dc=abclott,dc=lott" write<br />
&nbsp; &nbsp; &nbsp; &nbsp; by dn.base="uid=ldapmgr,ou=people,dc=abclott,dc=lott" write<br />
&nbsp; &nbsp; &nbsp; &nbsp; by * none<br />
<br />
access to dn.children="ou=people,dc=abclott,dc=lott"<br />
&nbsp; &nbsp; &nbsp; &nbsp; by dn.base="cn=root,dc=abclott,dc=lott" write<br />
&nbsp; &nbsp; &nbsp; &nbsp; by dn.base="cn=bind,dc=abclott,dc=lott" read<br />
&nbsp; &nbsp; &nbsp; &nbsp; by users read<br />
&nbsp; &nbsp; &nbsp; &nbsp; by * none<br />
<br />
access to dn.children="ou=groups,dc=abclott,dc=lott"<br />
&nbsp; &nbsp; &nbsp; &nbsp; by dn.base="cn=root,dc=abclott,dc=lott" write<br />
&nbsp; &nbsp; &nbsp; &nbsp; by dn.base="cn=bind,dc=abclott,dc=lott" read<br />
&nbsp; &nbsp; &nbsp; &nbsp; by users read<br />
&nbsp; &nbsp; &nbsp; &nbsp; by * none<br />
<br />
access to dn.children="ou=servers,dc=abclott,dc=lott"<br />
&nbsp; &nbsp; &nbsp; &nbsp; by dn.base="cn=root,dc=abclott,dc=lott" write<br />
&nbsp; &nbsp; &nbsp; &nbsp; by group.base="cn=infrastructure,ou=GTECH,ou=groups,dc=abclott,dc=lott" write<br />
&nbsp; &nbsp; &nbsp; &nbsp; by dn.base="cn=bind,dc=abclott,dc=lott" read<br />
&nbsp; &nbsp; &nbsp; &nbsp; by users read<br />
&nbsp; &nbsp; &nbsp; &nbsp; by * none<br />
<br />
access to dn.subtree="ou=SUDOers,dc=abclott,dc=lott"<br />
&nbsp; &nbsp; &nbsp; &nbsp; by dn.base="cn=root,dc=abclott,dc=lott" write<br />
&nbsp; &nbsp; &nbsp; &nbsp; by dn.base="cn=bind,dc=abclott,dc=lott" read<br />
&nbsp; &nbsp; &nbsp; &nbsp; by users read<br />
&nbsp; &nbsp; &nbsp; &nbsp; by * none<br />
<br />
access to *<br />
&nbsp; &nbsp; &nbsp; &nbsp; by dn.base="cn=root,dc=abclott,dc=lott" write<br />
&nbsp; &nbsp; &nbsp; &nbsp; by dn.base="cn=bind,dc=abclott,dc=lott" search<br />
&nbsp; &nbsp; &nbsp; &nbsp; by * none<br />
EOF</code><hr />
</div> <!-- google_ad_section_end --></div>

 ]]></content:encoded>
			<category domain="http://fixunix.com/shell-scripting/">Shell Scripting</category>
			<dc:creator>woodson2</dc:creator>
			<guid isPermaLink="true">http://fixunix.com/shell-scripting/588561-bashe-here-documents-help.html</guid>
		</item>
		<item>
			<title>ALLOW_VULNERABLE_PACKEGES for DragonFlyBSD</title>
			<link>http://fixunix.com/bsd/588557-allow_vulnerable_packeges-dragonflybsd.html</link>
			<pubDate>Wed, 29 Feb 2012 20:32:14 GMT</pubDate>
			<description><![CDATA[I am using DragonFlyBSD & I was wondering if there is a file or make.file that allows to set ALLOW_VULNERABLE_PACKEGES=yes ,as I get an error trying...]]></description>
			<content:encoded><![CDATA[<div><!-- google_ad_section_start -->I am using DragonFlyBSD &amp; I was wondering if there is a file or make.file that allows to set ALLOW_VULNERABLE_PACKEGES=yes ,as I get an error trying to install a kde3 pkg that says I need this set so it will install.<br />
Thanks<!-- google_ad_section_end --></div>

 ]]></content:encoded>
			<category domain="http://fixunix.com/bsd/">BSD</category>
			<dc:creator>Browser</dc:creator>
			<guid isPermaLink="true">http://fixunix.com/bsd/588557-allow_vulnerable_packeges-dragonflybsd.html</guid>
		</item>
		<item>
			<title>How to prevent multiple instance of running program /using c program/using shell scri</title>
			<link>http://fixunix.com/unix/588556-how-prevent-multiple-instance-running-program-using-c-program-using-shell-scri.html</link>
			<pubDate>Wed, 29 Feb 2012 07:55:27 GMT</pubDate>
			<description>I want to prevent more than one instance of running application.</description>
			<content:encoded><![CDATA[<div><!-- google_ad_section_start -->I want to prevent more than one instance of running application.<!-- google_ad_section_end --></div>

 ]]></content:encoded>
			<category domain="http://fixunix.com/unix/">Unix</category>
			<dc:creator>kgaurav8</dc:creator>
			<guid isPermaLink="true">http://fixunix.com/unix/588556-how-prevent-multiple-instance-running-program-using-c-program-using-shell-scri.html</guid>
		</item>
	</channel>
</rss>

