Linux-Misc Digest #682, Volume #26 Mon, 1 Jan 01 13:13:03 EST
Contents:
Re: resizing partitions ("Peter T. Breuer")
Re: Only change login password via linuxconf --http (Ralph Spitzner)
Re: Only change login password via linuxconf --http (Jan Johansson)
Re: Only change login password via linuxconf --http (Jan Johansson)
Can't install RH 6.2 on ATA66??? ([EMAIL PROTECTED])
Re: OT: It's 2001 & M$ refuses to 'see' Linux partitions (Jean-David Beyer)
Re: suid root not working on RH7 2.2.16-22 ? ("Peter T. Breuer")
LILO/disk problem (Matthew Fleming)
2.4.x supports UDF? (Kheng-Swee Goh)
Re: lilo-- behaviour without an hda drive (Dave Brown)
Re: OT: It's 2001 & M$ refuses to 'see' Linux partitions ("Peter T. Breuer")
serial login through shared serial switch. (Rick)
Re: lilo-- behaviour without an hda drive ("Peter T. Breuer")
Re: Help - Missing file 'host.ISM' (MySQL) (Brian & Colleen)
Re: Graphical characters (Dirk Groeneveld)
Re: Weird LILO problem ... The Solution (mike)
[eterm] midnightcommander (Reiner Griess)
"no space left on disk" .. but there is (Daniel Smith)
Re: "no space left on disk" .. but there is ("J. E. Garrott, Sr")
Re: lilo-- behaviour without an hda drive (John in SD)
----------------------------------------------------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: resizing partitions
Date: Mon, 01 Jan 2001 10:15:06 GMT
Dave Stubbs <[EMAIL PROTECTED]> wrote:
> It's quite a pain that Linux doesn't yet seem to have a good partition
> resize tool. Having used AIX quite extensively I'm used to having a great
What's wrong with parted? Or LVM, come to that ...
Peter
------------------------------
From: [EMAIL PROTECTED] (Ralph Spitzner)
Crossposted-To: comp.os.linux.questions,comp.os.linux.security,comp.os.setup
Subject: Re: Only change login password via linuxconf --http
Date: Mon, 01 Jan 2001 10:59:12 GMT
In article <92oitq$vf9$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>Is there a way to ENable linuxconf's ability to change a user password
>via port 98 but DISable all its other capabilities via port 98?
If the user only needs POP3 you could give them /usr/bin/passwd as a shell.
Which, of course is not very secure, but then again it's only mail :-)
-rasp
--
But, trust me on the sunscreen....
------------------------------
From: Jan Johansson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions,comp.os.linux.security,comp.os.setup
Subject: Re: Only change login password via linuxconf --http
Date: Mon, 01 Jan 2001 12:35:04 GMT
Or install passpopd which works great in RH even with MD5 and shadow.
Several web-frontends aswell.
------------------------------
From: Jan Johansson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions,comp.os.linux.security,comp.os.setup
Subject: Re: Only change login password via linuxconf --http
Date: Mon, 01 Jan 2001 12:57:50 GMT
poppassd even.
------------------------------
From: [EMAIL PROTECTED]
Subject: Can't install RH 6.2 on ATA66???
Date: Mon, 01 Jan 2001 13:23:08 GMT
Will Red Hat install on a RAID ATA66/100 controller?� I have a beautiful new
custom built computer, Athlon TBird 900, ABIT KT7RAID, 2 IBM 765GXP Hard
Drives on the RAID controllers.� Partitioned and formatted for a linux
partition to install the RH6.2 that came on CD in the back of my textbook for
next term.� Got the error message -- no valid devices found for filesystem. I
wondered if 6.2 wouldn't work, but 7.0 might, and then I see another post
with someone in exactly the same pickle with 7.0 -- wondering if the problem
is his ATA66 controllers. The RedHat site's Compatibility List is just no
help at all, as far as I can determine.
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: OT: It's 2001 & M$ refuses to 'see' Linux partitions
Date: Mon, 01 Jan 2001 08:37:44 -0500
"Peter T. Breuer" wrote:
>
> Jean-David Beyer <[EMAIL PROTECTED]> wrote:
> > Andrew Purugganan wrote:
> > Actually, I have an old dual-boot machine with Windows 95 on it. I am
> > perfectly delighted that Windows cannot see the Linux partitions.
>
> Except of course that "it" can. Linuxtools and also that http access
> stuff whose name I forget ...
>
If I look at my dual-boot system when it is running Windows 95, it sees
only the C: drive (which takes the entire first hard drive on that
machine). Before I installed Linux on it, it saw, also, a D: and E:
drive, the 2 partitions that were on the second, new, hard drive. When
installing Linux, I deleted them from the partition table on the second
drive, and put in the Linux partitions instead. This seems to have
hidden the second drive from Windows, but I infer from your message that
this is incorrect.
Surely Windows can examine the partition on the second drive, and it
seems to ignore the partitions, since they are not FATwhatnot. I never
persued it, since I did not want Windows 95 to do anything to the new
drive anyhow.
Are the tools to which you refer meant to enable Windows users to read
or write Linux partitions in the same way that Linux can easily read or
write Windows partitions?
Perhaps all this is academic because if Windows screws up at the driver
level and sets the bits for the C: partition incorrectly and gets the
Linux drive, it is scrozzled in any case.
One more reason that this machine is Linux-Only, not Dual-Boot.
Actually, it is dual-boot, but the other OS is just the previous version
of the Linux kernel.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 8:30am up 22:47, 2 users, load average: 3.01, 3.08, 3.03
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: suid root not working on RH7 2.2.16-22 ?
Date: Mon, 01 Jan 2001 13:45:04 GMT
M. Buchenrieder <[EMAIL PROTECTED]> wrote:
> Danny Aldham1 <[EMAIL PROTECTED]> writes:
>>I have a couple of RH boxes we have upgraded to RH7, 2.2.16-22 .
>>It seems that suid root scripts no longer act as root. Am I missing
>>something here? Is this standard release now, and if so, how do I put
>>it back to normal functioning?
> SetUID scripts have never worked that way, as the Linux
> kernel ignores the setUID bit on non setUID-aware shells, anyways.
> Either your former setup included wrappers to call the scripts,
> or you have been using "sudo" for it.
Agreed. But RH have done something new. It appears that suid programs
no longer can spawn processes that are also property of the program
owner. They revert to the real uid. (the workaround is to change both
reuid and euid when you go super user). I imagine that this is messing
up the suid shell that used to run his scripts.
Peter
------------------------------
From: [EMAIL PROTECTED] (Matthew Fleming)
Subject: LILO/disk problem
Date: 1 Jan 2001 14:38:02 GMT
Netmeisters,
I am running a server with a DPT SCSI controller connected to 2
mirrored disks. The server just crashed (naturally while I was on
vacation). It could not be rebooted using LILO. I was able to reboot
it with a rescue disk, then made a bootdisk from /vmlinuz, then
rebooted with that. However, I can't get LILO to work. I reran lilo to
reinstall the boot loader in the MBR, but it still doesn't work (hangs
at LIL-). I also tried installing lilo on a floppy, but it hangs at
LI.
This wouldn't be too much of a problem except that the server, in
addition to the SCSI disks, has a large IDE disk which is not accessed
correctly unless the kernel is given some "append hda=..." parameters.
Of course lilo can do this.
Questions:
1. Why doesn't lilo now work? Does this mean the whole disk system is
headed South?
2. Is there some way of feeding the hda parameters to the kernel when
booting from a bootdisk?
Thanks,
Matthew Fleming
==============================================================================
Matthew G. Fleming, MD phone : 414.456.4072
Associate Professor fax : 414.456.6518
Department of Dermatology s-mail: Dept. of Dermatology
Medical College of Wisconsin Medical College of Wisconsin
MFRC Room 4061
e-mail: [EMAIL PROTECTED] Milwaukee, WI 53226-4810
==============================================================================
------------------------------
From: Kheng-Swee Goh <[EMAIL PROTECTED]>
Subject: 2.4.x supports UDF?
Date: Mon, 01 Jan 2001 22:46:26 +0800
hi, i'd like to know if kernel 2.4.x supports UDF. thanx
-User61
------------------------------
From: [EMAIL PROTECTED] (Dave Brown)
Subject: Re: lilo-- behaviour without an hda drive
Reply-To: [EMAIL PROTECTED]
Date: 31 Dec 2000 21:12:34 -0600
In article <92o4s9$m02$[EMAIL PROTECTED]>, Bill Unruh wrote:
>I have been trying some experiments with my system, and have been
>finding weird behaviour of lilo which perhaps someone can explain.
>
>I have Linux on my hdb drive, and want to transfer my hda to another
>machine. I set up lilo.conf to point only at the b drive (see below) so
>no reference to a exists. I run lilo to place LILO onto a floppy, which
>boots into the hdb drive fine. I now remove the hda drive, and try to
>boot from the floppy. I get the dreaded
>01 01 01 01 01 01 .....
>I now plug that old a drive onto the master of the second ide ( ie make
>it /dev/hdc). Now using the LILO on the floppy gives me
>LI
>and there sits.
>Why?
>The LILO on the floppy should not care if the master on the first IDE
>bus exists, since it needs only the hdb drive. And in particular why in
>the world does it care in hdc exists or not.
>
>
You raise a couple of interesting questions. It's been a while since I
did the hdisk shuffle, and I don't think that I've ever done it quite like
you did. However, I suspect that if you have no master on IDE0, that the
slave probably becomes hda. I never thought about what happens when you
have nothing on IDE0, but perhaps the same thing happens--the slave becomes
hdc.
I do know from recent experience that lilo has to find everything that's
described in the lilo.conf, or you get the 01010101.. business. I have a
linux installation on one partition of a SCSI drive in a tower, and if I
forget to turn the tower on, when lilo fires up, it gives the 0101010...
I do remember having to change device letters when moving drive.
Incidentally, have you ever deleted a partition which had partitions above
it? The remaining partitions get renumbered as well.
--
Dave Brown Austin, TX
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: OT: It's 2001 & M$ refuses to 'see' Linux partitions
Date: Mon, 01 Jan 2001 16:15:04 GMT
Jean-David Beyer <[EMAIL PROTECTED]> wrote:
> "Peter T. Breuer" wrote:
>> Jean-David Beyer <[EMAIL PROTECTED]> wrote:
>> > Andrew Purugganan wrote:
>> > Actually, I have an old dual-boot machine with Windows 95 on it. I am
>> > perfectly delighted that Windows cannot see the Linux partitions.
>>
>> Except of course that "it" can. Linuxtools and also that http access
>> stuff whose name I forget ...
>>
> If I look at my dual-boot system when it is running Windows 95, it sees
> only the C: drive (which takes the entire first hard drive on that
We know what you mean. The fact that windows doesn't come with
utilities to make linux file systems "visible" doesn't stop anyone
from installing the various third party applications that make them
visible. Ipso facto, Windows can see linux partitions and the fact that it
doesn't is a policy matter, not a capability limitation.
> machine). Before I installed Linux on it, it saw, also, a D: and E:
> drive, the 2 partitions that were on the second, new, hard drive. When
> installing Linux, I deleted them from the partition table on the second
> drive, and put in the Linux partitions instead. This seems to have
> hidden the second drive from Windows, but I infer from your message that
> this is incorrect.
You would normally see a linux partition as a "network" drive when you
install the appropriate software.
> Are the tools to which you refer meant to enable Windows users to read
> or write Linux partitions in the same way that Linux can easily read or
> write Windows partitions?
The name gives it away: linuxtools (like mtools, but different).
> Perhaps all this is academic because if Windows screws up at the driver
> level and sets the bits for the C: partition incorrectly and gets the
> Linux drive, it is scrozzled in any case.
Yes.
Regards
Peter
------------------------------
From: Rick <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.powerpc
Subject: serial login through shared serial switch.
Date: Mon, 01 Jan 2001 11:18:17 -0500
I ahve serveral devices on a shared serial switch (pilot cradle, inkjet,
laserwriter). I would like to be able to connect another computer to the
serial switch and then log in to my deskttop, mainly for times when
things (like netscape) freeze so I cant use my keyboard.
is this possible?
Any and all help appreciated.
--
Rick
* To email me remove theobvious from my address *
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: lilo-- behaviour without an hda drive
Date: Mon, 1 Jan 2001 17:16:26 +0100
Bill Unruh <[EMAIL PROTECTED]> wrote:
> The LILO on the floppy should not care if the master on the first IDE
> bus exists, since it needs only the hdb drive. And in particular why in
> the world does it care in hdc exists or not.
Bios bootable devices are numbered 80, 81, etc. by the bios at bootup.
The binding will change according to the pysical condition of your
machine at bootup. The reference in lilo won't change. Result =
confusion.
> Now to finally ask the question which all of this was in aid of=-- Can
> LILO boot from drive hdc or hdd (ie must the /boot partition be on hda
Only if the bios supports it.
> or hdb or can it be on hdc or hdd) Note that LILO will be on the MBR of
> hda.
You can always boot from hdb, however.
> And, since it seems there must be an a drive, I will have to make my
> current hdb into the master on the first IDE and make it hda. Is there
> an easy way of making this transition? currently it is hdb and it would
> seem that there is no way of installing a LILO into its MBR which will
> point to the correct locations on itself to be able to boot after it is
> hda.
You can do it. But agreed, this takes magic. You'll have to have
boot=/dev/hdb in order to hit it, and the rest of the magic, is, uh,
dubious ... the image locations will be wrong. You'll have to include
lilo device remapping magic.
------------------------------
From: Brian & Colleen <[EMAIL PROTECTED]>
Subject: Re: Help - Missing file 'host.ISM' (MySQL)
Date: Mon, 01 Jan 2001 08:37:04 -0800
==============46DD04FA0ED009A445A61F15
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Thanks ljb.
Having the luxury of a relatively new installation and a one-user system, I
backed up my databases uninstalled the server RPM, reinstalled and
everything is now as it should be. It could have been really gruesome in a
"real" environment.
--
Brian Smith
[EMAIL PROTECTED]
http://mypage.direct.ca/g/greybria
==============46DD04FA0ED009A445A61F15
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Thanks ljb.
<p>Having the luxury of a relatively new installation and a one-user system,
I backed up my databases uninstalled the server RPM, reinstalled and everything
is now as it should be. It could have been really gruesome in a "real"
environment.
<pre>--
Brian
Smith
[EMAIL PROTECTED]
<A
HREF="http://mypage.direct.ca/g/greybria">http://mypage.direct.ca/g/greybria</A></pre>
</html>
==============46DD04FA0ED009A445A61F15==
------------------------------
From: Dirk Groeneveld <[EMAIL PROTECTED]>
Subject: Re: Graphical characters
Date: Mon, 1 Jan 2001 18:42:00 +0100
kristian ragndahl wrote:
> >>>>> "AR" == Alain Reymond <[EMAIL PROTECTED]> writes:
> AR> Hello, I am porting programs from SCO to Linux RedHat. I have
> AR> many IBM graphical characters in the code to draw boxes for
> AR> example (double stricke chars, etc...). When I download the
> AR> sources on the Linux box, I can't see these chars any more,
> AR> nor the accentuated chars like �,�,�,�, etc... I tried many
> AR> different TERM configuration without success.
> AR> Does someone has an idea how to solve this problem.
> Choose an ascii font instead of an iso-8859? I don't have
> access to Redhat but as far as i remember, read the man page
> for setfont.
Isn't there something more general? Something like a libary that takes
commands like "drawBox" or at least "drawGraphicalCharacter" and figures
out what font (or what characters) to use all by itself?
Thanx, Dirk
------------------------------
From: mike <[EMAIL PROTECTED]>
Subject: Re: Weird LILO problem ... The Solution
Date: Mon, 01 Jan 2001 17:11:08 GMT
Hi Bill and All,
it must have been a long night when I installed Redhat 6.1.
What happened, was that somehow LILO was trying to mount
the "swap" partition instead of the "root" partition because of incorrect
partition assignment.
"Mistakes were made"
"Mistakes were corrected"
Thanks
Mike
P.S. I imagine that the new version of Lilo would have worked
also, as it was I used the older version that came with Redhat 6.1
------------------------------
From: [EMAIL PROTECTED] (Reiner Griess)
Subject: [eterm] midnightcommander
Date: Mon, 1 Jan 2001 18:22:43 +0100
Reply-To: [EMAIL PROTECTED]
hi!
How can I tell eterm to send the Escape Sequence
ESC [ 4 ~ by pressing END and the ESC [ 1 ~ by pressing
HOME key?
In midnight commander I can jump to the end of the directory
list by pressing END and using Gnome-Terminal. This does not
work with Eterm.
Thank you
reiner
------------------------------
From: Daniel Smith <[EMAIL PROTECTED]>
Subject: "no space left on disk" .. but there is
Date: Mon, 01 Jan 2001 17:09:17 GMT
I have a 1GB root partition. usr and home are on other disks. Every
once in a while, I get the message "no space left on disk". There is
plenty of space, but I think it's because there are too many files.
What is the limit, how can I check it, how can I fix this problem, etc?
Do I just need to move things like var and etc off to other filesystems?
Thanks!
--Dan
------------------------------
From: "J. E. Garrott, Sr" <[EMAIL PROTECTED]>
Subject: Re: "no space left on disk" .. but there is
Date: Sun, 31 Dec 2000 17:54:04 -0800
Daniel Smith wrote:
>
> I have a 1GB root partition. usr and home are on other disks. Every
> once in a while, I get the message "no space left on disk". There is
> plenty of space, but I think it's because there are too many files.
> What is the limit, how can I check it, how can I fix this problem, etc?
>
> Do I just need to move things like var and etc off to other filesystems?
>
> Thanks!
>
> --Dan
df -i
This will give you the inode usage. This is
also the maximum number of files without
trickery.
/opt, if you have anything there, should be on another
file system. Also check your log files in /var/log.
If they're excessively large. Empty them if they are.
Also /tmp. This directory should be cleaned out
periodically. (I do so once a month, some people
whenever the system is rebooted, etc.)
Good luck,
John
------------------------------
From: John in SD <[EMAIL PROTECTED]>
Subject: Re: lilo-- behaviour without an hda drive
Reply-To: [EMAIL PROTECTED]
Date: Mon, 01 Jan 2001 17:52:16 GMT
The previous comments are on the mark.
LILO assumes that /dev/hda is bios drive 0x80, /dev/hdb is bios drive 0x81,
etc. In swapping disks, this mapping by the BIOS is disturbed. LILO will
have to be re-run, and if the BIOS default mapping is no longer correct, then
the lines:
disk=/dev/hdX
bios=0x80
disk=/dev/hdY
bios=0x81
etc.
will have to be added to 'lilo.conf'.
Remember that the LILO boot-loader uses the BIOS to get the system loaded. If
drive codes assigned by the BIOS have been distrubed, then /sbin/lilo, the
boot-installer, will have to be re-run.
--John
On Mon, 1 Jan 2001 17:16:26 +0100, "Peter T. Breuer" <[EMAIL PROTECTED]>
wrote:
>Bill Unruh <[EMAIL PROTECTED]> wrote:
>> The LILO on the floppy should not care if the master on the first IDE
>> bus exists, since it needs only the hdb drive. And in particular why in
>> the world does it care in hdc exists or not.
>
>Bios bootable devices are numbered 80, 81, etc. by the bios at bootup.
>The binding will change according to the pysical condition of your
>machine at bootup. The reference in lilo won't change. Result =
>confusion.
>
>> Now to finally ask the question which all of this was in aid of=-- Can
>> LILO boot from drive hdc or hdd (ie must the /boot partition be on hda
>
>Only if the bios supports it.
>
>> or hdb or can it be on hdc or hdd) Note that LILO will be on the MBR of
>> hda.
>
>You can always boot from hdb, however.
>
>> And, since it seems there must be an a drive, I will have to make my
>> current hdb into the master on the first IDE and make it hda. Is there
>> an easy way of making this transition? currently it is hdb and it would
>> seem that there is no way of installing a LILO into its MBR which will
>> point to the correct locations on itself to be able to boot after it is
>> hda.
>
>You can do it. But agreed, this takes magic. You'll have to have
>boot=/dev/hdb in order to hit it, and the rest of the magic, is, uh,
>dubious ... the image locations will be wrong. You'll have to include
>lilo device remapping magic.
>
LILO version 21.6 (04-Oct-2000) source at
http://www.ibiblio.org/pub/Linux/system/boot/lilo
patches at ftp://brun.dyndns.org/pub/linux/lilo
------------------------------
** 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 by posting to comp.os.linux.misc.
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
******************************