Cramsession Linux Newsletter

Cramsession.com Linux News Archive

Please note that I've stopped writing the Linux News as of January 30, 2003, as Cramsession has cancelled most of their newsletters. You can send any questions or comments about this content to me (sean at ertw . com)
People have been asking for a downloadable version of the archives. [My mbox (one big file, 1.4MB)] [Individual files, text, tarball] [Individual files, html, tarball]
If you're looking for more Linux content, you might like my blog.
Jan 30, 2003
  Linux News - Issue #117
Jan 23, 2003
  Linux News - Issue #116
Jan 16, 2003
  Linux News - Issue #115
Jan 9, 2003
  Linux News - Issue #114
Jan 2, 2003
  Linux News - Issue #113
Dec 19, 2002
  Linux News - Issue #112
Dec 12, 2002
  Linux News - Issue #111
Dec 5, 2002
  Linux News - Issue #110
Nov 28, 2002
  Linux News - Issue #109
Nov 21, 2002
  Linux News - Issue #108
Nov 14, 2002
  Linux News - Issue #107
Nov 7, 2002
  Linux News - Issue #106
Oct 31, 2002
  Linux News - Issue #105
Oct 24, 2002
  Linux News - Issue #104
Oct 17, 2002
  Linux News - Issue #103
Oct 10, 2002
  Linux News - Issue #102
Oct 3, 2002
  Linux News - Issue #101
Sep 26, 2002
  Linux News - Issue #100
Sep 19, 2002
  Linux News - Issue #99
Sep 12, 2002
  Linux News - Issue #98
Sep 5, 2002
  Linux News - Issue #97
Aug 29, 2002
  Linux News - Issue #96
Aug 22, 2002
  Linux News - Issue #95
Aug 15, 2002
  Linux News - Issue #94
Aug 8, 2002
  Linux News - Issue #93
Aug 1, 2002
  Linux News - Issue #92
Jul 25, 2002
  Linux News - Issue #91
Jul 18, 2002
  Linux News - Issue #90
Jul 11, 2002
  Linux News - Issue #89
Jul 4, 2002
  Linux News - Issue #88
Jun 27, 2002
  Linux News - Issue #87
Jun 20, 2002
  Linux News - Issue #86
Jun 13, 2002
  Linux News - Issue #85
Jun 6, 2002
  Linux News - Issue #84
May 30, 2002
  Linux News - May 30, 2002
May 23, 2002
  Pearl In The Shell
May 16, 2002
  Linux Filesystems - Part Two
May 9, 2002
  Inside The Linux Filesystem
May 2, 2002
  CD Burning Under Linux
Apr 25, 2002
  Star Office Vs. Open Office
Apr 18, 2002
  Surfing With Mozilla
Apr 11, 2002
  "We Don't Support Linux..."
Apr 4, 2002
  Visit The UNIX Library
Mar 28, 2002
  Linux and World Domination
Mar 21, 2002
  Working With Keyservers
Mar 14, 2002
  A Look At Public Key Cryptography
Mar 7, 2002
  Monitoring Systems With "vmstat"
Feb 28, 2002
  Star Office 6 Not to be Free for Linux?
Feb 21, 2002
  How Can Programming Benefit a Systems Administrator?
Feb 14, 2002
  Alias: It's Not Just a TV Show
Feb 8, 2002
  Using The diff and patch Utilities
Jan 31, 2002
  How To Detect Cracks
Jan 24, 2002
  Using Razor to Shave Away Spam
Jan 17, 2002
  Stomping Spam
Jan 10, 2002
  Sair Linux Courseware Review
Jan 3, 2002
  2002: The Year of the Penguin!
Dec 27, 2001
  UNIX Apps on a Windows Box?
Dec 20, 2001
  Directory Assistance
Dec 13, 2001
  How Do You Kill Zombies?
Dec 6, 2001
  Using Hard and Soft Symlinks
Nov 29, 2001
  Change Terminal-Based Apps Into Network Apps
Nov 22, 2001
  Adventures In Booting
Nov 15, 2001
  Getting To Know PAM
Nov 8, 2001
  Know Your Enemy
Nov 1, 2001
  Do Mulder and Scully Use X-Windows?
Oct 25, 2001
  A Quick Look at the RHCE Certification
Oct 18, 2001
  What's Up With Linux Certification?
