|
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 8, 2002 -- Issue #93
===========================================================
-----------------
TABLE OF CONTENTS
-----------------
1) Sean's Notes
2) Linux News
Security Bug in Popular Library
Codeweavers Releases 1.2
Linux Scores Big
MySQL Certification Announced
3) Linux Resources
Using RAID
How many System Administrators are Enough?
Traffic Monitoring With MRTG
Using apt-get
OpenSSH Vulnerability
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, industry-approved
content 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&AIU57
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
===========================================================
Last week I started to look at the /etc/inittab file, which
led into a description of the SysV startup scripts:
http://newsletters.cramsession.com/Newsletters/NewsletterArchive/Li
nuxNews/august-1-2002linux.txt
Basically, each service that wants to be started or stopped
this way has a script in /etc/rc.d/init.d. It is called
with either the "start" or "stop" argument, depending on if
it is to be started or stopped respectively. Entering
runlevel N, /etc/rc.d/rcN.d is checked. All the files
starting with K are run with the stop argument, then all the
files starting with S are run with the start argument. Each
of these files is in fact a symlink back to the init.d
directory.
Through the magic of inittab, this can happen. Recall that
each line in the file looks like this:
id:runlevel:action:command
Where the id is just a unique ID, the runlevel says when
the action is valid, the action says what is to be done,
and the command specifies how it is to be done. We saw that...
l3:3:wait:/etc/rc.d/rc 3
...will take care of setting things in motion to get
ourselves into runlevel 3.
"wait" means that the command is to be executed when the
system enters the given runlevel, and that init is to wait
for it's termination.
There is another, equally handy, action that does something
similar. It's called "respawn". The command is run, and
upon termination, it is re-run.
"Listen on the first virtual terminal, and give the user a
login session. When they finish, do it again."
This translates to:
1:2345:respawn:/sbin/mingetty tty1
mingetty is what we call a "getty"; it sits on a device
(virtual terminal, serial port, modem) and provides a tty
(a terminal). When you're logging in to your console,
you're talking to a getty.
We can also use this technique in runlevel 5 to give a
graphical X login:
x:5:respawn:/etc/X11/prefdm -nodaemon
That line fires up your preferred display manager (xdm, kdm,
gdm), which gives you the cute graphical username and password
dialogue. It hands off control to GNOME or whatever you're
using once you log in. When you log out, it it exits. init,
noticing that it's gone, restarts it. Pretty handy, eh?
Some of the other events that init can handle are the
starting of the system through the "sysinit" action:
si::sysinit:/etc/rc.d/rc.sysinit
This part of the bootup takes care of mounting the
filesystems, swapfiles, and other housekeeping before you
enter your default runlevel. Read through it some time,
it'll give you some insight into how your computer goes from
being just a running kernel, to a multiuser system.
init also handles power problems. If you've got a UPS or
other hardware that can provide advance warning of a power
outage, init can shut down your system cleanly:
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"
or, if power is restored, stop the shutdown:
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"
There are a few other actions I didn't cover, but you can
read about them in the inittab(5) man page.
/etc/inittab is a pretty simple file, but it controls the
actions of init. Almost everything in your system passes
through init in some way or another, which means that inittab
is a pretty critical file in the grand scheme of things.
>From inittab, all the bootup and runlevel scripts are run.
If you want to learn how your system operates, inittab is a
great place to start.
Long live the Penguin,
Sean
mailto:swalberg@cramsession.com
===========================================================
2) Linux News
===========================================================
--------------------------------
Security Bug in Popular Library
--------------------------------
Thanks to the lovely and talented Cherina for pointing me
toward this article. Seems there is a bug in parts of the
Sun RPC code that other OSes, including Linux and Solaris,
use for the Kerberos authentication mechanism. This bug
could lead to a compromise of the Key Distribution Centre,
which is not a happy thing.
http://www.eweek.com/article2/0,3959,439927,00.asp
-------------------------
Codeweavers Releases 1.2
-------------------------
Codeweavers is a commercial company that is pouring work
into the WINE project, which will let Windows binaries run
on Linux. 1.2 promises both Quicken and Visio support, along
with some support for QuickBooks! I'll see what I can do about
getting a demo and letting you know first-hand how it works.
http://www.codeweavers.com/about/press_releases/?id 020807
-----------------
Linux Scores Big
-----------------
Here is a small success story about a company that was
providing systems to the companies that lost their servers
on September 11th. Seems the Windows box couldn't keep up
to the load, so they tried a Linux box and were impressed.
http://newsforge.com/newsforge/02/08/06/1432203.shtml?tid=3
------------------------------
MySQL Certification Announced
------------------------------
MySQL, that SQL database we all love, has come out with a
certification program. If you dig around, you can sign up to
be a beta tester. A big rip if you ask me, it's $100 as
opposed to the $150 they plan to charge, and you have to
answer three times as many questions. Still, it's good to
see that some of the tools out there are looking at getting
people qualified.
http://www.mysql.com/training/certification.html
===========================================================
3) Linux Resources
===========================================================
-----------
Using RAID
-----------
RAID, the "Redundant Array of Independent Disks", adds fault
tolerance to a system by spreading data over multiple drives.
This article goes over the different types of RAID, how to
implement it in software, and most importantly, how to
maintain and recover from a failure.
http://www.linuxplanet.com/linuxplanet/tutorials/4349/2/
-------------------------------------------
How many System Administrators are Enough?
-------------------------------------------
This paper explains some factors to consider when determining
how many admins are needed to maintain a site. Not
surprisingly, things like automation play a vital role in
this calculation. Accordingly, shell scripting and
perl/python programming are valuable skills when determining
your worth to an organization.
http://www.verber.com/mark/sysadm/how-many-admins.html
-----------------------------
Traffic Monitoring With MRTG
-----------------------------
I picked this up from another one of Cramsession's
newsletters, and had to pass it along. MRTG is a set of
utilities that let you graph data obtained from SNMP (such
as routers). It's very easy to set up, if you have this
set of instructions...
(requires TechRepublic login)
http://www.techrepublic.com/article.jhtml?id=r00220020802noo01.htm&
src=search
--------------
Using apt-get
--------------
Whenever people talk about Debian, they seem to always talk
about the associated package manager. Here's an article
describing the basic usage of apt-get, along with some basic
troubleshooting commands.
http://www.linuxnewbie.org/nhf/Distribution_Specific/Debian_GNULinu
x/Debian__Using_Apt.html
----------------------
OpenSSH Vulnerability
----------------------
If you've built OpenSSH from source since the end of July
(versions 3.2.2p1, 3.4p1 and 3.4), you'll want to update
your systems. Somehow, a trojan got inserted into the
distribution tarballs.
http://www.openssh.org/txt/trojan.adv
===========================================================
4) App o' the Week
===========================================================
If you're into Voice Over IP, the Open H.323 project will
make you happy. Here is the latest release of the Open
Gatekeeper, which will let you get your video through that
pesky NAT firewall, among many other things.
http://www.gnugk.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: swalberg@cramsession.com
To un-subscribe from this newsletter by e-mail,
send a blank email message to:
mailto:leave-linuxnews-11020600A@list.cramsession.com
To subscribe to this newsletter and many others visit
our site at:
http://newsletters.cramsession.com/signup/default.asp
-------------------------------------------------------
|