Linux-Misc Digest #411, Volume #18 Wed, 30 Dec 98 17:13:09 EST
Contents:
Mounting different parts of a drive ([EMAIL PROTECTED])
Maximum UID? (root)
Re: When will kernel 2.2 be released? (jedi)
Re: bash error message (Christopher Mahmood)
Re: Infringement of the GPL (Michael Powe)
Re: 2-1.132 and 2-2.0 pre1 (Michael Powe)
Re: gcc vs egcs (Michael Powe)
Re: help me choose license (Michael Powe)
Re: Some X Windows apps not running (Michael Powe)
Re: Flash RAM (Gary Momarison)
Why are mount/umount setuid root? (Timothy J. Lee)
Re: Infringement of the GPL (Kenneth Crudup)
Re: Mounting different parts of a drive ("J�rgen Exner")
Re: Anti-Linux FUD (kristian ragndahl)
Applying redhat patches reconfigures kernel? (Pete)
Re: Some X Windows apps not running ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Mounting different parts of a drive
Date: Wed, 30 Dec 1998 19:40:56 GMT
Here is an interesting question:
Is there a way different parts of a drive into different directories? Ie. I
have a hard drive with two directories:
"/Hello"
"/World"
Can I mount directory "Hello" into the, say, /usr/bin/DirectoryA and mount
directory "World" into the, say, "/usr/sbin/DirectoryB"?
Is that possible? I am trying to set up a FTP site and that is the way the
data is structured.
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: root <[EMAIL PROTECTED]>
Subject: Maximum UID?
Date: Wed, 30 Dec 1998 18:25:25 +0000
==============8D25E6540AF73B2CCE342908
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello,
I'm setting up a linux box (RH 5.2) in a university environment with
a massive number of user IDs. We currently have users with UIDs
in the neighborhood of 80000, but I seem to be running into a
UID ceiling at 65536 when trying to make accounts for them.
For instance, I create a user with UID 78384 (which is the value
that ends up in /etc/passwd) but the home directory UID rolls
over to 12848.
Does anybody know where this limitation is coming from? Is fixing
it as simple as modifying a value in the kernel source and
recompiling, or is this limitation rooted much deeper in the
system? I would appreciate any thoughts or advice anyone might
have on how to dance around this problem. (Also, please let me
know if I would have better luck posting to a different newsgroup.)
Thanks!
Dave Glaze
[EMAIL PROTECTED]
==============8D25E6540AF73B2CCE342908
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<tt>Hello,</tt><tt></tt>
<p><tt>I'm setting up a linux box (RH 5.2) in a university environment
with</tt>
<br><tt>a massive number of user IDs. We currently have users with
UIDs</tt>
<br><tt>in the neighborhood of 80000, but I seem to be running into
a</tt>
<br><tt>UID ceiling at 65536 when trying to make accounts for them.</tt><tt></tt>
<p><tt>For instance, I create a user with UID 78384 (which is the value</tt>
<br><tt>that ends up in /etc/passwd) but the home directory UID rolls</tt>
<br><tt>over to 12848.</tt><tt></tt>
<p><tt>Does anybody know where this limitation is coming from? Is
fixing</tt>
<br><tt>it as simple as modifying a value in the kernel source and</tt>
<br><tt>recompiling, or is this limitation rooted much deeper in the</tt>
<br><tt>system? I would appreciate any thoughts or advice anyone
might</tt>
<br><tt>have on how to dance around this problem. (Also, please let
me</tt>
<br><tt>know if I would have better luck posting to a different
newsgroup.)</tt><tt></tt>
<p><tt>Thanks!</tt><tt></tt>
<p><tt>Dave Glaze</tt>
<br><tt>[EMAIL PROTECTED]</tt></html>
==============8D25E6540AF73B2CCE342908==
------------------------------
From: [EMAIL PROTECTED] (jedi)
Crossposted-To: comp.os.linux.setup,comp.os.linux.advocacy,comp.os.linux.hardware
Subject: Re: When will kernel 2.2 be released?
Date: Wed, 30 Dec 1998 12:50:19 -0800
On Wed, 30 Dec 98 16:55:54 GMT, Phil Hunt <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>
> [EMAIL PROTECTED] "David Steuber" writes:
>> [EMAIL PROTECTED] (Filip M. Gieszczykiewicz) writes:
>> > (what scares the crap out of me is the Navy moving their fleet from
>> > [stable] unix systems to NT... [shivvvvvver])
>>
>> You can't expect a smart fleet without a digital nervous disorder...
>
>Perhaps someone will decide to put NT inside an aircraft control system.
>(I know, but if they can do it for ships, they can do it for planes).
>Imagine a Lockheed Galaxy flying over Seattle, the BSOD, and the plane
>crashing on the HQ of a well-known company...
McCarran airport already has enough BSOD's of it's own
already and at this point they only seem to be using it
for display purposes (scheduling & baggage return).
I wonder if all the people coming in for Comdex noticed
any of those... '-)
--
Herding Humans ~ Herding Cats
Neither will do a thing unless they really want to, or |||
is coerced to the point where it will scratch your eyes out / | \
as soon as your grip slips.
In search of sane PPP docs? Try http://penguin.lvcm.com
------------------------------
From: Christopher Mahmood <[EMAIL PROTECTED]>
Subject: Re: bash error message
Date: Wed, 30 Dec 1998 13:02:47 -0800
Reply-To: [EMAIL PROTECTED]
from the TIPS howto:
2.14 A way to search through trees of files for a particular regular
expression. Raul Deluth Miller,
[EMAIL PROTECTED]
I call this script 'forall'. Use it like this:
forall /usr/include grep -i ioctl
forall /usr/man grep ioctl
Here's forall:
#!/bin/sh
if [ 1 = `expr 2 \> $#` ]
then
echo Usage: $0 dir cmd [optargs]
exit 1
fi
dir=$1
shift
find $dir -type f -print | xargs "$@"
------------------------------
From: Michael Powe <[EMAIL PROTECTED]>
Subject: Re: Infringement of the GPL
Date: 30 Dec 1998 12:11:58 -0800
=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1
>>>>> "Kenneth" == Kenneth Crudup <[EMAIL PROTECTED]> writes:
Kenneth> In article <[EMAIL PROTECTED]>, Michael Powe
Kenneth> <[EMAIL PROTECTED]> says:
>> What could be worse to a musician/composer than to lose one's
>> hearing? Yet, Beethoven was completely deaf when he composed
>> the 9th & never heard it performed. But, he didn't have to.
>> It was something he created out of the need to create.
Kenneth> You *are* aware that many composers had rich benefactors,
Kenneth> and performed their works for money?
Of course. They worked for a living. At that time, there was no
other way for them to make money. They composed on demand and
performed on demand. Having a "benefactor" in those days was not a
free lunch to hang out and do whatever you wanted to do. Patrons
expected and received a `quid pro quo' from the recipient of their
largess.
Beethoven hated this position of servitude and for a good portion of
his adult life successfully pretended to be a member of the
aristocracy. This got him admitted as an equal into many of the best
houses in Vienna. During a custody battle over his nephew, it came
out in trial that he was not an aristocrat and his social status was
destroyed. He was forced back to being "just" a composer and
piano player -- not fit to keep company with the folks in the drawing
room, only fit to amuse them with his music.
That didn't stop him from blowing their ears off with some of the
world's greatest compositions.
mp
8<---------------how-easy-is-it-to-demunge-an-address?------------------->8
#! /usr/bin/perl # if you are [EMAIL PROTECTED] (Another Luser):
while ($line = <>){ if ($line =~ m/^\s*$/ ){ last; }
if ($line =~ m/^From: (\S+) \(([^()]*)\)/){ $from_address = $1; } }
if ($from_address =~ m/\S+NOSPAM\S+/){ $x = index($from_address, NOSPAM);
substr($from_address, $x, 6+1) = ""; printf("The real address is %s\n",
$from_address);}else { printf("No munge, just plain %s\n",$from_address);}
printf("\nBrought to you by the Truth In Mail Headers Foundation\n");
8<-----------------------here's-one-example------------------------------>8
- --
Michael Powe
[EMAIL PROTECTED] http://www.trollope.org
Portland, Oregon USA
=====BEGIN PGP SIGNATURE=====
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQA/AwUBNoqI6LajuNi/6Js3EQITeQCg+QqtKx+rOA8bNR49JWNqHoSQYSsAnjSy
Oom68Eri3mg131lJAO69OcoB
=q0O3
=====END PGP SIGNATURE=====
------------------------------
From: Michael Powe <[EMAIL PROTECTED]>
Subject: Re: 2-1.132 and 2-2.0 pre1
Date: 30 Dec 1998 12:19:59 -0800
=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1
>>>>> "William" == William T Trotter <[EMAIL PROTECTED]> writes:
William> Are these kernels fundamentally different or is the new
William> 2-2.0 pre 1 just the latest tweak in the the
William> developmental series?
Even-numbered kernels (2.0.x, 2.2.x) are considered stable; odd-numbered
kernels (2.1.x) are considered developmental.
mp
8<---------------how-easy-is-it-to-demunge-an-address?------------------->8
#! /usr/bin/perl # if you are [EMAIL PROTECTED] (Another Luser):
while ($line = <>){ if ($line =~ m/^\s*$/ ){ last; }
if ($line =~ m/^From: (\S+) \(([^()]*)\)/){ $from_address = $1; } }
if ($from_address =~ m/\S+NOSPAM\S+/){ $x = index($from_address, NOSPAM);
substr($from_address, $x, 6+1) = ""; printf("The real address is %s\n",
$from_address);}else { printf("No munge, just plain %s\n",$from_address);}
printf("\nBrought to you by the Truth In Mail Headers Foundation\n");
8<-----------------------here's-one-example------------------------------>8
- --
Michael Powe
[EMAIL PROTECTED] http://www.trollope.org
Portland, Oregon USA
=====BEGIN PGP SIGNATURE=====
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQA/AwUBNoqKo7ajuNi/6Js3EQIcUACgy2da5ZC03lEHl9EZItfa2Q9Gf4sAnRuJ
DBMsNUtrsrZAaO/NBFDnsewM
=h9TW
=====END PGP SIGNATURE=====
------------------------------
From: Michael Powe <[EMAIL PROTECTED]>
Subject: Re: gcc vs egcs
Date: 30 Dec 1998 12:55:44 -0800
=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1
>>>>> "Jost" == Jost Boekemeier <[EMAIL PROTECTED]> writes:
>> Is there any difference in compatibility between things
>> compiled with one vs other?
Jost> I don't know why slackware installs egcs in favour of gcc.
Jost> I 've installed the latest slackware on one of my machines
Jost> and the compiler was not able to compile the guile
Jost> distribution.
Probably because Cygnus is now doing the development work on gcc.
Egcs is their development package of gcc.
(Linux 2.2.0-pre1) [/home/michael]
58 $ --> gcc --version
egcs-2.90.29 980515 (egcs-1.0.3 release)
This apparently is being done with RMS's blessing, since I note that
the newest manual for gdb (April '98) is written by "Richard
M. Stallman and Cygnus Solutions."
mp
PS. I compiled guile on my Slack 3.5 box without any problems.
8<---------------how-easy-is-it-to-demunge-an-address?------------------->8
#! /usr/bin/perl # if you are [EMAIL PROTECTED] (Another Luser):
while ($line = <>){ if ($line =~ m/^\s*$/ ){ last; }
if ($line =~ m/^From: (\S+) \(([^()]*)\)/){ $from_address = $1; } }
if ($from_address =~ m/\S+NOSPAM\S+/){ $x = index($from_address, NOSPAM);
substr($from_address, $x, 6+1) = ""; printf("The real address is %s\n",
$from_address);}else { printf("No munge, just plain %s\n",$from_address);}
printf("\nBrought to you by the Truth In Mail Headers Foundation\n");
8<-----------------------here's-one-example------------------------------>8
- --
Michael Powe
[EMAIL PROTECTED] http://www.trollope.org
Portland, Oregon USA
=====BEGIN PGP SIGNATURE=====
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQA/AwUBNoqTFrajuNi/6Js3EQIweQCgrAPs0fHSBTvdWNQg/dBQNmt1S+EAoOWZ
nUj3pVuBMTTem1AjU7e6ENT1
=9sp2
=====END PGP SIGNATURE=====
------------------------------
From: Michael Powe <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc
Subject: Re: help me choose license
Date: 30 Dec 1998 12:48:08 -0800
=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1
>>>>> "steve" == steve mcadams <[EMAIL PROTECTED]> writes:
steve> Why I'm considering some sort of not-completely-proprietary
steve> license. First, there are many programs I would like to
steve> use that I don't have the time to write, which could
steve> benefit from the kind of user-interface this library will
steve> make possible. Second, I'd like to see "good" user
steve> interfaces become more common. They are extremely
steve> difficult to write in the Windows environment at present
steve> (or I would not bother with this effort), and from the
steve> looks of the Linux apps that I've used so far, there may be
steve> some commonality with the Linux environment in this
steve> respect.
It's possible to write commercial applications using GPL
code/products. I was just thinking the other day how much I'd like to
be able to buy Cygnus Solutions' GNUTools package. It's a graphical
frontend to all the GNU compiling/linking/debugging tools -- it sells
for $149. Too rich for my blood right now, but maybe later ...
If you LGPL your library, this does not restrict you from producing
commercial applications that link against the library. (Of course,
nobody else is restricted, either.)
As somebody else pointed out previously, in one of the other threads,
you can still charge for documentation and support; as, e.g., the FSF
sells the GNU C Library Reference Manual. And Cygnus provides
commercial support for GNU tools (and at a hefty price, too).
Good luck.
mp
8<---------------how-easy-is-it-to-demunge-an-address?------------------->8
#! /usr/bin/perl # if you are [EMAIL PROTECTED] (Another Luser):
while ($line = <>){ if ($line =~ m/^\s*$/ ){ last; }
if ($line =~ m/^From: (\S+) \(([^()]*)\)/){ $from_address = $1; } }
if ($from_address =~ m/\S+NOSPAM\S+/){ $x = index($from_address, NOSPAM);
substr($from_address, $x, 6+1) = ""; printf("The real address is %s\n",
$from_address);}else { printf("No munge, just plain %s\n",$from_address);}
printf("\nBrought to you by the Truth In Mail Headers Foundation\n");
8<-----------------------here's-one-example------------------------------>8
- --
Michael Powe
[EMAIL PROTECTED] http://www.trollope.org
Portland, Oregon USA
=====BEGIN PGP SIGNATURE=====
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQA/AwUBNoqRUrajuNi/6Js3EQI7oQCgzNM4xjRoVKPgIYQ8v4NHBcal1SgAnjmK
IbjwPwW6GpaK2G7sDSFPbdp2
=RXp6
=====END PGP SIGNATURE=====
------------------------------
From: Michael Powe <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc
Subject: Re: Some X Windows apps not running
Date: 30 Dec 1998 12:59:39 -0800
=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1
>>>>> "wily" == wily <[EMAIL PROTECTED]> writes:
>> The second thing is, if you kill the X server immediately after
>> trying to run one of these mystery programs, you'll see error
>> messages on the console screen that may give you clues as to
>> what happened.
wily> I'm not sure about redhat, but I use slackware, and the X
wily> server uses VC 7, while error messages use the VC that I
wily> used to start the X server. So to view error messages
wily> without killing the X server, I simply CTRL-ALT-F# to the VC
wily> that I used to start X. I'm pretty sure this will work in RH
wily> as well...
You're right. I always run my X sessions in the same VC from which I
start it, e.g. `startx -- vt3' so I have to kill the session to
see the messages.
mp
8<---------------how-easy-is-it-to-demunge-an-address?------------------->8
#! /usr/bin/perl # if you are [EMAIL PROTECTED] (Another Luser):
while ($line = <>){ if ($line =~ m/^\s*$/ ){ last; }
if ($line =~ m/^From: (\S+) \(([^()]*)\)/){ $from_address = $1; } }
if ($from_address =~ m/\S+NOSPAM\S+/){ $x = index($from_address, NOSPAM);
substr($from_address, $x, 6+1) = ""; printf("The real address is %s\n",
$from_address);}else { printf("No munge, just plain %s\n",$from_address);}
printf("\nBrought to you by the Truth In Mail Headers Foundation\n");
8<-----------------------here's-one-example------------------------------>8
- --
Michael Powe
[EMAIL PROTECTED] http://www.trollope.org
Portland, Oregon USA
=====BEGIN PGP SIGNATURE=====
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQA/AwUBNoqUOrajuNi/6Js3EQLstACeO3txG6zGhi/pkCiwZAFAZwCfWSAAoOsX
gHJU4yWwSgHlqyzxtnqlQSqp
=N7I/
=====END PGP SIGNATURE=====
------------------------------
From: Gary Momarison <[EMAIL PROTECTED]>
Subject: Re: Flash RAM
Date: 30 Dec 1998 10:43:54 -0800
[EMAIL PROTECTED] (Rudhuwan Abu Bakar) writes:
> hello
>
> where can I find info on Flash RAM( card??) especially that work with
> LINUX.
Search for "flash" in these pages of Gary's Encyclopedia:
http://www.aa.net/~swear/pedia/memory.html
http://www.aa.net/~swear/pedia/embedded.html
------------------------------
From: [EMAIL PROTECTED] (Timothy J. Lee)
Subject: Why are mount/umount setuid root?
Reply-To: see-signature-for-email-address---junk-not-welcome
Date: Wed, 30 Dec 1998 21:39:17 GMT
On a Red Hat 5.1 Linux installation, why are /bin/mount and
/bin/umount setuid root?
--
========================================================================
Timothy J. Lee timlee@
Unsolicited bulk or commercial email is not welcome. netcom.com
No warranty of any kind is provided with this message.
------------------------------
From: [EMAIL PROTECTED] (Kenneth Crudup)
Subject: Re: Infringement of the GPL
Date: 30 Dec 1998 16:41:33 -0500
>> You *are* aware that many composers had rich benefactors,
>> and performed their works for money?
In article <[EMAIL PROTECTED]>,
Michael Powe <[EMAIL PROTECTED]> says:
>Of course. They worked for a living. At that time, there was no
>other way for them to make money. They composed on demand and
>performed on demand. Having a "benefactor" in those days was not a
>free lunch to hang out and do whatever you wanted to do. Patrons
>expected and received a `quid pro quo' from the recipient of their
>largess.
What I mean is, how do we know (unless, of course, we *do* :-) that the
9th wasn't Just Another Commissioned Work?
-Kenny
--
Kenneth R. Crudup, Unix Software Consultant, Scott County Consulting
Home: | Purgatory:
8811 Colesville Rd., #509 | P.O. Box 230009 301-562-1922(H)
Silver Spring, MD 20910 | Boston, MA 02123-0009 617-422-2443(W)
------------------------------
From: "J�rgen Exner" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Mounting different parts of a drive
Date: Wed, 30 Dec 1998 13:45:42 -0800
[EMAIL PROTECTED] wrote in message <76dvk8$7hh$[EMAIL PROTECTED]>...
>Here is an interesting question:
>
>Is there a way different parts of a drive into different directories?
No problem. You are not mounting drives but file systems. Usually each
partition has it's own filesystem and of course you can mount each
filesystem on a HD individually.
There's also the MD driver, which allows to span a single filesystem across
several physical partitions or even drives, but that's another story.
>Ie. I
>have a hard drive with two directories:
>"/Hello"
>"/World"
>
>Can I mount directory "Hello" into the, say, /usr/bin/DirectoryA and mount
>directory "World" into the, say, "/usr/sbin/DirectoryB"?
If those directories are the root directories of separate partitions, sure
no problem.
You notion of "directory" is a bit confusing here.
A drive does not contain directories per se. A drive (usually) contains
partitions, a partition contains a file system, and only on the level of the
file system you will find directories.
So there are two levels missing in your question.
Mount itself deals with file systems. It doesn't care about directories
(except as mount points).
jue
--
J�rgen Exner; microsoft.com, UID: jurgenex
Sorry for this anti-spam inconvenience
------------------------------
Crossposted-To: comp.os.linux.x
Subject: Re: Anti-Linux FUD
From: kristian ragndahl <[EMAIL PROTECTED]>
Date: 30 Dec 1998 19:31:34 +0100
[EMAIL PROTECTED] (Martin Skj�ldebrand) writes:
: Jason Clifford and Marco Anglesio wrote something like:
:
: >Stop whining about it and write a package manager that will handle
: >tarballs and rpm and deb if it annoys you that much.
:
: I'm not whining, I'm complaining - and, yes I will.
No need, use Alien; http://kitenet.net/programs/alien/
--
kristian ragndahl
------------------------------
From: [EMAIL PROTECTED] (Pete)
Crossposted-To: alt.os.linux,comp.os.linux.questions
Subject: Applying redhat patches reconfigures kernel?
Date: 30 Dec 1998 21:47:15 GMT
Dear all, I have Redhat 5.1.
Yesterday I began downloading and applying all the "errata" patches in
alphabetical order, but skipped over "k". I got as far as N (which has
netscape and ncurses patches).
When I rebooted and tried remaking a ppp connection, my system said that
a ppp connection can't be made because either the ppp module isn't loaded
or the kernel isn't configured for ppp.
Excuse my french, but this is bullshit. Why should applying errata patches
reconfigure my kernel? I refuse to believe that Linux patching can be this
lame. My ppp configuration should've been untouched.
Can someone please either tell me that it's not a matter of reconfiguring
the kernel (and what to do about it) or that patches really do reconfigure
the kernel and that I need to recompile it?
Thanks!
Pete
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: linux.redhat.misc
Subject: Re: Some X Windows apps not running
Date: Wed, 30 Dec 1998 18:38:27 GMT
> The second thing is, if you kill the X server immediately after trying
> to run one of these mystery programs, you'll see error messages on the
> console screen that may give you clues as to what happened.
>
I'm not sure about redhat, but I use slackware, and the X
server uses VC 7, while error messages use the VC that I
used to start the X server. So to view error messages
without killing the X server, I simply CTRL-ALT-F# to the
VC that I used to start X. I'm pretty sure this will work
in RH as well...
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
** 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
******************************