<?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>Tracy Phillips &#187; Linux</title>
	<atom:link href="http://tracyphillips.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://tracyphillips.com</link>
	<description></description>
	<lastBuildDate>Tue, 27 Oct 2009 14:12:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>CentOS sudo error audit_log_user_command(): Connection refused</title>
		<link>http://tracyphillips.com/2009/01/24/centos-sudo-error-audit_log_user_command-connection-refused-2/</link>
		<comments>http://tracyphillips.com/2009/01/24/centos-sudo-error-audit_log_user_command-connection-refused-2/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 18:02:52 +0000</pubDate>
		<dc:creator>tracphil</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[sudo]]></category>

		<guid isPermaLink="false">http://www.tracyphillips.com/?p=84</guid>
		<description><![CDATA[While in a CentOS OpenVZ virtual machine the other day, I had setup sudo to root and encountered the following message: [server][user][~]$ sudo su - Password: audit_log_user_command(): Connection refused No harm in that, but it was unpleasant to look at none the less. It finally got the better of me and I finally decided to [...]]]></description>
			<content:encoded><![CDATA[<p>While in a CentOS OpenVZ virtual machine the other day, I had setup sudo to root and encountered the following message:</p>
<pre>[server][user][~]$ sudo su -
Password:
audit_log_user_command(): Connection refused</pre>
<p>No harm in that, but it was unpleasant to look at none the less.</p>
<p>It finally got the better of me and I finally decided to go about fixing it.</p>
<p>This bug is in Redhat’s bugzilla located <a href="https://bugzilla.redhat.com/show_bug.cgi?id=401201" target="_blank">here</a>. The fix is to patch your current version of sudo or use a newer version of sudo than <code>sudo-1.6.9.p13</code>. I opted to install the latest version of sudo as of t his writing, sudo 1.7.</p>
<p>This was a fresh install, so I needed to install a few rpm’s with yum.</p>
<pre>[server][root][~]# yum install gcc pam-devel make</pre>
<p>Then I did the build</p>
<pre>[server][root][~]# wget http://www.gratisoft.us/sudo/dist/sudo-1.7.0.tar.gz
[server][root][~]# tar xzvf sudo-1.7.0.tar.gz
[server][root][~]# cd sudo-1.7.0
[server][root][~]# ./configure
[server][root][~]# make
[server][root][~]# make install</pre>
<p>That's all there was to it. Now you can sudo til’ your hearts content without that annoying little message.
<p>Now I can finally get ready for the <a href="http://www.nfl.com/superbowl/43">Super Bowl</a> party</p>
]]></content:encoded>
			<wfw:commentRss>http://tracyphillips.com/2009/01/24/centos-sudo-error-audit_log_user_command-connection-refused-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>nfslock: rpc.statd startup failed</title>
		<link>http://tracyphillips.com/2009/01/23/nfslock-rpc-statd-startup-failed-2/</link>
		<comments>http://tracyphillips.com/2009/01/23/nfslock-rpc-statd-startup-failed-2/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 17:55:41 +0000</pubDate>
		<dc:creator>tracphil</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[nfslock]]></category>
		<category><![CDATA[portmap]]></category>

		<guid isPermaLink="false">http://www.tracyphillips.com/?p=82</guid>
		<description><![CDATA[Have you ever seen this in your logs: 10:55:18 [server] nfslock: rpc.statd startup failed If you have, you might want to check and make sure that you have portmap running [server][root][~]# service portmap status portmap is stopped Oppps. Portmap is not running. Let's check and see if portmap is configured to start at boot? [server][root][~]# [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever seen this in your logs:</p>
<pre>10:55:18 [server] nfslock: rpc.statd startup failed</pre>
<p>If you have, you might want to check and make sure that you have portmap running</p>
<pre>[server][root][~]# service portmap status
portmap is stopped</pre>
<p>Oppps. Portmap is not running. Let's check and see if portmap is configured to start at boot?</p>
<pre>[server][root][~]# chkconfig --list portmap
portmap        	0:off	1:off	2:off	3:off	4:off	5:off	6:off</pre>
<p>And if it’s not (as is our case), configure it to start at boot:</p>
<pre>[server][root][~]# chkconfig portmap on</pre>
<p>Ahhhhh, thats more like it. This is how it should look:</p>
<pre>[server][root][~]# chkconfig --list portmap
portmap         0:off   1:off   2:on    3:on    4:on    5:on    6:off</code></pre>
<p>And crank it up</p>
<pre>[server][root][~]# service portmap start
Starting portmap:                                          [  OK  ]</pre>
<p>Now you can make sure it is running</p>
<pre>[server][root][~]# service portmap status
portmap (pid 15384) is running...</pre>
]]></content:encoded>
			<wfw:commentRss>http://tracyphillips.com/2009/01/23/nfslock-rpc-statd-startup-failed-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Recording shell session from login to exit</title>
		<link>http://tracyphillips.com/2009/01/22/recording-shell-session-from-login-to-exit-2/</link>
		<comments>http://tracyphillips.com/2009/01/22/recording-shell-session-from-login-to-exit-2/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 17:23:10 +0000</pubDate>
		<dc:creator>tracphil</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell script]]></category>

		<guid isPermaLink="false">http://www.tracyphillips.com/?p=77</guid>
		<description><![CDATA[Just the other day I was moving /home out of the / partition and in doing so I wanted to record all of the actions and output so that I could save them for later user… or to blog about ;) There are a couple of ways to go about saving all of that output. [...]]]></description>
			<content:encoded><![CDATA[<p>Just the other day I was moving <code>/home</code> out of the <code>/</code> partition and in doing so I wanted to record all of the actions and output so that I could save them for later user… or to blog about ;)</p>
<p>There are a couple of ways to go about saving all of that output.</p>
<p>The easiest way is to do this is to run the <code>script</code> command</p>
<pre>[server][root][~]# script</pre>
<p>By default, this creates the output as typescript</p>
<p>If you wanted to change the name of the output file, you would invoke it as</p>
<pre>[server][root][~]# script output.txt</pre>
<p>or any other file of your choosing.</p>
<p>That starts a recording session that will record what goes on during your terminal session.</p>
<p>If you want to record users shell session from login to exit</p>
<p>In the user’s <code>.bash_profile</code>, put something like</p>
<pre>exec /path/to/ttyrec session-log-$(date +%Y%m%d-%H%M)</pre>
<p>That will create a log file in the form of <code>session-log-YYYYMMDD-HHMM</code></p>
<p>Pretty nifty stuff.</p>
]]></content:encoded>
			<wfw:commentRss>http://tracyphillips.com/2009/01/22/recording-shell-session-from-login-to-exit-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exclude list of devices from LVM2</title>
		<link>http://tracyphillips.com/2009/01/22/exclude-list-of-devices-from-lvm2-2/</link>
		<comments>http://tracyphillips.com/2009/01/22/exclude-list-of-devices-from-lvm2-2/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 17:18:03 +0000</pubDate>
		<dc:creator>tracphil</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[lvm]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://www.tracyphillips.com/?p=73</guid>
		<description><![CDATA[On Red Hat Enterprise Linux 4 and Red Hat Enterprise Linux 5, LVM2 can be configured via the /etc/lvm/lvm.conf file to exclude devices that the volume manager is not allowed to access. To exclude a list of devices, use the filter keyword to specify a list of accessible devices. An example of the filter keyword [...]]]></description>
			<content:encoded><![CDATA[<p>On Red Hat Enterprise Linux 4 and Red Hat Enterprise Linux 5, LVM2 can be configured via the /etc/lvm/lvm.conf file to exclude devices that the volume manager is not allowed to access. To exclude a list of devices, use the <strong>filter</strong> keyword to specify a list of accessible devices.</p>
<p>An example of the filter keyword is shown below:</p>
<pre>[server][root][~]# grep filter /etc/lvm/lvm.conf
filter =[ "a|loop|", "r|/dev/hdc|", "a|/dev/ide|", "r|.*|" ]</pre>
<p>Pattern matching is based on the following logic:</p>
<ul>
<li>If any name matches any ‘a’ pattern, the device is accepted</li>
<li>Otherwise if any name matches any ‘r’ pattern it is rejected</li>
<li>Otherwise it is accepted.</li>
</ul>
<p><strong>NOTE:</strong> Be sure to only specify one filter line in <code>/etc/lvm/lvm.conf</code> since only one filter pattern is expected.</p>
<p>After changes are made to the lvm configuration file, it will be necessary to run the command <code>vgscan</code> in order for the changes to become active. Shown below is an example of running vgscan in extended debug output mode to activate the changes in the configuration file.</p>
<pre>[server][root][~]# vgscan -vvvv</pre>
]]></content:encoded>
			<wfw:commentRss>http://tracyphillips.com/2009/01/22/exclude-list-of-devices-from-lvm2-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sendmail: auxpropfunc error no mechanism available</title>
		<link>http://tracyphillips.com/2009/01/20/sendmail-auxpropfunc-error-no-mechanism-available-2/</link>
		<comments>http://tracyphillips.com/2009/01/20/sendmail-auxpropfunc-error-no-mechanism-available-2/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 17:14:09 +0000</pubDate>
		<dc:creator>tracphil</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[sendmail]]></category>

		<guid isPermaLink="false">http://www.tracyphillips.com/?p=71</guid>
		<description><![CDATA[Have you been getting the following error in your log files? Jan 7 14:10:30 [server] sendmail[2822]: sql_select option missing Jan 7 14:10:30 [server] sendmail[2822]: auxpropfunc error no mechanism available Jan 7 14:10:30 [server] sendmail: sendmail startup succeeded Jan 7 14:10:30 [server] sendmail: sm-client startup succeeded The reason is that if the plug-in is installed, SASL [...]]]></description>
			<content:encoded><![CDATA[<p>Have you been getting the following error in your log files?</p>
<pre>Jan  7 14:10:30 [server] sendmail[2822]: sql_select option missing
Jan  7 14:10:30 [server] sendmail[2822]: auxpropfunc error no mechanism available
Jan  7 14:10:30 [server] sendmail: sendmail startup succeeded
Jan  7 14:10:30 [server] sendmail: sm-client startup succeeded</pre>
<p>The reason is that if the plug-in is installed, SASL tries to load and initialize all plug-ins that it finds. When the SQL plug-in is initialized, it needs a valid sql_engine (which defaults to ‘mysql’) and sql_select options.</p>
<p>So what is the solution? If you do not need the cyrus-sasl-sql rpm, then you can remove it like so:</p>
<pre>[server][root][~]# rpm -e cyrus-sasl-sql</pre>
<p>You could also do the following instead:</p>
<pre>[server][root][~]# rm /usr/lib/sasl2/libsql.*</pre>
]]></content:encoded>
			<wfw:commentRss>http://tracyphillips.com/2009/01/20/sendmail-auxpropfunc-error-no-mechanism-available-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sshd: error: Bind to port 22 on 0.0.0.0 failed: Address already in use</title>
		<link>http://tracyphillips.com/2008/12/16/sshd-error-bind-to-port-22-on-0-0-0-0-failed-address-already-in-use-2/</link>
		<comments>http://tracyphillips.com/2008/12/16/sshd-error-bind-to-port-22-on-0-0-0-0-failed-address-already-in-use-2/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 16:54:00 +0000</pubDate>
		<dc:creator>tracphil</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[sshd]]></category>

		<guid isPermaLink="false">http://www.tracyphillips.com/?p=62</guid>
		<description><![CDATA[Have you ever been sifting through your log files, and seen this little jewel: Now are we listing on port 22 or not? I know I am logged in via ssh right now, so I know sshd is working correctly. Lets do a little investigation shall we? Lets see what is listing on port 22. [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever been sifting through your log files, and seen this little jewel:</p>
<p>Now are we listing on port 22 or not? I know I am logged in via ssh right now, so I know sshd is working correctly. Lets do a little investigation shall we? Lets see what is listing on port 22.</p>
<pre>[server][root][~]# netstat -an | grep 22
tcp        0      0 :::22                      :::*                        LISTEN

[server][root][~]# lsof -i | grep 22
sshd        3449     root    3u  IPv6   7505       TCP *:22 (LISTEN)</pre>
<p>Ahhhh HA! Just as I suspected, IPv6 is listening on port 22 so IPv4 can’t listen on port 22. Whew. I thought there might be something really serious going on.</p>
</p>
<p>Open up <code>/etc/ssh/sshd_config</code> in your favorite text editor and slap this snippet (or uncomment it if it is already there) into it.</p>
<pre>ListenAddress 0.0.0.0</pre>
<p>If you have this in your <code>sshd_config</code>, make sure that it is commented like so, by putting a hash (#) in front of it.</p>
<pre>#ListenAddress ::</pre>
</p>
<p>That should do it… restart sshd and that should take care of that little error… errrrr I mean jewel :-)</p>
<p>You can also disable IPv6 instead, but that's taking things a little bit far if you ask me.</p>
<pre>echo "alias net-pf-10 off" &gt;&gt; /etc/modprobe.conf</pre>
<p>If you do disable IPv6, don’t forget to restart your server.</p>
]]></content:encoded>
			<wfw:commentRss>http://tracyphillips.com/2008/12/16/sshd-error-bind-to-port-22-on-0-0-0-0-failed-address-already-in-use-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SCALE 7x - Southern California Linux Expo</title>
		<link>http://tracyphillips.com/2008/12/07/scale-7x-southern-california-linux-expo-2/</link>
		<comments>http://tracyphillips.com/2008/12/07/scale-7x-southern-california-linux-expo-2/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 16:52:13 +0000</pubDate>
		<dc:creator>tracphil</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.tracyphillips.com/?p=59</guid>
		<description><![CDATA[Scale 7.x will be February 20th - 22nd, 2009 at the Westin LAX Hotel and tickets are on sale now. SCALE will co-op with LOPSA to make Linux training available at the Linux Expo. SCALE University will again convene at SCALE 7x! Register early, demand will be high for the classes: Introduction to Virtualized Storage [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://scale7x.socallinuxexpo.org/" target="_blank">Scale 7.x</a> will be February 20th - 22nd, 2009 at the <a href="http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=5400+West+Century+Boulevard,+los+angeles+ca&amp;sll=37.0625,-95.677068&amp;sspn=93.619094,111.269531&amp;ie=UTF8&amp;ll=33.955962,-118.370819&amp;spn=0.051971,0.07699&amp;z=14&amp;g=5400+West+Century+Boulevard,+los+angeles+ca&amp;iwloc=addr" target="_blank">Westin LAX Hotel</a> and tickets are <a href="https://socallinuxexpo.org/reg7/" target="_blank">on sale now</a>.</p>
<p>SCALE will co-op with LOPSA to make Linux training available at the Linux Expo. <a href="http://scale7x.socallinuxexpo.org/conference-info/the-socal-linux-expo-reprises-scale-university" target="_blank">SCALE University</a> will again convene at SCALE 7x!</p>
<p>Register early, demand will be high for the classes:</p>
<ul>
<li>Introduction to Virtualized Storage</li>
<li>Disaster Recovery: Will you survive?</li>
<li>Internal documentation for SysAdmins</li>
<li>Saving the World with Fedora Directory Server</li>
</ul>
<p>See you there… Be there or be square.</p>
]]></content:encoded>
			<wfw:commentRss>http://tracyphillips.com/2008/12/07/scale-7x-southern-california-linux-expo-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to view the contents of a CSR</title>
		<link>http://tracyphillips.com/2008/11/16/how-to-view-the-contents-of-a-csr-2/</link>
		<comments>http://tracyphillips.com/2008/11/16/how-to-view-the-contents-of-a-csr-2/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 18:42:49 +0000</pubDate>
		<dc:creator>tracphil</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[csr]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.tracyphillips.com/?p=108</guid>
		<description><![CDATA[If you generate quite a few CSR’s that are used to generate SSL certificates, you might have the need to view the contents of the CSR itself to see if it has valid information in it. To do that, save your CSR to a file… I will call mine, hostvelocity.com.www.csr (yeah, I know its long... [...]]]></description>
			<content:encoded><![CDATA[<p>If you generate quite a few CSR’s that are used to generate SSL certificates, you might have the need to view the contents of the CSR itself to see if it has valid information in it.</p>
<p>To do that, save your CSR to a file… I will call mine, hostvelocity.com.www.csr (yeah, I know its long... but if you have ton of certs and csr's lying around, it helps to be able to identify them)</p>
<p>Here is my CSR:</p>
<pre>-----BEGIN CERTIFICATE REQUEST-----
MIIBtjCCAR8CAQAwdjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRIwEAYDVQQH
EwlPY2VhbnNpZGUxFTATBgNVBAoTDEhvc3R2ZWxvY2l0eTEQMA4GA1UECxMHSVQg
RGVwdDEdMBsGA1UEAxMUd3d3Lmhvc3R2ZWxvY2l0eS5jb20wgZ8wDQYJKoZIhvcN
AQEBBQADgY0AMIGJAoGBALLHGFjPg3N6sq39e9cl6oGz214g/TgQW4wHwxlC0HLE
goMdjjReymgTYU8rsG3kJgoxGM5zd+wGgGzrlzKK06fep4gHH2QKYPvgvzNUpZKs
SmQC7rCu8VkBgmZTGAx1hQ2Yi9JUT8s4WjdTRYDrd0ZSOnG504pmEazDZwpysR1R
AgMBAAGgADANBgkqhkiG9w0BAQQFAAOBgQAyoAQkshdwXRniuNdKST35o+mftEz7
BruOiFn3B8W/O5ml3pLrhmYUHoOBpMb50H605QuWCwYYArhfSdFbCmjNfjaEqphU
eHG5HRzaMdyp6Imi7ZJUp5/rDGg1Idf+5v5zr5AwCVbjkPPLJEJnvjpn+XW+/5pO
joVymerQ/q2aHQ==
-----END CERTIFICATE REQUEST-----</pre>
<p>Now to view the contents of it, just issue the following command</p>
<pre>[server][root][~]# openssl req -text -noout -in hostvelocity.com.www.csr</pre>
<p>and this is the output</p>
<pre>Certificate Request:
Data:
Version: 0 (0x0)
Subject: C=US, ST=CA, L=Oceanside, O=Hostvelocity, OU=IT Dept, CN=www.hostvelocity.com
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public Key: (1024 bit)
Modulus (1024 bit):
00:b2:c7:18:58:cf:83:73:7a:b2:ad:fd:7b:d7:25:
ea:81:b3:db:5e:20:fd:38:10:5b:8c:07:c3:19:42:
d0:72:c4:82:83:1d:8e:34:5e:ca:68:13:61:4f:2b:
b0:6d:e4:26:0a:31:18:ce:73:77:ec:06:80:6c:eb:
97:32:8a:d3:a7:de:a7:88:07:1f:64:0a:60:fb:e0:
bf:33:54:a5:92:ac:4a:64:02:ee:b0:ae:f1:59:01:
82:66:53:18:0c:75:85:0d:98:8b:d2:54:4f:cb:38:
5a:37:53:45:80:eb:77:46:52:3a:71:b9:d3:8a:66:
11:ac:c3:67:0a:72:b1:1d:51
Exponent: 65537 (0x10001)
Attributes:
a0:00
Signature Algorithm: md5WithRSAEncryption
32:a0:04:24:b2:17:70:5d:19:e2:b8:d7:4a:49:3d:f9:a3:e9:
9f:b4:4c:fb:06:bb:8e:88:59:f7:07:c5:bf:3b:99:a5:de:92:
eb:86:66:14:1e:83:81:a4:c6:f9:d0:7e:b4:e5:0b:96:0b:06:
18:02:b8:5f:49:d1:5b:0a:68:cd:7e:36:84:aa:98:54:78:71:
b9:1d:1c:da:31:dc:a9:e8:89:a2:ed:92:54:a7:9f:eb:0c:68:
35:21:d7:fe:e6:fe:73:af:90:30:09:56:e3:90:f3:cb:24:42:
67:be:3a:67:f9:75:be:ff:9a:4e:8e:85:72:99:ea:d0:fe:ad:
9a:1d</pre>
<p>This is a good way to see if your customers have all the valid info required to order an SSL certificate. Things to look for:</p>
<p><code><br />
C=Country<br />
ST=State<br />
L=City<br />
O=Organization<br />
OU=Department<br />
CN=Common Name<br />
</code></p>
<p>You can see that I have that info in the output of the CSR above.</p>
]]></content:encoded>
			<wfw:commentRss>http://tracyphillips.com/2008/11/16/how-to-view-the-contents-of-a-csr-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>List all cron jobs for all users</title>
		<link>http://tracyphillips.com/2008/11/13/list-all-cron-jobs-for-all-users-2/</link>
		<comments>http://tracyphillips.com/2008/11/13/list-all-cron-jobs-for-all-users-2/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 19:24:45 +0000</pubDate>
		<dc:creator>tracphil</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[cronjobs]]></category>
		<category><![CDATA[passwd]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.tracyphillips.com/?p=42</guid>
		<description><![CDATA[You need to run this as root: [server][root][~]# for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done that will loop over each user in /etc/passwd listing out their crontab. The crontabs are owned by the respective users so you will not be able to see another user's crontab without doing this [...]]]></description>
			<content:encoded><![CDATA[<p>You need to run this as root:</p>
<pre>[server][root][~]# for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done</pre>
<p>that will loop over each user in <code>/etc/passwd</code> listing out their crontab. The crontabs are owned by the respective users so you will not be able to see another user's crontab without doing this as root.</p>
]]></content:encoded>
			<wfw:commentRss>http://tracyphillips.com/2008/11/13/list-all-cron-jobs-for-all-users-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sendmail X-Authentication-Warning</title>
		<link>http://tracyphillips.com/2007/05/21/sendmail-x-authentication-warning-2/</link>
		<comments>http://tracyphillips.com/2007/05/21/sendmail-x-authentication-warning-2/#comments</comments>
		<pubDate>Mon, 21 May 2007 19:07:50 +0000</pubDate>
		<dc:creator>tracphil</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[sendmail]]></category>
		<category><![CDATA[warning]]></category>

		<guid isPermaLink="false">http://www.tracyphillips.com/?p=13</guid>
		<description><![CDATA[Have you ever looked at your email headers to see that sendmail was attaching an X-Authentication-Warning warning because Apache is the sender of an email as a different user other than the system user "apache"? This is what the email header would look like: X-Authentication-Warning: mail.domain.com: apache set sender to sales@domain.com using -f To keep [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever looked at your email headers to see that sendmail was attaching an X-Authentication-Warning warning because Apache is the sender of an email as a different user other than the system user "apache"?</p>
<p>This is what the email header would look like:
<p><code>X-Authentication-Warning: mail.domain.com: apache set sender to sales@domain.com using -f</code></p>
<p>To keep sendmail from adding the warning, you need to setup your apache user as a trusted sender. In my case my apache user is "apache". Sometimes the user might be called httpd.</p>
<p>You will need to add your apache user to <code>/etc/mail/trusted-users</code></p>
<pre>[server][root][~]# vi /etc/mail/trusted-users</pre>
<p>Your <code>sendmail.cf</code> should be ready for that:</p>
<pre>[server][root][~]# grep trusted /etc/mail/sendmail.cf
Ft/etc/mail/trusted-users</pre>
<p>Otherwise force the trusted user with a line like:</p>
<p><code>Tusername</code></p>
<p>If you build your <code>sendmail.cf</code> from <code>sendmail.mc</code>, use:</p>
<p><code>FEATURE(use_ct_file)dnl</code></p>
]]></content:encoded>
			<wfw:commentRss>http://tracyphillips.com/2007/05/21/sendmail-x-authentication-warning-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
