<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.eggxpert.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>rdaniels : Linux</title><link>http://www.eggxpert.com/blogs/rdaniels/archive/tags/Linux/default.aspx</link><description>Tags: Linux</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61120.2)</generator><item><title>Learning is Hard</title><link>http://www.eggxpert.com/blogs/rdaniels/archive/2008/09/02/learning-is-hard.aspx</link><pubDate>Tue, 02 Sep 2008 05:13:00 GMT</pubDate><guid isPermaLink="false">e96c5591-d47d-4b8d-80c4-18d6411a9236:384934</guid><dc:creator>rdaniels</dc:creator><slash:comments>0</slash:comments><comments>http://www.eggxpert.com/blogs/rdaniels/comments/384934.aspx</comments><wfw:commentRss>http://www.eggxpert.com/blogs/rdaniels/commentrss.aspx?PostID=384934</wfw:commentRss><description>&lt;p&gt;So, quite a while back I talked about how I wanted to be a network admin for a Unix/Linux environment.&amp;nbsp; Still a work in progress, but I'm learning.&amp;nbsp; Getting pretty close to getting my associates degree, anyway.&amp;nbsp; Just have to take a couple Windows classes and a couple infrastructure courses about routers and stuff.&amp;nbsp; Then I get to transfer somewhere for my bachelor's.&lt;br&gt;&lt;/p&gt;&lt;p&gt;I've already taken all the Unix courses offered at my community college, pretty easy for me.&amp;nbsp; Not that I already knew it all, just that they mostly just covered a high-level overview of many of the topics.&amp;nbsp; Configurations of DNS, proxy servers, http servers, and the like can be much more involved than we got into. Other topics weren't covered at all, like SELinux, mail servers, Kerberos and LDAP.&amp;nbsp; Those last two I'm sure will be very important and I'll need to know them.&amp;nbsp; I fully expect to work with a mixed Unix/Windows environment, and Kerberos and LDAP are necessary to integrate into a Windows domain.&amp;nbsp; Interoperability between Unix and Windows goes way beyond the simple Samba stuff we went over.&lt;/p&gt;&lt;p&gt;So I've been trying to teach myself some of this stuff.&amp;nbsp; I figured I'd configure several servers offering different services, as well as a client machine to test them all.&amp;nbsp; At first I was going to use separate pc's for this.&amp;nbsp; I'd been exposed to virtualization in my classes, but I thought the hardware extensions were mandatory.&amp;nbsp; I've since discovered I was wrong, so I've been using VirtualBox to run several installations of Fedora and OpenSUSE.&lt;/p&gt;&lt;p&gt;So now I'm trying to manually configure everything on these servers.&amp;nbsp; Sometimes I'll use the configuration tools they provide so I can analyze their output and learn from it, but mostly it's a lot of research and experimentation.&amp;nbsp; Suse definitely has an advantage as far as tools go.&amp;nbsp; Since I'm working on everything from the command line, most of Fedora's tools are unavailable.&amp;nbsp; Anyway, I'm making progress.&amp;nbsp; I can easily configure NFS, DHCP, NTP, FTP, and a few others, and I can set up a forwarding DNS server if I try hard enough.&amp;nbsp; I'm hitting a roadblock with Kerberos and LDAP though.&amp;nbsp; I've done Kerberos on LFS before, and it wasn't that difficult.&amp;nbsp; However, both Fedora and Suse want to do Kerberos through PAM, and it's not working even with the config tools.&amp;nbsp; Once, I manage to get su to work with Kerberos, but strangely still couldn't login.&amp;nbsp; I think the problem is the password handling, but I'm stuck there.&amp;nbsp; LDAP is even more difficult.&amp;nbsp; It's incredibly complex, and at the moment I have no chance of doing it by hand.&amp;nbsp; Using the tools in OpenSuse, I can get the server up and running.&amp;nbsp; Adding entries to the database requires authenticating as and ldap admin, which works (making it work through SSL took some research and manual configuration however).&amp;nbsp; But there are still issues.&amp;nbsp; I can't make logins work using LDAP, and most of the cli tools for ldap don't work either.&amp;nbsp; I can search the directory, but that's about it. I've figured out from that logs that, for some reason, programs like login and ldapwhoami can't find or connect to the LDAP service, and I have no idea why. I've made sure the appropriate ports are open in the firewall, and I've tried using the ip address and the FQDN of the LDAP server in the config files, connecting with and without SSL, and playing with PAM and nsswitch.conf with no luck.&lt;/p&gt;&lt;p&gt;I'm about to move on to some different services.&amp;nbsp; I still need to get into apache, squid, and mail servers, so it's not like I'm short on things to work on.&amp;nbsp; I also need to read up on security.&amp;nbsp; I understand permissions, acl's, and firewalls well enough, but I've got some major gaps.&amp;nbsp; For instance, I've read that supposedly you should run different services on different machines, so you would have a DNS server separate from your HTTP server separate from you mail server.&amp;nbsp; I have absolutely no idea why.&amp;nbsp; SELinux is another security thing I don't understand the purpose of.&amp;nbsp; I mean, yeah SELinux is capable of limiting the root account so its not quite so dangerous.&amp;nbsp; However, root can change the SELinux settings to get all its power back easily, so what's the point?&amp;nbsp; If someone gains root access to the machine, you're still screwed.&lt;br&gt;&lt;/p&gt;&lt;p&gt;That's all for today.&amp;nbsp; I'm off to do some research.&amp;nbsp; To anyone who actually knows how to do all this stuff, my hat's off to you.&lt;/p&gt;&lt;p&gt;&amp;nbsp;rdaniels &lt;br&gt;&lt;/p&gt;&lt;img src="http://www.eggxpert.com/aggbug.aspx?PostID=384934" width="1" height="1"&gt;</description><category domain="http://www.eggxpert.com/blogs/rdaniels/archive/tags/Linux/default.aspx">Linux</category><category domain="http://www.eggxpert.com/blogs/rdaniels/archive/tags/Networking/default.aspx">Networking</category><category domain="http://www.eggxpert.com/blogs/rdaniels/archive/tags/Unix/default.aspx">Unix</category></item></channel></rss>