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 www.CramSession.com
                 Thursday, June 13, 2002
===========================================================

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

1) Sean's Notes

2) Linux News

	I Wish We Had Viruses...
	Red Hat, Oracle, and Dell
	Microsoft Shills on the Attack, Again
	SELinux to be Certified?

3) Linux Resources

	Apache for WebHeads
	Ask Shadowman
	Linux Fax Server
	Sysadmin's Universal Translator
	How do Hackers do it?

4) App o' the Week


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

Get your certification now. Pay later! If you want to learn
more about Intense School's No money down and No payments
for one year financing, go to our website or call toll free
1-800-330-1446 to speak to an Intense School Specialist.

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

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

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

A common question is "How do I change my window manager?"
The answer is both simple and complex, depending on how
deep you want to go.

I'll start off with the simple answer, at least for Red Hat
and compatible users.  Just run "switchdesk", and make your
choice.

Taking a look at the harder way will show us what switchdesk
really does, and also give some insight into how X runs.

X is often started via "startx", a shell script that does
some small housekeeping before starting the X server.  One
of the more important things it does is find out what is
supposed to happen right after the X server is started,
such as starting up a window manager or desktop environment.

These instructions take the form of a shell script.  Usually
one shell script calls another shell script, which leads to
a chain of events needed to start up X.  As we'll see, there
are lots of opportunities for the user to take over the
process and customize it to his own needs.

One of the first things that startx does is tries to find out
if you're going to provide your own startup instructions, or
if the global ones are to be used.  This is handled by
xinitrc (which might be called Xinitrc depending on your OS).
In the event that you've got a file called ".xinitrc" in your
home directory (note the leading dot), it will be used instead.
xinitrc does lots of important things such as loading in
resources (sort of environment variables for X) and performing
keyboard remappings.  The final thing that xinitrc (assuming
you haven't overridden it) does is tries to find out what X
clients to run (from its perspective, your window manager is
just another X client, like a terminal window).

The list of clients to run is another shell script.  The
global version is called "Xclients", but it can be overridden
if you have a ".Xclients" file in your home directory (using
the tilde to represent your home directory, it'll be called
~/.Xclients)

This .Xclients is what switchdesk changes.  It basically copies
some of the templates from /usr/share/apps/switchdesk/Xclients.*
into ~/.Xclients.  For example, the one to start up GNOME is
pretty simple:

exec gnome-session

gnome-session will then start up everything needed to work in
GNOME.

If you don't have a ~/.Xclients, then the global Xclients
file has to decide what to run for you.  First, it checks for
the existence of /etc/sysconfig/desktop.  If that file sets
a variable called "PREFERRED", then that is used to set the
default window manager.

If PREFERRED is either "gnome" or "kde" (case insensitive),
then the appropriate one is loaded.  If PREFERRED is the name
of an executable, ie "twm", then that is executed:

PREFERRED=kde
or
PREFERRED=fvwm

Note that this step is specific to Red Hat and compatible
distributions.  One of the things that makes me really like
Red Hat is that the behaviour of many scripts can be changed
in simple configuration files rather than digging into the
shell scripts.

If you don't have a "desktop" file, or didn't set PREFERRED,
then the global Xclients tries the following, in order:

GNOME
KDE
checks ~/.wm_style to see if you want to run Window Maker, FVWM 95,
or mwm
FVWM95
FVWM
TWM

Since a lightweight WM like TWM is installed on pretty much
every X-Window capable device,

Each Window Manager or Desktop Environment is then free to
load up whatever it thinks appropriate.  For example, gnome-
session will restore your windows, load up gmc or nautilus,
and start the panel.  FVWM will read the ~/.fvwmrc file to
see what to do.

For those logging in through the graphical interface (called
the Display Manager), the procedure is mostly the same.  If
you selected a specific environment when you logged in, the
appropriate program will be loaded.  If you left it on "default",
then ~/.xsession is consulted, failing that, your ~/.xclients
is used, and failing that, the global Xclients is run.

Phew!  That's a lot of files, and we haven't even looked at
the ones that the individual Window Managers are going to
touch!  For my own sanity, I'll stop here.

Lots of files come together to bring up the complex
environment known as X.  The default scripts are very good at
trying to figure out what you want, but like everything Unix,
the user knows best and can override almost anything.

Long live the Penguin,

Sean
mailto:swalberg@cramsession.com


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


-------------------------
I Wish We Had Viruses...
-------------------------
"One of the great defects in Linux compared to Windows is that
it is not infected by cool viruses. Viruses are obviously fun,
as is made obvious by the refusal of so many Internet-connected
Windows users to switch to Linux as the easiest way to make
themselves virus-free. For a few days there, we hoped the new
cross-platform Simile.D virus would let us Linux users in on
the fun, but it turned out to be a false alarm."

It only gets better from there...

http://newsforge.com/newsforge/02/06/07/0121241.shtml?tid#


--------------------------
Red Hat, Oracle, and Dell
--------------------------
In a series of announcements, these three companies have
indicated they are going to work on bringing highly available,
scalable database clusters to Linux, using inexpensive Intel
hardware. I wish the best for all three, they all have to
notch products, and I'm looking forward to seeing them play
on each other's strengths. (and they can send one of those
babies over for a review any time!)

