<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1017421" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1017421</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/perl-script-php-root#comment-1102131</link>
    <description> &lt;p&gt;You can&#039;t dump the contents of /etc/shaddow into a SQL database every x amount of minutes? This would probably be more secure? &lt;/p&gt;
&lt;p&gt;Saying that, how many users have you got? If it&#039;s less than 100 users, then using a flat file system will actually be faster (under similar benchmark tests) than a SQL database.&lt;/p&gt;
 </description>
     <pubDate>Mon, 18 Feb 2002 17:10:10 +0000</pubDate>
 <dc:creator>Wil</dc:creator>
 <guid isPermaLink="false">comment 1102131 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/perl-script-php-root#comment-1102122</link>
    <description> &lt;p&gt;thanks wil.&lt;/p&gt;
&lt;p&gt;i found a [url=http://www.math.ohio-state.edu/~ccunning/pam_auth.html]PHP pam module[/php] that looks like it would do what i need to do, but this isn&#039;t important enough to justify rebuilding php.&lt;/p&gt;
&lt;p&gt;my rather unelegant solution is much like you suggested. i have a perlscript run by crontab that copies the info i need out of /etc/shadow and writes it to a file readable only by httpd every 15 minutes.  not the most secure solution, but i do strip the root password out and it accomplishes what i need to do (validate users through php)&lt;/p&gt;
 </description>
     <pubDate>Mon, 18 Feb 2002 16:13:23 +0000</pubDate>
 <dc:creator>ROB</dc:creator>
 <guid isPermaLink="false">comment 1102122 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/perl-script-php-root#comment-1102119</link>
    <description> &lt;p&gt;There only way you could do this would be to reconfigure your web server to run as user &#039;root&#039;. And any web server developer that allows you to do this should be shot. It&#039;s the most stupid thing anyone could ever do.&lt;/p&gt;
&lt;p&gt;I&#039;m so glad that your server is set up properly to not allow you to do this. &lt;/p&gt;
&lt;p&gt;If this is an absolute must, why don&#039;t you make a copy of /etc/shadow and put it somewhere else - and strip the passwords out at the same time!!!&lt;/p&gt;
 </description>
     <pubDate>Mon, 18 Feb 2002 15:57:46 +0000</pubDate>
 <dc:creator>Wil</dc:creator>
 <guid isPermaLink="false">comment 1102119 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
