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
            RESOURCES & LINKS FROM BRAINBUZZ.COM
                  Thursday, April 12, 2001
===========================================================

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

1) Sean's Notes

2) Linux News

	Slashdot Interviews Bob Young
	Linux PDA
	W32.Winux a Sign of Things to Come?
	New Digital Internet/TV has "Linux inside"

3) Linux Resources

	Clean up /tmp the Safe Way
	A First Look at Linux Clustering
	GIMP PERL Scripting
	Free Chapters on mod_perl
	Linux for Windows Users

4) App o' the week


~~~~~~~~~~~~~~~~~~~~~~ ADVERTISEMENT ~~~~~~~~~~~~~~~~~~~~~~~
                         AUDIOWHIZ

Hear hundreds of certification exam questions on audio CD or
cassettes. Learn while you commute to and from work, exercise
or walk the dog. Ideal for those times when you can't read.
90-day money back guarantee if you are not happy.

http://ad.brainbuzz.com/?RC06&AI%47

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

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

===========================================================
1) Sean's Notes
===========================================================
The syslogd daemon is one of the more important programs that
is installed on a Unix box.  Its job, like the name implies,
is to log all the system messages.  Without the benefit of
syslog, the administrator is blind to what is going on with
the other daemons.  It is somewhat like the NT Event Viewer,
except that in traditional Unix fashion, is very configurable.

If you're familiar with the NT Event Log, you'll know that
you get a lot of messages sent into one of three different
logs (System, Security, and Application if memory serves).
Syslog lets you specify virtually unlimited different logs,
and gives you the power to choose what goes into them.

To do this we introduce two attributes of a log entry,
namely the facility and the priority (or severity).

The facility of the message tells us what type of
application the message came from.  auth, authpriv, cron,
daemon, kern, lpr, mail, news, syslog, user, uucp, ftp, and
local0-local7 are the available ones.  auth and authpriv
are security-related messages, with authpriv being used for
things that should be kept private.  The other ones are
self-explanatory, such as kern for kernel messages, ftp for
ftp messages, etc.  local0 through local7 allow systems not
covered by the above to be handled. For example, Cisco
devices default to local7.

The priority field lets you differentiate between debugging
messages and very important ones.  In terms of ascending
severity, you've got debug, info, notice, warning, err,
crit, alert, and emerg.

So, each message has both a facility and a priority.
Sendmail may log notification of handling an email to
mail.info, and errors such as insufficient disk space to
mail.err.

With the classification system in mind, it is up to the
administrator to decide what messages are important, and
where they should be logged.  Most distributions of Linux
have a pretty sane way of doing it, which serves as a basis
for further tweaking.  This is all controlled in
/etc/syslog.conf.  Generally, one line per file is the safe
way to do it (some versions of syslogd support some extended
syntax, which you should stay away from for portability
reasons).  Each line starts off with a list of the facility/
priority combinations, and the name of a logfile.  These are
separated by tabs.  (In practice, the Linux syslogd accepts
spaces too, but the Solaris one is very picky about
requiring tabs).

When you specify a priority, all higher priorities are
implied by default. This means if you select mail.info,
you're going to get mail.info all the way up to mail.emerg,
unless you explicitly say mail.=info.  The values of * and
none refer to everything and nothing respectively.  So, if
you wanted to log all the kernel messages to /var/log/kernel
you would have:

kern.*		/var/log/kernel

and if you wanted all the info messages except for mail in
/var/log/info:

*.info;mail.none		/var/log/info

Looking at the default syslog.conf is helpful.  Here, the
definition of the messages file, which is usually a good
place to find general messages about anything:

*.info;mail.none;authpriv.none		/var/log/messages

This grabs any messages with a priority of info or above,
unless they are from the mail or authpriv facility.  Later
on you'll see definitions for authpriv.* and mail.* to split
those off unto themselves.

Anything that isn't caught in the config file gets dropped.
Any changes to the file require that you restart the syslogd
daemon.  Furthermore, syslogd will not create the logfile,
you have to use the touch command to create it yourself.

You can test your rules with the "logger" command.  This
same command is also great for shell scripts to provide
status via syslog.

logger -p kern.info "Hey!"

--will write "Hey!" to kern.info.

The syslog system is very powerful, and allows you to
take control over what you log.  Since the back end
communication works on sockets and files, unprivileged
processes can safely write private messages.  The man pages
for both syslog.conf, syslogd, and logger will show you the
other options available, such as having all your machines
log to one central machine for security and ease of
administration.


