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, May 17, 2001
           Read By 6,000 Linux Enthusiasts Weekly!
===========================================================

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

1) Sean's Notes

2) Linux News

	IPv6 News
	Linux at the Top of TPC Benchmark
	Nokia Media Terminal to use Loki Games
	Erase the Eazel

3) Linux Resources

	To Port, or Emulate, that is the Question
	Core Files, and What to do with 'em
	A Comparison of Linux PDAs
	Dealing With setuid Programs
	Protect Your Network

4) App o' the week


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

We GUARANTEE you will pass your exam or you get your money back!

Win2K Titles            Only $99.95 each     Normally $149.95
Win2K Accelerated Exam  Only $169.95         Normally $349.95
A+ Core & Elective      Only $99.95          Normally $249.95
INET+ or Network+       Only $79.95 each     Normally $149.95
CCNA 2.0                Only $149.95         Normally $249.95
Cisco 2.0 titles        Only $149.95 each    Normally $249.95

Add our Audio Quizzer for only $19.95 for each cassette or CD.
CALL (800) 845-8569 FOR MORE INFORMATION OR VISIT US AT
http://ad.brainbuzz.com/?RC06&AI70

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

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 ability to run a certain program at a certain time is
critical to the stability of a system.  You may want to run
backups at midnight, clean up temporary files that haven't
been touched in weeks, or run some reports.  Since you've
probably got better things to do than look at your watch all
the time, you might want to automate this.

cron is the daemon that handles this task.  With it, users
have the ability to schedule commands to run at regular
intervals, be it daily, weekly, or even every minute.

The standard way to schedule a job is to edit your crontab,
or the list of cron jobs you wish to run, via

crontab -e

That will bring you into the editor of choice, specified by
the $EDITOR environment variable.  Each line in this file
specifies one job.  There are 6 fields you'll have to know
about:

minute hour day month weekday command

A * means anything goes.  So, to run something at midnight
every day:

0 0 * * * command

Or, Midnight on Sunday

0 0 * * 0 command      or,
0 0 * * Sun command

(note that with day of week, and month, you can use the
names instead of numbers.  0 is Sunday, 1 is Monday, etc)

You can also specify ranges.  Here is weekdays, on the half
hour:

0,30 * * * 1-5 command

Once you exit the editor, the job will be scheduled.  It
will exist and run until you delete it or comment it out
from "crontab -e".

"command" can be any Unix command.  Usually, you'll put the
complex ones into a script and run that.  Keep in mind that
this script will be run as the user that you ran the crontab
command from, so make sure the permissions are such that
other people can't edit the script.

If your command produces any output, it will be mailed to
the owner of the crontab.  You can change who it goes to
(i.e. for root's crontab) by putting

MAILTO=fred

in the top of the crontab.  You may also want to add

SHELL=/bin/sh

to force the Bourne shell to be used.  Normally, scripts
may output debugging information, so you may want to
redirect the output to /dev/null:

command > /dev/null

Any errors will not be caught by that, and will get emailed
by the process above.  If you still don't want to hear them,
direct both errors and regular messages to /dev/null

command > /dev/null 2>&1

Some examples of regular jobs you may do:

# Process web logs with webalizer (www.webalizer.org) at
 midnight
0 0 * * * (cd /var/www/html/stats && /usr/local/bin/webalizer
/var/www/logs/access_log) > /dev/null

# Process system logs with logcheck (www.psionic.com)
0 * * * * /usr/local/etc/logcheck.sh

Executing "crontab -l" is a quick way to see your crontab
without having to bring it into an editor.

root can edit/list other people's crontabs:

crontab -e -u fred

"man 5 crontab" is another great reference for some more
ways to use cron.

As you can see, cron is a powerful tool.  When using it, you
have to keep a few things in mind:

- The program should run without requiring any input

- Your path is likely different than your regular shell
  Always specify locations of commands explicitly

- Try to run commands with the least privilege necessary,
  i.e. you don't always need to use root's crontab


Long live the Penguin,

Sean
mailto:swalberg@brainbuzz.com

Visit the Linux News Board at
http://boards.brainbuzz.com/boards/vbt.asp?b–2

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

---------
IPv6 News
---------
The current Internet Protocol, version 4, has shown some
limitations in terms of keeping up with growth.  IPv6 is the
protocol destined to replace it. This article gives a good
background on the reasons we're not running v6 now, and what
has to happen.

http://www.ecompany.com/articles/web/0%2c1653%2c11667%2c00.html

---------------------------------
Linux at the Top of TPC Benchmark
---------------------------------
The TPC-H benchmark is a measure of how well a database
performs in a decision support situation. Vendors like to
tout their TPC numbers. Well, Linux 2.4.3 now tops the 100GB
category, running on an SGI system and IBM's DB2.

http://www.tpc.org/tpch/results/h-ttperf.idc

--------------------------------------
Nokia Media Terminal to use Loki Games
--------------------------------------
"The Media Terminal is an innovative infotainment device
that seamlessly combines digital video broadcast (DVB),
gaming, full Internet access, and personal video recorder
(PVR) technology. As part of the agreement Linux-based
games from Loki will be pre-installed on the Media Terminal.
Anticipated roll out of the Media Terminal will be early
Fall in Europe."

http://www.lokigames.com./press/archive.php3?05162001

---------------
Erase the Eazel
---------------
It's official...Eazel, the makers of Nautilus, are shutting
down. However, we're promised that development will be picked
up by others in the GNOME community. I like the product, but
not the resources it takes on my system. I can only hope that
the work will continue.

http://mail.gnome.org/archives/gnome-hackers/2001-May/msg00203.html


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

-----------------------------------------
To Port, or Emulate, that is the Question
-----------------------------------------
In order to get a Windows game to run on Linux, you would
either have to port the game to native X/Linux code, or
build an abstraction layer to emulate the Windows API. The
former is being done successfully by Loki software, and the
latter by the up and coming Transgaming. Which is better?

http://www.gamespy.com/articles/may01/wine/

-----------------------------------
Core Files, and What to do with 'em
-----------------------------------
So you see a large file called "core". What is it?  Where
did it come from? They can be all over your filesystem,
eating up space, so you'd better learn how to deal with them!

http://www.linuxnewbie.org/nhf/intel/filesys/corefiles.html

--------------------------
A Comparison of Linux PDAs
--------------------------
I've got a Palm Pilot, and I'd sure be lost without it. As
demand for applications on these devices grows, the open
nature and low profile of Linux makes a great fit! This
review covers the Agenda VR3, Compaq iPaq, and the G. Mate
Yopy.

http://linux.oreillynet.com/pub/a/linux/2001/05/11/linux_pdas_one.h
tml

----------------------------
Dealing With setuid Programs
----------------------------
The setuid attribute on files indicates that it can assume
the UID of the owner when it's run, rather than that of the
current user. This has serious implications, especially when
root is the owner! Learn how to deal with setuid files, and
clean them up.

http://linux.com/enhance/newsitem.phtml?sid=1&aid286


--------------------
Protect Your Network
--------------------
Firewalls are an essential part of security, but they're
only a small part of your total security solution. This
article has some pointers on what else to look for, some
audit techniques, and plain old good advice.

http://www.nwfusion.com/net.worker/research/2001/0514feat2.html


===========================================================
4) App o' the week
===========================================================
The Abacus Intrusion Prevention System is a set of utilities
designed to increase the security of your system. Logcheck
will process your log files and email you of any anomolies
or security breaches. PortSentry monitors for portscans, and
can react by blocking the offender if you wish. HostSentry
learns the login patterns of your users and notifies you of
anything unusual.

http://psionic.com/abacus

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