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
               August 29, 2002 -- Issue #96
===========================================================

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

1) Sean's Notes

2) Linux News

	Attention Students!
	What's Up With Caldera?
	Linuxcare Resurfaces
	Open Source -- Not Just Linux

3) Linux Resources

	Remote Administration Tips
	What's the Best Way to Learn Linux?
	Basic Samba Installation and Usage
	Role-Based Access Control
	Basic LWP Usage

4) App o' the Week


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

Try our IT Certification Courses FREE! SmartCertify Direct gives
you classroom-quality IT training at a fraction of the cost of
traditional courses. You'll get 24-hour online mentoring from
certified IT pros, hands-on interactive exercises, the popular
Test Prep Exams, and more! Our personalized courses are so
powerful that you'll get certified GUARANTEED. Choose from MCSE,
Cisco, A+, CIW, Linux, and many more. Click below to try our
courses FREE and register to WIN a Dell PC worth $2,400!

http://ad.brainbuzz.com/?RC06&AIU95

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

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
===============================================================

Well, I've had it with all the spam that comes into my mailbox.
I've written about it before; the last time I gave Vipul's Razor
a shot.  Not happy with the false positives I was starting to
get, I turned it off and went back to the "delete key" method of
spam detection (ugh).  Looks like Razor now implements a trust
system, which will certainly alleviate the false positives, but
this time around I wanted to try Spam Assassin.

Programs like Razor rely on people to report spam to a central
authority.  When your mailer goes to process a message, it checks
to see if someone has called it spam.  Toss in a trust system so
that people can't go piping BUGTRAQ straight into the database
(cough cough), and you've got a pretty solid system.

Spam Assassin, though, tries to figure out heuristically if a
message is spam.  It does this by applying many rules to the
message, and assigning each rule a score (positive OR negative).
Negative scores might be assigned to messages that are sent from
known mailers, and things like "MAKE MONEY FAST" are certain to
add to the score (and I've probably just sent off a few alarms
with that outburst).  If the score goes above a predefined
number, it's flagged as spam, and you can do what you want with it.

There are two things I like about Spam Assassin.  The first is
that it can be run as a filter.  This means that I can pump a
message through, and decide for myself what I want to do with
it.  Right now, I'm moving the potential spam messages to a
folder.  Later on, I could delete it, or pass it through
something else to report the spam to a database or the person's
ISP.  (Spam Assassin can do some of these things if you ask it to.)

The second reason is that it is configurable down to the user.
Installed system-wide, each user can define their thresholds for
spam, or even alter the score for an individual test.  I find it
funny that by default, a known mailer knocks 1 off the score,
unless it's Outlook, in which case you only get an 0.5 deduction.

And third (this is starting to sound like a Monty Python sketch),
is that it's written in Perl.  In fact, it's even available on
CPAN:

# perl -MCPAN -e shell
cpan> install Mail::SpamAssassin

Once that's all done, it's pretty easy to get going by dropping
the following in your .forward:

"|IFS=' '&&exec /usr/bin/procmail -f-||exit 75 #sean"

(instead of "sean", put in your username)

Then, set up a .procmailrc:

PATH=/bin:/usr/bin:/usr/bin
MAILDIR=$HOME/mail      #you'd better make sure it exists
LOGFILE=$MAILDIR/from   #recommended

:0fw
| spamassassin -P

:0:
* ^X-Spam-Status: Yes
caughtspam


The first few lines set up your environment, nothing fancy.  The
next two lines make up a procmail recipe, this one passes the
text through spamassassin.  The next rule looks for a custom
header, "X-Spam-Status", and if it's yes (meaning SA thought it
was spam), it's moved to the "caughtspam" folder.

>From this point on, all your mail will be run through
spamassassin.  I immediately found out that some newsletters
were being caught as spam, so that's the first thing that has to
be fixed.