Oct 11, 2001
  Express Yourself Regularly
Oct 4, 2001
  Advice For Lazy Penguins?
Sep 27, 2001
  NVIDIA Jumps On Linux Bandwagon
Sep 20, 2001
  Understanding DNS in a Linux Environment
Sep 13, 2001
  Be Careful With Binaries
Sep 6, 2001
  Party Like It's 999,999,999
Aug 30, 2001
  Rooting Out Memory Hogs
Aug 23, 2001
  Spin Your 'Top'
Aug 16, 2001
  Keeping Time With NTP
Aug 9, 2001
  Supporting True Type Fonts
Aug 2, 2001
  Getting Perl To Fetch
Jul 26, 2001
  Who's The Man?!
Jul 19, 2001
  Adobe Cracks The DMCA Whip
Jul 12, 2001
  Due Processes
Jul 5, 2001
  Going Adobe Free
Jun 28, 2001
  Don't Send Mixed SIgnals
Jun 21, 2001
  Everything is a File. (almost)
Jun 14, 2001
  Know Your Partitions
Jun 7, 2001
  Where it's "at"!
May 31, 2001
  A Sneak Peek at RedHat 7.1
May 24, 2001
  Scheduling Tasks With cron - Part 2
May 17, 2001
  Scheduling Tasks With cron
May 10, 2001
  Open Source - Seeing Through The FUD
May 3, 2001
  A Look At Ximian's New Release
Apr 26, 2001
  Rev Up Your X-Windows Session
Apr 19, 2001
  Wrangling With GNU Cash
Apr 12, 2001
  Tame the syslogd Daemon
Apr 5, 2001
  Test Your Admin Skills At Honeynet
Mar 29, 2001
  Software RAID on Your Linux Box
Mar 22, 2001
  Prevent Disasters: Back It Up
Mar 15, 2001
  Notes From Underground!
Mar 8, 2001
  SuSE 7.1 - A First Look
Mar 1, 2001
  Certification Boot Camp
Feb 22, 2001
  Understanding Runlevels
Feb 15, 2001
  What Are The Advantages of Joining a LUG?
Feb 8, 2001
  Diving For Perls
Feb 1, 2001
  How To Secure Your Linux Installation
Jan 25, 2001
  Linux Problem Solving
Jan 18, 2001
  Stand up and Be Counted!
Jan 11, 2001
  2.4.0 is Here!
Jan 4, 2001
  When will Mom use Linux?
Dec 28, 2000
  The Year in Review
Dec 21, 2000
  The SourceForge Solution
Dec 15, 2000
  How to Compile and Install the New Kernel
Dec 7, 2000
  Put Your E-mail Into A Blackberry Basket
Nov 30, 2000
  Using Perl With Linux
Nov 23, 2000
  Working With MP3's Under Linux
Nov 16, 2000
  Apache 2.0 alpha 4
Nov 9, 2000
  Dell loves Linux!
Nov 2, 2000
  What's Up With RedHat 7?
===========================================================
                        LINUX NEWS
                http://www.Cramsession.com
              October 17, 2002 -- Issue #103
===========================================================

-----------------
TABLE OF CONTENTS
-----------------

1) Sean's Notes

2) Linux News

	Linux.com To Match Microsoft Donations
	Red Hat Linux 8.0 Tops Desktop Class
	India Moving to Linux
	A Look At Gentoo

3) Linux Resources

	How Many Disks Are Too Many for a Linux System?
	Active Directory Tool... For Linux
	Log Files for Analysis
	Conserve Energy... With Linux
	Basic Makefiles

4) App o' the Week


~~~~~~~~~~~~~~~~~~~~~~ ADVERTISEMENT ~~~~~~~~~~~~~~~~~~~~~~~

Deploy, configure, and support Linux! Linux Administration
Resource Kit, a $119.97 value, yours for $9.99. Featuring 3
best-selling industry guides, plus 5 CDs. Plus a free gift!
The 5 CDs include various Linux distributions, applications
and tools for managing networks and systems.

Click for details:
http://ad.brainbuzz.com/?RC06&AIW01

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

For information on how to advertise in this newsletter
please contact mailto:adsales@CramSession.com or visit
http://cramsession.com/marketing/default.asp

===============================================================
1) Sean's Notes
===============================================================

