<?xml version="1.0" encoding="iso-8859-1"?>

<rss version="2.0" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>empirelinux.org</title>
<link>http://www.empirelinux.org</link>
<description>Guild of the Power User</description>
<managingEditor>webmaster@www.empirelinux.org</managingEditor>
<webMaster>webmaster@www.empirelinux.org</webMaster>
<copyright>Copyright 2009 empirelinux</copyright>
<generator>Geeklog</generator>
<pubDate>Sun, 06 Dec 2009 05:19:24 -0500</pubDate>
<language>en-gb</language>
<atom:link href="http://www.empirelinux.org/backend/empirelinux.rss" rel="self" type="application/rss+xml" />
<item>
<title>root login - fixing fedora 11</title>
<link>http://www.empirelinux.org/article.php?story=20091206031638430</link>
<guid isPermaLink="true">http://www.empirelinux.org/article.php?story=20091206031638430</guid>
<pubDate>Sun, 06 Dec 2009 03:16:38 -0500</pubDate>
<comments>http://www.empirelinux.org/article.php?story=20091206031638430#comments</comments>
<dc:subject>HowTo</dc:subject>
<description>&lt;p&gt;Its sad to see that the fedora distro has followed ubuntu in disabling the root login.&amp;nbsp; I'm sure that some idiot has passed himself off as a security expert by comming up with the idea.&amp;nbsp; If your the kind of admin who babysits an email server and plays freecell all day, then you probably should not log in as root .... ever ....&amp;nbsp; For those of us who actually work in system administration and 90% of everything we do requires root access, logging in as root is a necessary evil.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The restrictions for root login are handled by PAM so the fix is pretty straight forward.&amp;nbsp; You will need to edit one or more of the following files depending on your auth settings&lt;/p&gt;
&lt;div&gt;&lt;code&gt;/etc/pam.d/gdm&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;/etc/pam.d/gdm-password&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;/etc/pam.d/gdm-fingerprint&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Edit each file and remove or comment out the line that reads:&lt;/p&gt;
&lt;div&gt;&lt;code&gt;auth&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; required&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pam_succeed_if.so&amp;nbsp;user != root quiet&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;That should do it. And of course, backup your files before you change them etc.. etc..&amp;nbsp; If you don't know basic precautionary procedures you shouldn't be messing with the root account and you deserve what you get &lt;img alt=&quot;&quot; src=&quot;http://www.empirelinux.org/fckeditor/editor/images/smiley/msn/tounge_smile.gif&quot; /&gt;&lt;/p&gt;</description>
<trackback:ping>http://www.empirelinux.org/trackback.php?id=20091206031638430</trackback:ping>
</item>
<item>
<title>ssh - configuring passwordless logins</title>
<link>http://www.empirelinux.org/article.php?story=20091205051526257</link>
<guid isPermaLink="true">http://www.empirelinux.org/article.php?story=20091205051526257</guid>
<pubDate>Sat, 05 Dec 2009 05:15:26 -0500</pubDate>
<comments>http://www.empirelinux.org/article.php?story=20091205051526257#comments</comments>
<dc:subject>HowTo</dc:subject>
<description>&lt;p&gt;This is&amp;nbsp;a quick reference for setting up public keys in ssh so you don't have to constantly type your password in front of prying eyes and hungry keyloggers.&lt;/p&gt;
&lt;p&gt;Step 1:&lt;/p&gt;
&lt;p&gt;Create a key pair if you dont already have one.&amp;nbsp; Most ssh clients should now support RSA keys which will be located in &lt;strong&gt;&lt;span&gt;~/.ssh/id_rsa&lt;/span&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;span&gt;~/.ssh/id_rsa.pub&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The command to create a new key pair is:&amp;nbsp; &lt;strong&gt;&lt;span&gt;ssh-keygen -t rsa&lt;/span&gt;&lt;/strong&gt;&amp;nbsp; just accept the defaults and leave the passphrase blank since were setting up passwordless access.&lt;/p&gt;
&lt;p&gt;Step 2:&lt;/p&gt;
&lt;p&gt;Copy&amp;nbsp;your key to&amp;nbsp;the remote system&amp;nbsp;&amp;nbsp;&lt;strong&gt;&lt;span&gt;ssh-copy-id -i ~/.ssh/id_rsa.pub user@othersystem&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Step 3:&lt;/p&gt;
&lt;p&gt;Test it&amp;nbsp; &lt;strong&gt;&lt;span&gt;ssh user@othersystem&lt;/span&gt;&lt;/strong&gt; and it should connect you without prompting for a password.&lt;/p&gt;
&lt;p&gt;If it doesn't work then check your ssh config file&amp;nbsp; &lt;strong&gt;&lt;span&gt;/etc/sshd/ssh_config&lt;/span&gt;&lt;/strong&gt;&amp;nbsp; and be sure that you have both &lt;strong&gt;&lt;span&gt;RSAAuthentication&lt;/span&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;span&gt;PubkeyAuthentication&lt;/span&gt;&lt;/strong&gt; set to &lt;strong&gt;&lt;span&gt;yes&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;</description>
<trackback:ping>http://www.empirelinux.org/trackback.php?id=20091205051526257</trackback:ping>
</item>
<item>
<title>Welcome to empirelinux.org</title>
<link>http://www.empirelinux.org/article.php?story=welcome</link>
<guid isPermaLink="true">http://www.empirelinux.org/article.php?story=welcome</guid>
<pubDate>Fri, 04 Dec 2009 21:43:30 -0500</pubDate>
<comments>http://www.empirelinux.org/article.php?story=welcome#comments</comments>
<dc:subject>Mission</dc:subject>
<description>&lt;p&gt;Welcome to the &lt;a href=&quot;http://www.siliconempire.com&quot;&gt;siliconempire&lt;/a&gt; linux projects page, also know as empirelinux or empire tools.&amp;nbsp; This site is a repository of tools, scripts, wisdom, and current projects&amp;nbsp;collected from&amp;nbsp;veteran administrators over the years.&amp;nbsp; We are not currently producing a distro, but that is a possibility in the near future.&amp;nbsp; There have been two or three distros in the past that have gone by the name empirelinux.&amp;nbsp; They are not affiliated with us and to my knowledge all have been discontinued.&amp;nbsp;&lt;/p&gt;</description>
<trackback:ping>http://www.empirelinux.org/trackback.php?id=welcome</trackback:ping>
</item>
</channel>
</rss>