On the first invocation, Spam Assassin creates a file called
~/.spamassassin/user_prefs, which has your user specific
settings in it.  The man page for Mail::SpamAssassin::Conf
details the syntax, but adding:

whitelist_from	subscriptions@lockergnome.com
whitelist_from  listboss@list.cramsession.com
whitelist_from  schneier@counterpane.com

took care of getting my regular newsletters through the filters.

I also thought I'd err on the side of caution, so I increased
the default score of 5 to 8 by adding:

required_hits 8

I've had Spam Assassin running for a day and a half now, and
only a couple of spam have got through.  More importantly, I
haven't had any important messages get trashed.

http://www.spamassassin.org

has all the documentation and news about the project.  If you're
using a mailer other than procmail and sendmail, there are
probably more detailed instructions on how to get you going.

Open Source can provide innovative solutions to common problems,
and with very little cost.  Spam Assassin is a shining example
of this.


Long live the Penguin,

Sean
mailto:swalberg@cramsession.com


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

-------------------
Attention Students!
-------------------

In college or university? IBM has a contest for you.  Make some
sort of improvement, application, or tool for Linux, and you
could win a summer internship, laptop, even get your school a
16-node cluster.

http://www-3.ibm.com/software/info/students/contests/linux/


-----------------------
What's Up With Caldera?
-----------------------

Caldera, the driving force behind United Linux, has changed its
name and focus to align itself with SCO Unix. According to the
article, Linux is not out of the picture, though.

http://newsforge.com/newsforge/02/08/27/005227.shtml?tid#


--------------------
Linuxcare Resurfaces
--------------------

I haven't heard much about Linuxcare in quite some time, other
than a blurb on Linux support that mentioned their name. Seems
they're getting into bed with IBM by providing tools that will
help people manage their Linux-based mainframes.

http://www.linuxcare.com/about-us/press-center/press-release/2002/0
8-07-02-levanta.epl


-----------------------------
Open Source -- Not Just Linux
-----------------------------

Open Source doesn't necessarily mean an Operating System. Take
for example, Ogg-Vorbis, a competing standard to MP3. Ogg is
completely open, MP3 is patented. The owners of the MP3 patent
are now looking at charging for use, and the creators of Ogg
couldn't be happier, as they explain in this tongue-in-cheek
article.

http://www.linuxandmain.com/modules.php?name=News&file=article&sid 
0


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

--------------------------
Remote Administration Tips
--------------------------

Sooner or later, you're likely going to have to manage a remote
server. This article provides some great tips on doing so, both
in graphical and text mode, along with some security pointers.

http://www.linuxplanet.com/linuxplanet/tutorials/4400/1/


-----------------------------------
What's the Best Way to Learn Linux?
-----------------------------------

The question was posed on the Linux-General board on Wednesday.
Pass along your advice, and read what others have to say!

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


----------------------------------
Basic Samba Installation and Usage
----------------------------------

Samba comes with most, if not all, Linux distributions. However,
it's one of the packages I find myself compiling by hand just
because of upgrades. This article covers the compilation and
setting up of Samba.

http://www.linuxhelpnetwork.net/tutorials/samba-install.php


-------------------------
Role-Based Access Control
-------------------------

Right now, RBAC is a Solaris feature, but there are projects to
bring it to Linux. Rather than using sudo to delegate root
access, RBAC allows the administrator to handle it in a more
convenient manner.

http://www.nathanlindstrom.com/rbac_introduction.html


---------------
Basic LWP Usage
---------------

LWP is an amazing Perl library that can download a myriad of
online content, such as from http, ftp, and nntp sources. This
article, by the author of the O'Reilly book on the same topic,
explains the basics.

http://www.perl.com/pub/a/2002/08/20/perlandlwp.html


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

Sometimes you want to inspect a network based application to see
how it works, or more importantly, why it's not working. A
sniffer will do the job, but this tool, the Simple TCP
re-engineering tool, is designed for the task.

http://www.simphalempin.com/dev/tcpreen/


===============================================================
(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

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