The past couple of weeks I've been going over mail.  First it
was the flow of mail over the Internet, from your mail client
(MUA), to your Mail Transfer Agent (MTA), to the recipient's
mailbox, and then into his MUA.  Last week looked at the
configuration of the PostFix MTA, which leaves one thing,
namely getting the mail from your spool onto your desktop.

Two protocols are helpful for doing this, the Post Office
Protocol Version 3 (POP3), and the Interactive Mail Access
Protocol Version 4 (IMAP4).

POP is the simpler of the two; though it can do a lot more,
it's often used to grab your whole mail spool and delete it
from the server.  ISPs love it--they store your mail until you
pick it up and get it off their hands.

My favourite POP implementation comes courtesy of Qualcomm,
and is called "qpopper".  You can grab the sources from:

ftp://ftp.qualcomm.com/eudora/servers/unix/popper/qpopper4.0.4.tar.gz

To install it, uncompress the tarball:

# tar -xzf qpopper4.0.4.tar.gz

Change into the directory:

# cd qpopper4.0.4

If you run "./configure --help", you'll see all the options that
you can set in this versatile daemon.  I've always used:

# ./configure --enable-specialauth --enable-servermode
    --with-openssl \ --enable-spool-dir=/var/spool/mail
    --enable-uw-kludge  --enable-poppassd

Yikes, eh?  Since the POP daemon was one that I always kept up
with upgrades, I made an RPM out of it so it would always build
the same.  Assuming you're using Red Hat, you can do the same,
too.  Jump on over to:

http://boards.cramsession.com/boards/vbm.asp?me1927

- Save the content to /usr/src/redhat/SPECS/qpopper.spec
- Move qpopper4.0.4.tar.gz to /usr/src/redhat/SOURCES
- Run "rpm -ba /usr/src/redhat/SPECS/qpopper.spec" as root
- Install the rpm from /usr/src/redhat/RPMS/i386

Probably the source of another article or two, but building
software as an RPM lets you ensure that you have it under
package management, and that you always build the software the
same (try remembering which options you used a year later!).  If
4.0.5 comes out, copy the tarball to SOURCES, bump the version
number within qpopper.spec, rerun rpm -ba qpopper.spec, and rpm
-U the resulting RPM.  Wondering what version of popper you're
running?  rpm -q qpopper

If you didn't go the rpm route, you can run:

# make
# make install

after you've run ./configure to do much the same thing, but
without the package management.

Though there are dozens of options you can pass to the daemon,
you can get by without them.  To activate qpopper, we have to
tell inetd about it.  If you haven't caught any of my articles
on inetd, its job is to listen for connections to the POP port
(TCP 110), and then spawn off a qpopper process to handle it.
Saves a lot of memory if there are few connections!

Users of the older inetd will want to add the following line
to inetd.conf:

pop3    stream  tcp    nowait  root    /usr/sbin/tcpd  popper

If you're using the newer xinetd, create /etc/xinetd.d/popper
with the following:

service pop3
{
        flags           = REUSE
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/sbin/popper
        log_on_failure  += USERID
        disable         = no
}


Either way, it tells inetd to listen on the pop3 port, and to
run /usr/sbin/popper when it sees it, that is, once you restart
inetd!  They'll both respect wrappers, which we'll use to
prevent everyone on the Internet from connecting to the POP daemon:

/etc/hosts.deny:
popper: ALL

/etc/hosts.allow:
popper: localhost, 192.168.1.

(I'm making the assumption here that your internal network is
192.168.1.0/24, change the line as appropriate if I was wrong.)

If you want to learn more about controlling access with
hosts.allow and hosts.deny, "man 5 hosts_access" is for you.
xinetd users get additional control with the man page for
"xinetd.conf".

So, we've built and installed a POP daemon.  Inetd is set up to
listen for POP requests, and has been restarted.  Access
control?  Check.  I guess we're ready to try it out!

# telnet localhost pop3
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Qpopper (version 4.0.4) at poochie starting.
QUIT
+OK Pop server at poochie signing off.
Connection closed by foreign host.

(that was me typing QUIT, by the way).

Those interested in protocols might note that SMTP uses numeric
codes for status, while POP uses either "+OK" or "-ERR".  So
much for standards, eh?

If you got a "connection refused", then it's likely that
something went wrong with the inetd setup.  If it connects and
kicks you out before giving a banner, then your ACLs are to blame.