Long live the Penguin,

Sean
mailto:swalberg@brainbuzz.com

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

-----------------------------
Slashdot Interviews Bob Young
-----------------------------
Bob Young, Chairman of Red Hat software, gave his answer to
some questions posed by Slashdot readers. Among them are his
take on Linux's future, and some pretty harsh criticism about
recent comments made by Open Source opponents.

http://slashdot.org/article.pl?sid/04/11/1555216


---------
Linux PDA
---------
The Agenda VR3 is the first commercially released PDA that
runs Linux. Brainbuzz user mokjason gives some thoughts,
links, and the start of a discussion.

http://boards.brainbuzz.com/boards/vbm.asp?rpg=1&wpg=1&sb=0&m'5587


-----------------------------------
W32.Winux a Sign of Things to Come?
-----------------------------------
An announcement earlier in the month about a virus that is
supposed to be able to infect both Windows and Linux computers
came as quite a surprise to me. Though at the moment a low
risk, this article asks the question, "What Next?"

http://www.networkweek.com/wire/story/TWB20010402S0004


------------------------------------------
New digital Internet/TV has "Linux inside"
------------------------------------------
Embedded Linux devices may soon be making their way into homes
by way of televisions. This TV offers Internet functionality,
not to mention some sophisticated systems on the regular TV
programming. In a market where price is paramount, the maker
was able to drop the per unit cost by using Free software.

http://www.zdnet.com/zdnn/stories/news/0,4586,2694183,00.html


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

--------------------------
Clean up /tmp the Safe Way
--------------------------
Automatically getting rid of temporary files may seem like
an easy task, but if done improperly can cause problems.
Most often, you may be working on files that other people
can control, which requires some care. This article goes
through the simple cases, and then into some more secure and
correct ways of dealing with /tmp.

http://www.linuxgazette.com/issue18/tmp.html


--------------------------------
A First Look at Linux Clustering
--------------------------------
Most people are familiar with the concept of a Beowulf
cluster, which has been popularized lately by companies
like Shell. Have you ever wondered about the details behind
such a beast? Are there other ways to accomplish the same
thing? This article tries to answer those questions, and
the reader comments at the end round it out.

http://www.linux.com/newsitem.phtml?sid“&aid019


-------------------
GIMP PERL Scripting
-------------------
I'm a big fan of the GNU Image Manipulation Tool. The wide
range of plugins available is astounding, plus it's really
easy to write your own. I've always wondered how to use the
Gimp perl module so that I could control it from Perl
(rather than learning Scheme). Alex Harford, an author and
fellow Canadian, wrote an excellent tutorial on the Gimp
perl module.

http://www.dowco.com/~alexh/perl.html


-------------------------
Free Chapters on mod_perl
-------------------------
mod_perl is an apache module that embeds a perl interpreter
within the web server itself to enhance performance. This
site has some sample chapters from the O'Reilly book on
writing perl apache modules, covering topics such as the
Apache::Registry module (to replace CGI), and writing
authentication and authorization modules.

http://www.modperl.com/book/chapters/


-----------------------
Linux for Windows Users
-----------------------
For those not wanting an in-depth technical discussion of
how to migrate, this article takes a high level view of the
differences and similarities in the GUIs. There are lots of
screen shots presented together that highlight that Linux
can be just as easy to use as Windows.

http://mozillaquest.com/Linux4Windows/Linux4Windows01/Linux4Windows
_01_01_St
ory-01.html


===========================================================
4) App o' the week
===========================================================
The first time I tried this out, I was hooked. PHPNuke is a
PHP web site system that allows you to update news articles
easily, host forums, FAQs, and downloads. It is all done
within a theme structure, so you can easily change the look
and feel of your site without having to know much PHP.
MandrakeSoft, the makers of the Mandrake Linux distribution
hired the author of this on a full time basis, ensuring that
PHPNuke will be around for the long haul.

http://www.phpnuke.org

===========================================================
(C) 2001 BrainBuzz.com. All Rights Reserved.
===========================================================

_______________________________________________________

         This message is from BrainBuzz.com.

You are currently subscribed to the
   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 by e-mail:
   send a blank email message to:
   mailto:join-linuxnews@list.brainbuzz.com
_______________________________________________________