Linux-Misc Digest #18, Volume #26 Fri, 13 Oct 00 04:13:02 EDT
Contents:
Re: Maximum swap partition size? (Paul Colquhoun)
(no subject) (Ryan Derksen)
Re: RH6.2 login is now broken - how to fix? ("Gene Heskett")
Re: about sendmail ("Andrew Serukov")
Re: What is System.map ? (Paul Kimoto)
Re: install new fonts ("bluster")
Persistent password problem (Ron Ho)
How to use tune2fs ("Kilian A. Foth")
Re: End-User Alternative to Windows ("Tom Emerson")
Re: Redhat 7 won't run quake/quake2 (Thomas Zajic)
Re: about sendmail (Christopher Browne)
Re: What is System.map ? (Villy Kruse)
How will I restore back LILO (YY Lee)
Re: word docs 2 ps/pdf ("Matt O'Toole")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Paul Colquhoun)
Subject: Re: Maximum swap partition size?
Reply-To: <[EMAIL PROTECTED]>
Date: Fri, 13 Oct 2000 05:16:11 GMT
On Fri, 13 Oct 2000 03:06:07 GMT, �ric GARANT <[EMAIL PROTECTED]> wrote:
|I don't know for your kernel..
|but what I know is that with RedHat 6.0 the maximum swap partition size is
|127 MB
|
|
|"Timothy J. Lee" <[EMAIL PROTECTED]> a �crit dans le message news:
|8s5fr2$[EMAIL PROTECTED]
|> What is the maximum swap partition size of 2.2 kernels? 2.4 kernels?
Recent kernels don't have a limit for the size of swap partitions.
On kernels that do have a limit, it can easily be worked arround by
defining multiple swap partitions.
--
Reverend Paul Colquhoun, [EMAIL PROTECTED]
Universal Life Church http://andor.dropbear.id.au/~paulcol
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
xenaphobia: The fear of being beaten to a pulp by
a leather-clad, New Zealand woman.
------------------------------
From: Ryan Derksen <[EMAIL PROTECTED]>
Subject: (no subject)
Date: Thu, 12 Oct 2000 22:11:09 -0400
------------------------------
Date: 13 Oct 2000 0:52:1 -0500
From: "Gene Heskett" <[EMAIL PROTECTED]>
Subject: Re: RH6.2 login is now broken - how to fix?
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Unrot13 this;
Reply to: <[EMAIL PROTECTED]>
Gene Heskett sends Greetings to mnip ;
> I logged in to my RH6.2 mail and web server for the first time in weeks
> today, but the telnet login is now inoperable. I get the RH62 message, but
> no login prompt. I then went over to the physical machine, and a similar
> thing, login: but any input just returns the login: prompt.
> I checked webmin, and that still works, as do the web serrvices, everything
> seems to be in order except the login daemon, or the shell or something I
> don't quite know enough about linux yet to diagnose.
> I figured what the heck, the machine hasn't been rebooted in months. I
> issued the reboot signal, and the machine comes back with the same malady.
> What is going on, and how can I fix it? RH gives a linuxconf option (I did
> install the latest linuxconf rpms), but I don't forsee any magic daemon
> fixes in that interface.
> Please reply with any ideas ASAP. Fortunately, the intended functions seem
> to be uninterrupted, but I'm anxious to login all the same...
You've been hacked. Thats the usual response when a 'rootkit' has been
installed.
Take it offline ASAP to prevent any further useage by the hacker. Then
backup any data you need, and only what you need so as to not backup the
hackers work, wipe the disk clean and reinstall.
Then goto updates.redhat.com and grab and install *all* the fixes
available for 6.2 there.
Make sure tcpwrappers is running too.
If this machine is a working machine, and not a development machine, get
rid of the compiler because if they don't have a compiler, they can't
compile the rootkit on your machine. You can always re-install it
temorarily if you need it for some project or other. Get rid of the
whole rsh package and all the utils in it, also telnet, use ssh instead.
Then hook it up long enough to go get portsentry from www.psionic.com
and install it. Once thats in and running, it might be safe to plug in
the ethernet cable and leave it plugged in again.
That may not be enough to stop a really determined cracker, but its
managed to reject about 30 passes at hacking my office machine so far.
Cheers, Gene
--
Gene Heskett, CET, UHK |Amiga A2k Zeus040, Linux @ 400mhz
email gene underscore heskett at iolinc dot net
#Amiga based X10 home automation program EZHome, see at:#
# <http://www.thirdwave.net/~jimlucia/amigahomeauto> #
ISP's please take note: My spam control policy is explicit!
#Any Class C address# involved in spamming me is added to my killfile
never to be seen again. Message will be summarily deleted without dl.
This messages reply content, but not any previously quoted material, is
� 2000 by Gene Heskett, all rights reserved.
--
------------------------------
From: "Andrew Serukov" <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.perl.misc,comp.os.linux.networking
Subject: Re: about sendmail
Date: Fri, 13 Oct 2000 05:31:22 GMT
"Christopher Browne" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> In our last episode (Fri, 13 Oct 2000 11:43:57 +0800),
> the artist formerly known as Lucas Gamp said:
> >I used to send email in CGI by /usr/sbin/sendmail, but this time I must
> >send a HTML that contains images, so how should I deal with the images,
> >how to print to sendmail?
>
> Simple Answer: You can't.
>
> This is more or like asking how you might use your refrigerator to bake
> a pie. I don't use my fridge for that; I use an oven.
>
> Explaining...
>
> -> Suppose your document contains the tag:
> <img src="local://myfilename.jpeg">
>
> That represents an image that must _already_ be on a local filesystem
> at the destination.
>
> -> Suppose your document contains the tag:
> <img src="http://somehost.org/pictures/mypicture.jpeg">
>
> That represents an image that the web browser will try to access
> via the HTTP protocol.
>
> Those are basically the two options you have. Sendmail has no way
> of indicating that a file be put into "myfilename.jpeg".
>
> And it is a server that uses the SMTP protocol, not the HTTP protocol,
> so it can't serve up http://somehost.org/pictures/mypicture.jpeg
>
> This is inherently outside the scope of anything Sendmail might be
> used to do. Sendmail is used to send messages. It doesn't
> display images, or transfer anything using the HTTP protocol. It is
> not a program that is used to print things.
>
> Note that if you use an image URL that references your favorite
> web server, someone that is reading their email using a web browser
> rather than a mail client will find that their web browser will head
> to that web server and pull the image via HTTP. Sendmail won't be
> involved in the slightest.
> --
> [EMAIL PROTECTED] - <http://www.ntlug.org/~cbbrowne/internet.html>
> Do not meddle in the affairs of dragons, for you are crunchy and taste
> good with ketchup.
There's MHTML, mime-based multipart HTML.
I'm not sure if it's Microsoft-proprietary (it feels like it's not) but MS
does
support it in newer apps. I haven't heard of Linux packages that would
handle MHTML but then I haven't looked for them either.
If there's one, it may solve your problem just fine.
--Andrew
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Crossposted-To: alt.os.linux
Subject: Re: What is System.map ?
Date: 13 Oct 2000 01:50:32 -0500
Reply-To: [EMAIL PROTECTED]
In article <1NnF5.17589$tL4.225862@zonnet-reader-1>, J.Smith wrote:
> The programs that *do* need the existence of system.map, will they be
> looking for /boot/system.map, or are they able to figure out that kernel.1 &
> system.map.1, kernel.2 & system.map.2 belong together?
These programs are klogd(8), ksymoops(8), depmod(8), and the procps tools
(ps(1), top(1), ...). Consult the man pages: you will find that they don't
all do the same thing in looking for System.map files.
> Does it make sense to
> change a symlink system.map to the correct system.map every time the system
> gets booted? Or are these programs primarly debugging tools that allow you
> to specify the correct system.map on the command line?
ksymoops(8) is a debugging tool.
depmod(8) doesn't need a System.map file if it's operating on the currently
running kernel.
ps(1) and klogd(8) like to find a System.map file, but don't look in the
same places.
It seems to be a popular solution to make a /boot/System.map symbolic link,
but I instead put the file in /lib/modules/`uname -r` and tell klogd at
startup to look there.
--
Paul Kimoto
This message was originally posted on Usenet in plain text. Any images,
hyperlinks, or the like shown here have been added without my consent,
and may be a violation of international copyright law.
------------------------------
From: "bluster" <[EMAIL PROTECTED]>
Subject: Re: install new fonts
Date: Fri, 13 Oct 2000 01:49:19 -0400
Te-Cheng Shen <[EMAIL PROTECTED]> wrote> Hello
> I have to questions
> (1) where to download free fonts for Linux?
> (2) Once I installed new fonts, how can I tell Acrobat to use these
> new fonts to display better and print nice document?
>
> I do not know where to ask the second one. Please accept my apology
> if this is not an appropriate news group.
>
> Thanks
>
> STC
These should help!
XFree86 Font Deuglification mini HOWTO
http://www.linuxdoc.org/HOWTO/mini/FDU/index.html
Font HOWTO
http://www.linuxdoc.org/HOWTO/Font-HOWTO.html
Good luck!
Bluster
------------------------------
From: [EMAIL PROTECTED] (Ron Ho)
Crossposted-To: comp.os.linux.setup
Subject: Persistent password problem
Date: 12 Oct 2000 23:12:46 -0700
help. i'm confused.
i have a linux redhat 6.2 (2.2.14-5.0smp) machine. in my /etc i have two
files for passwords and shadows:
chubba-<28> ls -al /etc/pass*
-rw-r--r-- 1 root root 576 Oct 12 22:27 /etc/passwd
-rw-r--r-- 1 root root 576 Oct 12 22:27 /etc/passwd-
chubba-<29> ls -al /etc/shad*
-r-------- 1 root root 545 Oct 12 22:27 /etc/shadow
-r-------- 1 root root 545 Oct 12 22:27 /etc/shadow-
first, what are these secondary files? "passwd-" and "shadow-"?
second, why is my entry the only one that differs between the two?
(entries below truncated for brevity and my peace of mind)
[root]# diff /etc/shad*
21c21
< ronho:$1$Krxwhgpn$Q(snip):11243:0:99999:7:-1:-1:134537756
---
> ronho:$1$Ylp4SnO4$2(snip):11243:0:99999:7:-1:-1:134537756
how did i do this?
third, and most confounding:
a few days ago, i changed my password, by running "passwd" as myself.
today i noticed that my old password still worked. let's say my old
password was "foo," and my new password is "bar." so both "foo" and
"bar" work for me. (HUH?)
if i run passwd again, and change "bar" to "gack," then now i can log in
using "foo" and "gack" (but not bar). somehow, the system allows me to
use my old password even if my new password is changed.
same thing happens if i run "passwd ronho" as root, and change "gack"
to "oik." now "foo" and "oik" work.
same thing happens if i:
- run pwunconv
- delete the "ronho" entry from the passwd file
- as root, run "rm -f /etc/shad*"
- run pwconv to restore the shadow passwords
- run useradd to recreate my account
- as root, do "passwd ronho" and set it to "baa"
now "foo" and "baa" work. holy smokes.
BUT...
here's the kicker. my home directory is nfs-mounted. NONE OF THIS
FOOLISHNESS WORKS IF THE HOME DIRECTORY IS NOT MOUNTED. i.e. if as root,
i "umount -a," then login, i cannot use "foo"! i can only use "baa" (or
whatever the latest correct password is).
but as soon as i mount the home directory, the problem of the old
persistent password reappears.
what am i doing? i think it should be something simple, but i can't
figure it out.
thanks in advance!
yours in frustration,
ron
------------------------------
From: "Kilian A. Foth" <[EMAIL PROTECTED]>
Subject: How to use tune2fs
Date: 13 Oct 2000 06:39:48 GMT
>From man tune2fs:
"Never use tune2fs to change parameters of a read/write mounted
filesystem!"
"WARNING Use this utility at your own risk. You're modifying a
filesystem!"
Following that advice, could an expert confirm that the following is
the proper way to remove time/mount-count fsck's of the system disk
during boot, and retain checking for serious errors?
mount /mnt/hda5 -r -oremount
tune2fs -c0 -i0 hda5
mount /mnt/hda5 -w -oremount
------------------------------
From: "Tom Emerson" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.advocacy
Subject: Re: End-User Alternative to Windows
Date: Thu, 12 Oct 2000 23:43:54 -0700
David Fulton <[EMAIL PROTECTED]> wrote in message
news:GlgF5.2$[EMAIL PROTECTED]...
> HMMM...
>
[...]
>
> I think you need to seperate out the fact that OS/2 was taken over by IBM
> and is still used by some people today (quite religiously too, although I
am
> not one that uses it.)
Don't be too sure of your self on this one -- many people use OS/2 without
even realizing it -- most, if not all, ATM's are running OS/2 In fact, I
remember reading a trade magazine almost 5 years ago where they pointed out
the latest ATM was running OS/2 2.1 "out of the box" ...
[ATM here means Automated Teller, not that fancy high-speed message transfer
system... ]
------------------------------
From: [EMAIL PROTECTED] (Thomas Zajic)
Subject: Re: Redhat 7 won't run quake/quake2
Reply-To: [EMAIL PROTECTED] (Thomas Zajic)
Date: Fri, 13 Oct 2000 06:30:23 GMT
On Wed, 11 Oct 2000 19:08:39 GMT, Paavo Leinonen wrote:
> glibc 2.1.92 is installed (it was part of the default Gnome-
> workstation install), but I have not done any configuration
> to use glibc instead of libc's. What should I do? RTFM? :)
Ouch, that's a development version - I've had some problems with it
at work, too (Debian 2.2 unstable (Woody?)). The new ld/ld.so wouldn't
load the game .so's from Q3A Rocket Arena 3 v1.3, so I had to downgrade
our RA3 server to v1.0 (my Slack 7.0 at home with glibc-2.1.2 loads &
runs RA3 v1.3 just fine).
Unfortunately I haven't found a way yet to back out unstable packages
that don't work properly. I'm tempted to remove the unstable branches
in /etc/apt/sources.list, 'apt-get update', and then 'apt-get --reinstall
install libc6 ldso', but libc6 and ld.so are probably not the best
packages to start experimenting with. Any experienced Debian users out
there who know the right way?
Thomas
--
=-------------------------------------------------------------------------=
- Thomas "ZlatkO" Zajic <[EMAIL PROTECTED]> Linux-2.2.17/slrn-0.9.6.3pl1 -
- "It is not easy to cut through a human head with a hacksaw." (M. C.) -
=-------------------------------------------------------------------------=
------------------------------
From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: comp.lang.perl.misc,comp.os.linux.networking
Subject: Re: about sendmail
Reply-To: [EMAIL PROTECTED]
Date: Fri, 13 Oct 2000 07:03:03 GMT
In our last episode (Fri, 13 Oct 2000 05:31:22 GMT),
the artist formerly known as Andrew Serukov said:
>"Christopher Browne" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> In our last episode (Fri, 13 Oct 2000 11:43:57 +0800),
>> the artist formerly known as Lucas Gamp said:
>> >I used to send email in CGI by /usr/sbin/sendmail, but this time I must
>> >send a HTML that contains images, so how should I deal with the images,
>> >how to print to sendmail?
>>
>> Simple Answer: You can't.
>>
>> This is more or like asking how you might use your refrigerator to bake
>> a pie. I don't use my fridge for that; I use an oven.
>>
>> Explaining...
>>
>> -> Suppose your document contains the tag:
>> <img src="local://myfilename.jpeg">
>>
>> That represents an image that must _already_ be on a local filesystem
>> at the destination.
>>
>> -> Suppose your document contains the tag:
>> <img src="http://somehost.org/pictures/mypicture.jpeg">
>>
>> That represents an image that the web browser will try to access
>> via the HTTP protocol.
>>
>> Those are basically the two options you have. Sendmail has no way
>> of indicating that a file be put into "myfilename.jpeg".
>>
>> And it is a server that uses the SMTP protocol, not the HTTP protocol,
>> so it can't serve up http://somehost.org/pictures/mypicture.jpeg
>>
>> This is inherently outside the scope of anything Sendmail might be
>> used to do. Sendmail is used to send messages. It doesn't
>> display images, or transfer anything using the HTTP protocol. It is
>> not a program that is used to print things.
>>
>> Note that if you use an image URL that references your favorite
>> web server, someone that is reading their email using a web browser
>> rather than a mail client will find that their web browser will head
>> to that web server and pull the image via HTTP. Sendmail won't be
>> involved in the slightest.
>> --
>> [EMAIL PROTECTED] - <http://www.ntlug.org/~cbbrowne/internet.html>
>> Do not meddle in the affairs of dragons, for you are crunchy and taste
>> good with ketchup.
>
>There's MHTML, mime-based multipart HTML.
>I'm not sure if it's Microsoft-proprietary (it feels like it's not) but MS
>does
>support it in newer apps. I haven't heard of Linux packages that would
>handle MHTML but then I haven't looked for them either.
>If there's one, it may solve your problem just fine.
And this has _what_ to do with Sendmail?
And this has _what_ to do with the two ways that HTML provides for
referencing images?
And this has _what_ to do with HTTP? Or SMTP?
Microsoft might have set up some proprietary way of transferring
images using MAPI, but that's not going to be generally useful
either with:
a) Sendmail, which simply transfers whatever you put in a message
from one place to another, or
b) The vast selection of mail clients out there that may not even
interpret HTML.
--
[EMAIL PROTECTED] - <http://www.ntlug.org/~cbbrowne/lsf.html>
Why are there 5 syllables in the word "monosyllabic"?
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: What is System.map ?
Date: 13 Oct 2000 07:16:59 GMT
On 12 Oct 2000 18:17:08 +0100, Chris J/#6 <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote:
>>The System.map file contains de-bug information about the kernel you
>>just "made". This file is not required for the system to boot or
>>function. You will see some errors in you log file as a result of it not
>>being there - but who cares. The only people who need this file are hard
>>core programmers. What I am trying to say is, put it there if you want it
>>does not matter.
>>
>
>Hmm...I had problems with a System.map mismatch on a 2.2.12 kernel - it
>basically killed the modules system. Took me ages to work out what was
>going wrong. depmod -a kept reporting unknown or unreferenced symbols
>in every module. Once I sorted out the right System.map, all was hunky
>dory.
>
>Unless someone can correct me, you *need* a valid System.map for modules
>to load.
>
The modules gets the addresses from the kernel itself using the exported
symbols. You can see these addresses in /proc/ksyms, which is generated
on the fly directly from the kernel.
Villy
------------------------------
From: YY Lee <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: How will I restore back LILO
Date: Fri, 13 Oct 2000 07:40:46 GMT
I'm sending my dual boot new Toshiba Tectra to Toshiba because the
CD-ROM no longer works. Me didn't tell them I left a CD in the drive
for almost a month while mobilizing around. The /dev/hda1 has Windows
98 in the >2.1 GB while rest of 8.4 GB has Mandrake 7.1 using LILO as OS
loader. I'm gonna whack MBR so not to lose the warranty before shipping
with MS-DOS 'fdisk /mbr' but not deleting its Linux contents. How will
I restore the LILO when I'll have it back?
------------------------------
Reply-To: "Matt O'Toole" <[EMAIL PROTECTED]>
From: "Matt O'Toole" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: word docs 2 ps/pdf
Date: Thu, 12 Oct 2000 12:31:13 -0700
"Eric" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Christian Wenz wrote:
> >
> > i am looking for a simple tool which converts word documents to a format
> > like ps or pdf or maybe tex.
> > are ther any tools like this ???
>
> search freshmeat, there are tools around that do this
Like mswordview?
Matt O.
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************