At this point you're ready to point your mail client to your
brand new POP server.  Have fun!

Though I'll cover the second protocol, IMAP, in an upcoming
newsletter, it is pretty much the same as what we did today.
Some distributions even include the University of Washington
version, which is the one I use myself.  Install, enable in
inetd, connect (port 143 this time).

Even if you're not running your own domain at home, a POP server
is handy if you want to read root's email on another machine.
Thus, you can get your logs on your desktop, without having to
use a text-based email client.


Long live the Penguin,

Sean
mailto:swalberg@cramsession.com


===============================================================
2) Linux News
===============================================================

--------------------------------------
Linux.com To Match Microsoft Donations
--------------------------------------

Microsoft has offered schools some free licences to their
product, content that in a few years they'll have paying
customers. Linux.com has exactly the same offer, but with no
strings! Take all the Linux you want! A very funny, but
accurate, article.

http://newsforge.com/article.pl?sid/10/10/1511200


--------------------------------------
Red Hat Linux 8.0 Tops Desktop Class
--------------------------------------

eWeek took the new Red Hat 8 for a spin, and from the
perspective of the desktop, was impressed. No screenshots, but
still a good article.

http://www.eweek.com/article2/0,3959,633876,00.asp


--------------------------------------
India Moving to Linux
--------------------------------------

"INDIA'S GOVERNMENT Department of Information Technology has
announced a sweeping initiative to move the entire country to
Linux as its "platform of choice" in place of higher cost
'proprietary' software, reports the India Times subsidiary
Economic Times."

http://www.theinquirer.net/?articleW67


--------------------------------------
A Look At Gentoo
--------------------------------------

Gentoo Linux's angle is that everything is compiled from source.
I never realized some of the implications of this until I read
this article. It definitely puts Gentoo on my "gotta try" list!

http://linux.oreillynet.com/pub/a/linux/2002/10/10/intro_gentoo.htm
l


===============================================================
3) Linux Resources
===============================================================

-----------------------------------------------
How Many Disks Are Too Many for a Linux System?
-----------------------------------------------

Linux makes a great file server, but in many cases, the
underlying computer imposes some restrictions on how much space
you can cram into a single machine. Here's an interesting look
at disk capacities.

http://www.linuxjournal.com/article.php?sidb38


--------------------------------------
Active Directory Tool... For Linux
--------------------------------------

"adtool is a unix command line utility for Active Directory
administration. Features include user and group creation,
deletion, modification, password setting, and directory query
and search capabilities."

http://dexy.mine.nu/adtool/


--------------------------------------
Log Files for Analysis
--------------------------------------

Logs aren't only for debugging, they're a valuable forensic
tool. This article from SecurityFocus goes over some ways to
monitor your logs, and keep one step ahead of the Blackhats.

http://online.securityfocus.com/infocus/1633


--------------------------------------
Conserve Energy... With Linux
--------------------------------------

"AcquiSuite is a computerized device (manufactured by Obvius --
Portland, OR) which is used for building automation and energy
management. The device can lower the cost of operating a
building by collecting and reporting information in a reliable,
timely, and inexpensive manner." And, it runs Linux!

http://www.linuxdevices.com/articles/AT9272306746.html


--------------------------------------
Basic Makefiles
--------------------------------------

Programmers use Makefiles to save recompiling code that's
already compiled, and to automate the process. It's also a handy
system administration tool. This article goes over what basic
elements go in a Makefile.

http://www.linuxgazette.com/issue83/heriyanto.html


===============================================================
4) App o' the Week
===============================================================

I'm always on the lookout for dynamic DNS providers, especially
if they're free. Here's one I just found that fits the bill.
Also great if you've been following along with the email
discussions; with one of these dynamic names you can have a
nicer domain name, and not have to fork out the cash for a .com.

http://www.staticcling.org/


===============================================================
(C) 2002 BrainBuzz.com, Inc. All Rights Reserved.
===============================================================
_______________________________________________________

          This message is from CramSession

You are currently subscribed to the following list
   Hottest Linux News and Resources
   as: sean@ertw.com

To un-subscribe from this newsletter by e-mail,
   send a blank email message to:
   mailto:leave-linuxnews-3825955Y@list.cramsession.com

To subscribe to this newsletter and many others visit
our site at:
http://newsletters.cramsession.com/signup/default.asp

-------------------------------------------------------