Linux-Misc Digest #965, Volume #25 Sat, 7 Oct 00 15:13:03 EDT
Contents:
Re: One 100% Newbie (Vegard Engen)
Re: setuid question (Leejay Wu)
Maximimun Process Size 555Mb ? ([EMAIL PROTECTED])
Re: Microsoft's Anti Linux Page (Harold Stevens ** PLEASE SEE SIG **)
Re: Modem configuartion. (Bill Unruh)
Re: setuid question (Cevat Ustun)
midi via serial port interface (Portman PC/S) ([EMAIL PROTECTED])
Re: Whats identd in Redhat 7.0?? (lobotomy)
Sandisk ("philip.morgan2")
Re: setuid question (Bill Unruh)
Re: Linux contra Microsoft ("David ..")
Redhat 7 won't run quake/quake2 (Paavo Leinonen)
Need help setting up masqmail for home use (long) (Monte Milanuk)
Re: Linux contra Microsoft (John Hasler)
Help a Linux group out with old hardware ("Tim Smith")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Vegard Engen)
Subject: Re: One 100% Newbie
Date: 7 Oct 2000 16:13:10 GMT
Reply-To: [EMAIL PROTECTED]
On Fri, 6 Oct 2000 05:25:09 -0400,
Collin Borrlewyn <[EMAIL PROTECTED]> wrote:
>That's me. I am here and prepared to ask really stupid questions. The first
>one is: Where should I ask really stupid questions? After that my questions
>get even stupider, but I'll wait until I know I'm in the right place.
You're in the right place. But, a few good advices on asking questions
here:
1) Try yourself a little bit first. Check if you can find a HOWTO on it
(you DID install all the documentation, didn't you? If you didn't DO so.
Documentation is good). Nothing is more annoying than reading the same
simple questions over and over. If you don't get an answer to a question
that *should* be pretty simple, this could actually be the reason.
2) When you get an answer like "read HOWTO xxx, it's answered thoroughly
there" - then follow the advice. If there's something there you don't
understand, then explain what you didn't understand If you just keep
asking the same question, you're likely to get the same answer, and
someone will get pissed.
3) Remember that the people that answer your questions here are not paid
to do so. Never DEMAND an answer. Always be polite, and never get angry
about answers that tells you to RTFM (Read The Fine Manual). Generally,
you DO learn more from reading the manual. If you're not prepared to do
that, then you're not prepared for Linux. Alternatively, PAY someone to
answer your stupid questions. Yes, you can pay for support for Linux.
4) When you've mastered something yourself, be prepared to help someone
else with it. Usenet needs people answering questions of all levels. If
noone bothers to answer questions, there will be no place to ask the
stupid questions you once asked yourself.
- Vegard
------------------------------
From: Leejay Wu <[EMAIL PROTECTED]>
Subject: Re: setuid question
Date: Sat, 7 Oct 2000 13:14:47 -0400
Excerpts from netnews.comp.os.linux.misc: 7-Oct-100 setuid question by
Cevat [EMAIL PROTECTED]
> I'm trying to setuid apm so I can suspend my linux box as
> non-root, but even though I can do "man setuid",
Interesting. The heavily mutated Red Hat box I've got does
have a setuid() man page, but it's for a C function declared
in unistd.h.
You're probably looking for a shell command to set the suid
bit. In that case, check the man page for 'chmod' -- e.g.
chmod u+s /usr/bin/blah
(and also make sure that the executable bits are set such
that whatever account you want to run it, can execute it).
> "whereis setuid" returns nothing. Is this
> done for security purposes?
Hmmm. If you don't have a chmod() man page... check to see
whether you installed 'em.
--
| [EMAIL PROTECTED] | the silly student |
|--------------------------| he writes really bad haiku |
| #include <stddiscl.h> | readers all go mad |
------------------------------
From: [EMAIL PROTECTED]
Subject: Maximimun Process Size 555Mb ?
Date: Sat, 07 Oct 2000 17:15:17 GMT
G'Day All,
Righto, we run an ISP and have a Large Linux / Squid proxy box. We put
some more disk in, and our squid process begain to grow (this is
expected) - to this end, we bumped the ram on the machine up to 1Gb.
When our squid process bombs ouy (at 555Mb) we see
"xmalloc: unable to allocate 32768 bytes!".
After much trolling around lists / squid archives etc I just couldn't
find any (linux specific answers).
I needed to work out if it was a squid issue or a memory issues. I
wrote a small C program that mallocs 1 byte at a time. Malloc _always_
fails at: 576797824 bytes. (which is around the same size as the squid
process).
I have also tried intentially getting other processes to blow out
memory wise, and sure enough they all die around the same size. This
has been done on 4 machine (the ones with enough real memory test with
swap off too).
I have gone through all of the ulimit issues etc (all show data seg
size set to unlimited).
So - is there some kind of kernel limitation on the maximum size of the
kernel ? (if so where on earth is it!!!).
FYI: (main squid proxy)
Gigabyte Motherboard
P3 800 (100)
1Gb Ram
Slackware 7.0 (with kernal upgrade to 2.2.16)
With my little "memory test" program, I managed to stop it 1 byte
before the failed malloc - at this point, /proc/process_num/-
status
Name: test1
State: S (sleeping)
Pid: 15523
PPid: 10677
Uid: 0 0 0 0
Gid: 0 0 0 0
Groups: 0 1 2 3 4 6 10 11
VmSize: 568708 kB
VmLck: 0 kB
VmRSS: 568044 kB
VmData: 567700 kB
VmStk: 8 kB
VmExe: 4 kB
VmLib: 972 kB
SigPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000000000000
CapInh: 0000000000000000
CapPrm: 00000000fffffeff
CapEff: 00000000fffffeff
stat
15523 (test1) S 10677 15523 10677 771 15523 0 141935 0 106 0 14 358 0 0
9 0 0 0 120640442 582356992 142011 2147483647 134512640
134514411 2147482400 2147481856 716493729 0 0 0 0 21486041
statm
142011 142011 77 2 0 142009 14193459 0 0 17 0
I have looked _everywhere_ but I can't even find mention of max data
size process limits.
ANY help at all would be fantastic.
If anyone has the solution, please mail it to me asap: [EMAIL PROTECTED]
All help appreciated!
Kindest Regards,
Matt Robinson BCompSci
ISP Dr Internet (Australia)
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Harold Stevens ** PLEASE SEE SIG **)
Subject: Re: Microsoft's Anti Linux Page
Date: Sat, 07 Oct 2000 17:33:40 GMT
In <8rndb7$8ku$[EMAIL PROTECTED]>, Robert Kiesling:
[Snip...]
|> Those are quite Microsoft-centric questions that don't apply to
|> Linux, I thought. Sounds like typical marketing. Linux has never,
|> as far as I know, claimed to be a drop-in replacement for anything.
Indeed. It's not about smokestack industries; that is so 20th century. Desktop
dominance in the midst of a *worldwide* networking revolution is a dinosaur in
complete denial about the impending asteroid impact. The first time I read the
URL, I literally laughed out loud how desperate MS seemed to get an overpriced
botch like NT likened to Open Source, instead of highend servers like Sun that
were eating NT as lunch. Unless, of course, you're desperately trying to throw
a curveball about the real threat: your illegal desktop monopoly. Faced with a
growing spread of things like KDE, Gnome, and Star Office from "rogue" servers
popping up like gnats everywhere, MS was/is desperate to plug the holes in its
desktop dikes. The *cashcow* is desktop, and MS shareholders *know* it. That's
like holding a stake in the last of great 20th century protection rackets.
They have everything to lose and Open Source doesn't care. Must drive FUDsters
writing this marketing dreck just plain nuts. At least Scott McNealy and Larry
Ellison take MS seriously enough to keep legions of highdollar lawyers busy. I
don't know of anyone except Stallman and Raymond who might stay up nights over
it, on the Gnu/Open side of the fence. Maybe some at Redhat and VALinux, but I
personally don't don't feel Open Source (or I) have a dog in that fight.
Even earlier, I chuckled when MS tried quietly to end NT on Alpha. Those tardy
wretches were having fits backfilling all that Intel/DOS wreckage, on hardware
a twobit "freebie" like Linux had ported and supported for years. Hah! It does
wonders in keeping all the overpaid lapdogs and marketdroids on their toes, in
promoting this "drop-in" diversion, from anything as inflexible as NT.
We had a thread on this almost a year ago when this FUD-full URL popped up. As
I remarked myself (<ZXxM3.61$[EMAIL PROTECTED]>):
|>> Fact: NT has never made a name for itself in competing with comparable sets
|>> of *already* SMP enabled boxes, at comparable prices, for webserving. It is
|>> virtually owned by Sun and others, while Linux/*BSD are steadily gaining on
|>> NT in the uniprocessor arena. This lastest FUD is simply conceding highend,
|>> and fighting a loosing battle on the lowend.
Again: nearly a year old news, for my part (11-OCT-1999, IIRC).
I think a year later it's only worse for MS. In fact NT was so embarrassing as
expensive, buggy bloatware, the 5.0 version was repackaged (Win2K) in the hope
the Microsmurfs would be suckered by these MS marketing gimmicks, as usual. It
doesn't help to be found an illegal monopoly after their laughable defense for
blatant antitrust violation by a very reputable, no-nonsense federal judge, in
the year since.
I don't know if Deja (or anybody, now) archived it but FWIW:
References: <7tk415$[EMAIL PROTECTED]> <37fe2a57.36301018@news> <PMqL
3.42$[EMAIL PROTECTED]> <[EMAIL PROTECTED]
est.com> <%8yL3.47$[EMAIL PROTECTED]> <slrn804k79.1hj.phil+
[EMAIL PROTECTED]>
[Snip...]
--
Regards, Weird (Harold Stevens) * IMPORTANT EMAIL INFO FOLLOWS *
Pardon the bogus email domain (dseg etc.) in place for spambots.
Really it's (wyrd) at raytheon, dotted with com. DO NOT SPAM IT.
Standard Disclaimer: These are my opinions not Raytheon Company.
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Modem configuartion.
Date: 7 Oct 2000 17:48:05 GMT
In <[EMAIL PROTECTED]> "Collin Borrlewyn" <[EMAIL PROTECTED]>
writes:
>First a short story. I am attampting to move to Linux from (you guessed it!)
>windows. I've already made a list of what I need to move without losing
>productivity. I need a text editor, a browser, and a modem, as it turns out.
>I found quickly that I had a Winmodem, and so I went and got myself a real
>ISA plug and play modem. It didn't work by just plugging it in (not that
>that was ever likely). By the way, the Linux I have is one of the trillion
>Red Hat based ones.
Linux and plug and play is still a shakey marriage. Best, if you can, is
to remove the modem card and set the jumpers on the card for a specific
port/irq. You could say use COM2 but then make sure that when you boot
up you go into your bios and remove the COM2 serial port (Linux does not
share IRQs). Then use /dev/ttyS1 whereiever it calls for your modem
port.
------------------------------
From: Cevat Ustun <[EMAIL PROTECTED]>
Subject: Re: setuid question
Date: Sat, 07 Oct 2000 17:49:10 GMT
Ah, yes you're right. To set the setuid bit,
I did apropos setuid and totally forgot about
chmod...
Thanks,
Cev.
Leejay Wu wrote:
>
> Excerpts from netnews.comp.os.linux.misc: 7-Oct-100 setuid question by
> Cevat [EMAIL PROTECTED]
> > I'm trying to setuid apm so I can suspend my linux box as
> > non-root, but even though I can do "man setuid",
>
> Interesting. The heavily mutated Red Hat box I've got does
> have a setuid() man page, but it's for a C function declared
> in unistd.h.
>
> You're probably looking for a shell command to set the suid
> bit. In that case, check the man page for 'chmod' -- e.g.
>
> chmod u+s /usr/bin/blah
>
> (and also make sure that the executable bits are set such
> that whatever account you want to run it, can execute it).
>
> > "whereis setuid" returns nothing. Is this
> > done for security purposes?
>
> Hmmm. If you don't have a chmod() man page... check to see
> whether you installed 'em.
> --
> | [EMAIL PROTECTED] | the silly student |
> |--------------------------| he writes really bad haiku |
> | #include <stddiscl.h> | readers all go mad |
>
>
------------------------------
From: [EMAIL PROTECTED]
Subject: midi via serial port interface (Portman PC/S)
Date: Sat, 07 Oct 2000 17:40:40 GMT
Has anyone had any luck sending midi data out the serial port to a
sound module? I'm running SuSE 6.4 with a Portman PC/S serial-midi
interface box. So far I have snd-card-serial (as well as
snd-card-emu10k1 for my SBLive) loaded with the following options line
in my /etc/modules.conf:
options snd-card-serial snd_io=0x3f8 snd_irq=4
I have the Portman PC/S connected to /dev/ttyS0 and I've got it to send
_something_ to my sound module (a Roland JV-1010) because the LED's are
flashing on the module, but no sound is produced and when I stop sending
the data I get a Roland error code which, according to the manual, means
bad midi input.
I've also tried the option snd_div=3 up thru snd_div=12, and I've tried
(with even less success) the uart16550_midi module.
If anyone has any ideas about sending midi data through a serial port
(with or without a Portman), please let me know.
Thanks for any suggestions! __sonic
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: lobotomy <[EMAIL PROTECTED]>
Subject: Re: Whats identd in Redhat 7.0??
Date: Sat, 07 Oct 2000 17:57:09 GMT
Ident may be pointless, stupid and a security hole. But there is one
fairly good reason to have it on your system. It is required by most
IRC (Internet Relay Chat) servers to connect. So if you use this or
think you might at some point, you might want to think twice about
disabling it.
On Fri, 06 Oct 2000 13:37:37 GMT, [EMAIL PROTECTED] wrote:
>Whats identd in Redhat 7.0??
>
>I did a ps -aux and I see 5 copyes of identd -e -o running. what is
>identd for?? Do I need 5 copys??
>
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
------------------------------
From: "philip.morgan2" <[EMAIL PROTECTED]>
Subject: Sandisk
Date: Sat, 7 Oct 2000 18:57:39 +0100
Sandisk's website says that they don't support the Sandisk ImageMate USB
card reader SDD **-09.
Has anyone got one of these to work on any version of Linux?
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: setuid question
Date: 7 Oct 2000 17:58:03 GMT
In <[EMAIL PROTECTED]> Cevat Ustun <[EMAIL PROTECTED]> writes:
>I'm trying to setuid apm so I can suspend
>my linux box as non-root, but even though I can do
>"man setuid",
>"whereis setuid" returns nothing. Is this
>done for security purposes?
Actually you also have to read the man page when you open it.
setuid is a subroutine, not a user callable program.
To set ANY file attributes with a program the relevant thing is
chmod
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: Linux contra Microsoft
Date: Sat, 07 Oct 2000 13:14:26 -0500
Rafael wrote:
>
> To help, we have to make Microsoft people (people using Microsoft
> products), know the true.
> Many of them are new Windows users who do not know anything or very
> little about computers. I work as a System administrator and I have met
> many people who do not know whats Linux, Unix etc. They think that
> computer must be with MS Windows, they did not heard about other
> alternative. And I think that we have to do something otherwise the
> beatle with Microsoft will last for long time.
> Every year I have contacts with 100 new computers user and I do good job
> informing them about it. But still only 10 % understand what I am
> talking about.
>
> Rodger
I would agree but as long as system's maker's or reseller's do not offer
any other choice when a buyer orders a new computer then M$ will always
have an advantage over any other system available. Though many now offer
linux on servers they do not offer it for desktop systems. From personal
experience, when I went to buy my newest system I couldn't even buy one
without an OS (let alone with linux preinstalled) which wasn't any big
deal, I just built my own system and eliminated the system maker,
reseller, and M$ from selling me something I didn't want or need.
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
From: Paavo Leinonen <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux
Subject: Redhat 7 won't run quake/quake2
Date: Sat, 07 Oct 2000 18:26:19 GMT
Hi,
I've got a strange proglem since I installed RedHat 7.0, with 6.2
quake and quake2 run fine, but now I cannot start those any more.
And what is weird, the shells complains that "no such file" but
the executable is there, some programs (like file) do recocnise
it and some others (like ldd) don't.
This hasn't anything to do with libc versions, has this? The
shell doesn't matter. The box is simple RH7-Gnome-wksta.
Any help appreciated. A script example below, same happens
with quake2 (version 3.20 not-glibc) as well.
-Paavo
[ptl@stiletti quake1]$ pwd
/usr/games/quake1
[ptl@stiletti quake1]$ ll
total 448
drwxr-xr-x 2 ptl ptl 4096 Oct 6 21:13 id1
-rwxr-xr-x 1 ptl ptl 154 Sep 30 13:19 quake1.sh
-rw-r--r-- 1 ptl ptl 4096 Aug 8 1997 readme.squake
-rwsr-xr-x 1 root root 438376 Aug 8 1997 squake
[ptl@stiletti quake1]$ cat quake1.sh
#! /bin/sh
./squake -dedicated 16 +hostname '"PTL Q1"' +fraglimit 16 +map e1m1
exit
[ptl@stiletti quake1]$ ./quake1.sh
./quake1.sh: ./squake: No such file or directory
[ptl@stiletti quake1]$ ./squake -dedicated 4
bash: ./squake: No such file or directory
[ptl@stiletti quake1]$ /usr/games/quake1/squake
bash: /usr/games/quake1/squake: No such file or directory
[ptl@stiletti quake1]$ file .squake
squake: setuid ELF 32-bit LSB executable, Intel 80386, version 1,
dynamically linked (uses shared libs), not stripped
[ptl@stiletti quake1]$ ldd squake
/usr/bin/ldd: ./squake: No such file or directory
[ptl@stiletti quake1]$ csh
[ptl@stiletti quake1]$ ./squake
./squake: Command not found.
[ptl@stiletti quake1]$ exit
[ptl@stiletti quake1]$ sh
sh-2.04$ ls -axl
total 456
drwxr-xr-x 3 ptl ptl 4096 Oct 6 21:18 .
drwxr-xr-x 7 root root 4096 Oct 7 07:44 ..
drwxr-xr-x 2 ptl ptl 4096 Oct 6 21:13 id1
-rwxr-xr-x 1 ptl ptl 154 Sep 30 13:19 quake1.sh
-rw-r--r-- 1 ptl ptl 4096 Aug 8 1997 readme.squake
-rwsr-xr-x 1 root root 438376 Aug 8 1997 squake
sh-2.04$ ./squake
sh: ./squake: No such file or directory
sh-2.04$ exit
[ptl@stiletti quake1]$ exit
------------------------------
From: Monte Milanuk <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Need help setting up masqmail for home use (long)
Date: Sat, 07 Oct 2000 12:50:36 -0600
Hello,
I think I may have finally found an MTA made for the home user.
masqmail
I am having a bit of trouble getting it configured correctly, and would
appreciate some assistance if at all possible.
My scenario:
Main computer for day-to-day use is ishamael.inet, at 10.0.0.4, w/ my
normal username being 'monte'.
ishamael is behind a firewall 'shaitan.inet' running freesco 0.26, which
has an internal address of 10.0.0.1 on eth0 and uses a modem to dial out
to the isp.
I access my email thru a Yahoo! account. The pop3 server is
pop.mail.yahoo.com, and the SMTP server is smtp.mail.yahoo.com. Yahoo!
uses a pop-authentication-before-smtp-relay scheme, to prevent spam
abuse. My user name on my Yahoo! account is 'milanuk'
Previously, I ran RedHat/Mandrake/SuSE, and used sendmail w/ the
install-sendmail script, which made setting things up pretty much
auto-magic. Now I am using Debian 2.2, and install-sendmail doesn't
seem to work on sendmail on Debian.
I use fetchmail in single-drop mode to retrieve my email from
pop.mail.yahoo.com. W/ my previous setup, I would put a line like:
postconnect "/usr/sbin/sendmail -q"
at the end of my .fetchmailrc to run mail sending right after fetchmail
finished, therefore getting around the pop-before-smtp problem.
What I seem to have problems w/ is:
a) getting masqmail to accept mail from fetchmail on port 25. I
installed masqmail, and fiddled w/ the config file, but when I run
fetchmail, it exits saying it can't deliver to port 25. WTF?
b) making sure that my mail is correctly addressed. I send the mail
from ishamael.inet, as user 'monte', and I may use different mail
clients from time to time, but I would like my addresses to get properly
re-written as '[EMAIL PROTECTED]' irregardless of which mail client I am
using.
If someone has dealt with this before, I'd appreciate some help.
Thanks for your time,
Monte
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: Linux contra Microsoft
Date: Sat, 7 Oct 2000 17:56:05 GMT
Mark Seavers writes:
> I don't think Joe Public out there would have been able to do what I had
> to do in order to get my graphics card (a Hercules 3D Prophet II mx -
> based on the NVidia GeForce 2 MX chipset) working, for example.
"Joe Public" never configures any hardware. He buys his computers with the
OS pre-installed and takes it into the store when he wants new hardware
installed.
Machines with Linux pre-installed are readily available: "Linux is too hard
to install" is not a viable argument.
--
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin
------------------------------
From: "Tim Smith" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.help,comp.os.linux.networking,comp.os.linux.portable,comp.os.linux.powerpc
Subject: Help a Linux group out with old hardware
Date: Sat, 7 Oct 2000 11:58:07 -0700
About a month ago a group of my friends and I at New Technology High School
in Napa, CA decided to start a small club to learn more about the Linux
operating system and advanced computing. The goal of Linux Club is to take
tens, if not hundreds, of discarded computers and link them together as one
in order to do scientific calculations. The idea sounded easy enough; we had
the technical knowledge and support from the school, but we soon found out
we lacked the funding to complete our project. We determined that we would
need far more computers and networking equipment than what was available to
us. We needed more low-end computers (286 and above), network interface
cards (to help us link the computers together), and networking switches (to
regulate the traffic). These things all cost money and even though our group
has managed to raise funds by heading up the school's recycling and by
having members pitch in their own money, we still don't have all the
equipment we need.
Our club needs all the equipment we can get. What you or any business you
may work for may see as garbage, could do wonders for us. We have access to
a van and we are willing to pick up any computer equipment you might be
willing to donate within the San Francisco Bay Area..
If you're interested in helping a group of self-proclaimed computer geeks,
e-mail Tim Smith at [EMAIL PROTECTED] or call Mike Sonni at
707-695-9650 (cell).
Thanks,
Tim Smith
------------------------------
** 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
******************************