http://www.redhat.com/about/presscenter/2002/press_oracle1.html


--------------------------------------
Microsoft Shills on the Attack, Again
--------------------------------------
Here are more allegations that Microsoft is paying for
supposedly unbiased reviews. Gartner group is a longstanding
proponent of Microsoft, though they have spoken against them
in the past (recommending IIS not be used at one point). Who
can you trust these days?

http://www.ooodocs.org/modules.php?name=News&file=article&sid‘


-------------------------
SELinux to be Certified?
-------------------------
"Project EGOVOS (TM) (Project E-Government Operating System)
will apply for certification of the National Security Agency's
Security-Enhanced Linux (SELinux) under the NIAP Common
Criteria Evaluation and Validation Scheme for IT Security.
SELinux is an ideal and secure operating system for the global
critical IT infrastructure."

http://biz.yahoo.com/bw/020319/192155_1.html


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


--------------------
Apache for WebHeads
--------------------
A good introduction to the Apache web server, this article
covers the installation and basic configuration of Apache.
Setting up a web server is a great way to becoming accustomed
to the Unix operating system, as it pulls in concepts like
networking, file permissions, and editing files into a
package that most people are already familiar with.

http://infocenter.cramsession.com/techlibrary/gethtml.asp?ID11


--------------
Ask Shadowman
--------------
RedHat has answered some common security related questions
through its "Ask Shadowman" webpage. The answers are solid
and down to earth, and well worth a read.  It's also a good
laugh, as the style is quite informal and brings on a few
chuckles.

http://www.redhat.com/advice/ask_shadowman.html


-----------------
Linux Fax Server
-----------------
Tired of a fax modem at every computer that needs to fax?
Sick of the high cost of network fax software? Samba and
HylaFax to the rescue!

http://www.linuxgazette.com/issue79/fraile.html


--------------------------------
Sysadmin's Universal Translator
--------------------------------
Someone has taken a list of common Unix flavours and common
tasks, and thrown them into a large table. It's helpful if
you know how to do something on one variant, but are stuck
having to do it on a different one.

http://bhami.com/rosetta.html


----------------------
How do Hackers do it?
----------------------
A pretty good PDF article on how crackers find and exploit
vulnerabilities in Solaris. Most of what is in here applies
to all variants of Unix.

http://www.sun.com/solutions/blueprints/0502/816-4816-10.pdf


===========================================================
4) App o' the Week
===========================================================
Mozilla released 1.0 last week.  Congratulations to the
development team!

http://www.mozilla.org


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

         This message is from CramSession.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.cramsession.com
_______________________________________________________