Linux-Misc Digest #54, Volume #21 Fri, 16 Jul 99 14:13:08 EDT
Contents:
Re: Kernel 2.3.10 problems (Robert Komar)
Re: sin + cos in C (Gergo Barany)
Re: CIA assassinations (Phillip Lord)
Re: CIA assassinations (Steve Martonak)
Re: logging in is very slow (Pieter Wenk)
Re: Red Hat is Crap!! (Pieter Wenk)
Re: CIA assassinations (Holy Cow)
Safe vs fast Linux filesystems (C.W.Holeman II)
Re: Multiple Newbie questions (Pieter Wenk)
Re: chroot-performing sshd? (Dave Lugo)
Re: Printing/modem problem with Red Hat 6.0 (Pieter Wenk)
Re: Does Linux support 'sar'? (Robert Komar)
vmlinuz?? (lawrence ta-wei lu)
Serial Console w/ SuSE 6.1 doesn't work ("Mathias Eggers")
Re: FTP daemon resetting folder permissions??? (NF Stevens)
PCMCIA or USB video in/out? ("David J. Topper")
----------------------------------------------------------------------------
From: Robert Komar <[EMAIL PROTECTED]>
Crossposted-To: redhat.kernel.general,comp.os.linux.setup
Subject: Re: Kernel 2.3.10 problems
Date: 16 Jul 1999 16:57:42 GMT
In comp.os.linux.misc Karl Keyte <[EMAIL PROTECTED]> wrote:
: Has anyone had problems with SMB compiling in the 2.3.10 kernel?
: It can't find 'get_cached_page' anywhere - seems to have vanished
: from the source.
: Any clues anyone?
The latest 2.3 kernels are highly experimental and don't work properly
with many filesystems. Unless you're helping to debug the kernel, it
would be best to stick with 2.2 kernels for a while, yet. Take a look
at http://www.kt.opensrc.org/ to get a flavour of what's going on
in the kernel development scene.
Cheers,
Rob Komar
------------------------------
From: [EMAIL PROTECTED] (Gergo Barany)
Subject: Re: sin + cos in C
Date: 16 Jul 1999 16:40:39 GMT
In article <[EMAIL PROTECTED]>, Stephen Chadfield wrote:
>Glitch wrote:
>>
>> any reason why we have 2 more responses than neeeded?
>
>You don't understand how newsgroups work, do you?
Part of using newsgroups is the ability to foresee which questions will
get many responses, and to not answer them.
Gergo
--
Horses are forbidden to eat fire hydrants in Marshalltown, Iowa.
GU d- s:+ a--- C++>$ UL+++ P>++ L+++ E>++ W+ N++ o? K- w--- !O !M !V
PS+ PE+ Y+ PGP+ t* 5+ X- R>+ tv++ b+>+++ DI+ D+ G>++ e* h! !r !y+
------------------------------
From: Phillip Lord <[EMAIL PROTECTED]>
Crossposted-To: comp.os.ms-windows.advocacy,comp.os.linux.advocacy,gnu.misc.discuss
Subject: Re: CIA assassinations
Date: 16 Jul 1999 18:11:38 +0100
>>>>> "MK" == MK <[EMAIL PROTECTED]> writes:
MK> Every socialism evolves into Soviet system, because this is
MK> inherent fate of socialism being unsustainable system. From
MK> Jamestown to Russia. Read "Animal Farm" by George Orwell for
MK> good metaphor of mechanism of transformation.
Oh nonsense.
The Soviet system was great, until it moved away from
the Soviet system and became Stalinist. Incidentally if you are into
George Orwell I suggest that you read "homage to catalonia", and "down
and out in paris and london" whilst you are there. This might help you
to understand that Orwell was actually a socialist, was decrying the
death of it in the USSR, not claiming an historical envitablity.
There are many countries which have strong socialist
traditions (including my own) and in many cases these ideals have been
incorporated deeply into the society. And most of them have not turned
into totalitarian governments.
Phil
------------------------------
From: [EMAIL PROTECTED] (Steve Martonak)
Subject: Re: CIA assassinations
Date: Fri, 16 Jul 1999 15:28:15 GMT
Ed Cogburn <[EMAIL PROTECTED]> wrote:
>Agreed. If the government had not intervened, we'd still be under
>the screws of Standard Oil. In any market where a company has
>reached monopoly status, the customer is powerless.
You're going to have to find a better example. Standard Oil
controlled roughly 90% of the oil industry at the time the government
went after them. By the time of the breakup their share was down to
about 70%. Market forces were working just fine.
------------------------------
From: Pieter Wenk <[EMAIL PROTECTED]>
Subject: Re: logging in is very slow
Date: Fri, 16 Jul 1999 16:21:34 GMT
>>>>>>>>>>>>>>>>>> Message d'origine <<<<<<<<<<<<<<<<<<
Le 16/07/1999, =E0 14:22:10 h, scable <[EMAIL PROTECTED]> vous a =E9=
crit=20
sur le sujet suivant logging in is very slow:
> I'm running RH6.0 Frequently (about one in four times) when I power=20
up
> my machine and log in under my personal account, getting from the=20
little
> login window to a full desktop takes a long time -- as much as five
> minutes. I give it my name and password; the window goes away leaving=
> only the RH logo on the screen; and then it just sits there for=20
several
> minutes before anything else comes up. This only happens with my
> personal account. It never happens with the root account and it never=
> happens with a second user account I have on the machine. Anybody=20
know
> what to do about this?
> (I tried increasing my swap space, so i now have 127meg of swap and
> 64meg real memory, but it did no good.)
> Thanks.
I had the same problem, but also under root login. Now I run as you a=20
Red Hat 6.0 version on a 586 machine with also 64 meg RAM...
I am a pure new bee to Linux, but I guess it's GNOME whi is cloaking=20
up the system.
As exemple, when logged in....it took to me quite time untill=20
enlightment did start in order loading the rest.....and fort the rest,=20
well.....
Under my user account I do not load anymore GNOME.....just KDE only.
Result, all the loadings are going on again, quite fast.....But I=20
still get a nice core file of 1,2 MB....each time I load....
I do not understand Red Hat, having put this certainly quite nice tool=20
already on their distribution....I think it was too early.=20
Regards
Pieter Wenk
CH-Vevey Riviera Vaudoise Switzerland
/ // / (_)____ __ ____ __ =20
/ /__/ / _ \/ // /\ \/ /=20
/____/_/_//_/\_,_/ /_/\_\
* * * THE CHOICE OF A GNU GENERATION * * *
------------------------------
From: Pieter Wenk <[EMAIL PROTECTED]>
Subject: Re: Red Hat is Crap!!
Date: Fri, 16 Jul 1999 16:29:15 GMT
>>>>>>>>>>>>>>>>>> Message d'origine <<<<<<<<<<<<<<<<<<
Le 16/07/1999, =E0 09:08:56 h, [EMAIL PROTECTED] (blah) vous a =E9cr=
it=20
sur le sujet suivant Red Hat is Crap!!:
> Get Slackware or Debian, they are the only pure distributions!
> Anyone who has used both Red Hat and either of these distributions
> knows this!
In other words and according to your narrow views, all new bees and=20
other Red Hat users are stupids in using this distribution.
Thank you for this ++great++position.
Regards
Pieter Wenk
CH-Vevey Riviera Vaudoise Switzerland
/ // / (_)____ __ ____ __ =20
/ /__/ / _ \/ // /\ \/ /=20
/____/_/_//_/\_,_/ /_/\_\
* * * THE CHOICE OF A GNU GENERATION * * *=20
------------------------------
From: Holy Cow <[EMAIL PROTECTED]>
Crossposted-To: comp.os.ms-windows.advocacy,comp.os.linux.advocacy,gnu.misc.discuss
Subject: Re: CIA assassinations
Date: Fri, 16 Jul 1999 11:53:50 +0600
MK wrote:
> As long as monopoly does not have backing of government,
> it falls apart in finite time due to internal contradicting interests.
That's an interesting piece of home-made marxism. They've always relied
on such 'contradictions' <g>. Keep waitin...
> Also, those outside monopoly are free to compete with monopoly,
Absolutely true. As true as that cripples are free to compete with
athletes.
--
len
if you must email, reply to:
len bel at world net dot att dot net (no spaces, ats2@, dots2.)
------------------------------
From: C.W.Holeman II <[EMAIL PROTECTED]>
Subject: Safe vs fast Linux filesystems
Date: Sat, 17 Jul 1999 09:07:23 -0700
I had a problem after as power outage with my file systems.
I am using Mandrake 6.0, Cyrix 266 MHz, 32MB RAM, 4.3 GB HD.
with KDE.
On booting after the power outage there were errors with hints to:
e2fsck -b 8193 <device>
I tried this with /dev/hda5, 7 and 8 for /boot, /home and /.
This did not help.
A FreeBSD knowledgable friend said that Linux uses a fast vs safe strategy
for disks and recommended tunefs. I did not see anything in tune2fs that
related. I did find that in fstab that defaults is specified
for the disks. "defaults" is listed as being
rw,suid,dev,exec,auto,nouser,async
so I replaced the "async" of "defaults" with "sync":
rw,suid,dev,exec,auto,nouser,aync
when rebooting I got as bunch access permissions. They seem to be related to
programs running. I did include the "exec" and checked its spelling.
Any clues as to how I can get a safe vs fast file system?
--
C.W.Holeman II
[EMAIL PROTECTED]
http://home.earthlink.net/~cwhii
------------------------------
From: Pieter Wenk <[EMAIL PROTECTED]>
Subject: Re: Multiple Newbie questions
Date: Fri, 16 Jul 1999 17:35:17 GMT
>>>>>>>>>>>>>>>>>> Message d'origine <<<<<<<<<<<<<<<<<<
Le 10/07/1999, =E0 17:42:10 h, [EMAIL PROTECTED] (Farouk Dindar) vous a=20
=E9crit sur le sujet suivant Multiple Newbie questions:
> I am new to Linux.
> I have Mandrax complete with KDE interface.
> How do I add new programs to desktop?
> I want to try Netscape Navigator
> Is there a newxpress clone for Linux?
> How do I change the video display resolution after
> installation?
> Is there is Windows 98 interface clone?
> How do I install it?
> Farouk Dindar
> Win 98 user curious about Linux.
Farouk, you will have to get used in using KDE. I assume, Netscape IS=20
already installed on your system.
An excellent and inexpensice book is:
SAMS Teach Yourself KDE 1.1, written by Nicholas D. Wells.
ISBN 0-672-31608-0
This book will explain you in details, how to create Kdelnks allowing=20
to launch apps....etc.
BTW: launch a research with the nifty research tool of KDE...put in=20
netscape..and you will likely get a list indicating the directories.
If Netscape is on your system, have a look under usr/bin/...there you=20
should find a binary named netscape.
To this binary you will have to create a kdelnk...
Regards
Pieter Wenk
CH-Vevey Riviera Vaudoise Switzerland
/ // / (_)____ __ ____ __ =20
/ /__/ / _ \/ // /\ \/ /=20
/____/_/_//_/\_,_/ /_/\_\
* * * THE CHOICE OF A GNU GENERATION * * *
------------------------------
From: Dave Lugo <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.security,comp.security.unix
Subject: Re: chroot-performing sshd?
Date: Fri, 16 Jul 1999 11:42:28 -0400
Birger Toedtmann wrote:
>
> Hi,
>
> hope that this isn't such a repitition but my news search engine is a
> bit dupe....
>
> So... ..as it is possible to run any daemon in a chrooted environment,
> one can do this with sshd as well but this has the nasty implication
> that all users drop in the same environment. I'm in search for a
> server that drops each user in her own chrooted dir like most ftp
> servers are capable of.
>
> Otherwise - putting a "chroot /dododo2" within /etc/passwd for a shell
> does not work out because of the restrictive implementation of chroot
> as a priviledged system call.
>
> Even a suid /usr/sbin/chroot won't work: you'll end up euid=0 as well
> (and no one wants to suid chroot :->)
>
> So I was wondering whether there is any sshd implementation out there
> that has a "Chroot Yes" in its sshd_config, reads the homedir of a user
> from /etc/passwd and drops him there doing a chroot, ending up euid=uid.
>
> Suggestions?
>
> Or do I have to patch it myself (*sigh*)?
>
> Regards,
>
> Birger
>
> --
> Birger T�dtmann. Bielefeld, Germany.
> echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | \dc
> 00 83 E2 57 EC 60 0B 1C D3 18 AE 2A 40 55 81 22
penguin#> diff pty.c.BAK pty.c
101c101
< int pty_allocate(int *ptyfd, int *ttyfd, char *namebuf)
---
> int pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, int in_prison)
103c103
< #ifdef HAVE_OPENPTY
---
> #ifdef HAVE_OPENPTY_pretendthisisnothere
131c131
< error("openpty: %.100s", strerror(errno));
---
> error("getpseudotty: %.100s", strerror(errno));
461c461
< for (i = 0; i < num_ptys; i++)
---
> for (i = (in_prison ? 32 : 0); i < num_ptys; i++)
penguin#> diff pty.h.BAK pty.h
43c43
< int pty_allocate(int *ptyfd, int *ttyfd, char *ttyname);
---
> int pty_allocate(int *ptyfd, int *ttyfd, char *ttyname, int in_prison);
penguin#> diff sshd.c.BCK sshd.c
623c623
< void do_authenticated(struct passwd *pw);
---
> void do_authenticated(struct passwd *pw, int in_prison);
2168a2169
> int in_prison = 0;
2225a2227,2236
>
> if (!pw) {
> in_prison = 1;
> if (chroot("/usr/local/lusers")) {
> printf("chroot(): [%d] %s\n",errno,strerror(errno));
> do_authentication_fail_loop();
> }
> pw = getpwnam(user);
> }
>
2791c2802
< do_authenticated(pw);
---
> do_authenticated(pw, in_prison);
2799c2810
< void do_authenticated(struct passwd *pw)
---
> void do_authenticated(struct passwd *pw, int in_prison)
2887c2898
< if (!pty_allocate(&ptyfd, &ttyfd, ttyname))
---
> if (!pty_allocate(&ptyfd, &ttyfd, ttyname, in_prison))
Forgive the format of these diffs, they are against ssh 1.2.26.
The changes work under linux 2.0.x (RedHat 5.1). YMMV, depending
n what version of UNIX you're running...
/usr/local/lusers is a chrooted tree.
If the user ssh'ing in is *not* in the normal /etc/passwd, they
are looked for in /usr/local/lusers/etc/passwd. If they exist
in the chrooted passwd file, they are dumped into the chrooted
area.
The above also alloctes chrooted pty's starting at a different
minor/major than non-chrooted, to avoid users snopping each other's
shell sessions...
Hope this helps,
Dave
PS - I am *not* the author of the above, I got a coder friend of
mine to set this up for me.
===============================================
Dave Lugo | [EMAIL PROTECTED]
Systems/Network Admin. | http://www.stk.com
Analytical Graphics Inc. | (610)578-1000
===============================================
------------------------------
From: Pieter Wenk <[EMAIL PROTECTED]>
Subject: Re: Printing/modem problem with Red Hat 6.0
Date: Fri, 16 Jul 1999 17:08:45 GMT
>>>>>>>>>>>>>>>>>> Message d'origine <<<<<<<<<<<<<<<<<<
Le 11/07/1999, =E0 17:22:22 h, Dukhong Kim <[EMAIL PROTECTED]> vous a =E9cri=
t=20
sur le sujet suivant Printing/modem problem with Red Hat 6.0:
> I am new to linux. I am trying to print from my HP laser jet6i after
> installing RH 6.0 but there is no printout. The light in the printer=20
is
> blinking. Since I installed RH 6.0 in the machine which Window98 is
> already installed this may cause a problem while sharing the printer.
> I used "printtool" and checked the pre-configuration. It was=20
following:
> Edit Local Printer Entry
> Names: lp
> Spool Directory: /var/spool/lpd/lp =20
> File Limit in kb : 0
> Printer Device: /dev/lp0
> Input Filter : select: *auto* HP LajerPrint
> I don't know what is wrong. When I test with the test command there's =
no
> printout.
> My second question is about Modem. Since I bought HP pavillion 6460
> there is a HCF modem which is not compatible with Linux ( I was my=20
fault
> for didn't check it out before) I can't connect to school network.
> Yesterday I bought another modem which says it supports linux but it=20
is
> not working either. I am wondering whether this modem is not=20
compatible
> with this machine. Is it possible to happen this? If this is the=20
case
> how can I get a new modem and make it connected to network? I am
> worrying about a possibility that even if I bought a modem which can=20
be
> supported by linux it may not work with my other hardware. I am trying=
> to order AOpen's FM56-ITU/2. I spent almost three days to figure out
> but it seems that I am on the verge of giving up using linux and go=20
back
> to this darn window98.
> I will appreciate any advice.
And these are exactly the problems I have.
Sorry, but with regards to set up printers/modems for=20
sending/receiving fax and to get a ZIP drive on the paralell port to=20
work, developers should realy come along with tools, allowing even new=20
bees to get rid of this absolute pain in the neck, day's=20
job's......Under Win95/98 all these jobs are really done with few=20
mouse clicks......
Regards
Pieter Wenk
CH-Vevey Riviera Vaudoise Switzerland
/ // / (_)____ __ ____ __ =20
/ /__/ / _ \/ // /\ \/ /=20
/____/_/_//_/\_,_/ /_/\_\
* * * THE CHOICE OF A GNU GENERATION * * *
------------------------------
From: Robert Komar <[EMAIL PROTECTED]>
Subject: Re: Does Linux support 'sar'?
Date: 16 Jul 1999 17:05:24 GMT
[EMAIL PROTECTED] wrote:
: Is there a 'sar' like program on Linux?
: 'sar' is System Activity Report
: It gets system information such as
: swap, memory, paging, queues, cpu usage, etc.
Try ftp://metalab.unc.edu/pub/Linux/system/status/sysstat-1.2.tar.gz
I've never seen an official version of sar in action, but this
clone is probably something like what you're looking for.
Cheers,
Rob Komar
------------------------------
From: [EMAIL PROTECTED] (lawrence ta-wei lu)
Subject: vmlinuz??
Date: 16 Jul 1999 17:50:45 GMT
hi,
i'm a newbie to Linux. i just installed Slackware 4.0 and i guess
i'm running the vmlinuz kernel. i was wondering how one decides
to change/upgrade kernels. I don't see any problem with the one
I'm using but i keep reading about people upgrading their kernels.
I just wanted to know why someone upgrades a kernel and if i should.
Thanks
-Larry
--
"Better than a thousand men is a man with intelligence"
**********************************************************************
* Lawrence Lu * [EMAIL PROTECTED] *
------------------------------
From: "Mathias Eggers" <[EMAIL PROTECTED]>
Subject: Serial Console w/ SuSE 6.1 doesn't work
Date: Fri, 16 Jul 1999 19:10:20 +0200
Hello there,
I'm trying to bring a serial console to function.
First I configured my serial port for login via mingetty. That works fine as
long as the machine runs. After reboot the init tells me about "Respawning
too fast. Disabled for 5 minutes" and in the "F9"-screen (sorry whats the
correct term for it?) it says the device /dev/ttyS0 is not a character
device. By executing "setserial auto /dev/ttyS0" and invoking "init q" the
login is possible again ... until next reboot. Any suggestions further than
executing setserial during bootprocess?
The next problem is that I want the machine to give its entire boot-messages
to this first serial port. Compiling the serial console option into the
kernel (2.2.5) does not do it. The next time I excluded the support for the
console on a virtual terminal - didn't help me out - then I found the
serial-HOWTO and the text-terminal-HOWTO. That gave me the hint to edit the
console.c file. It's a little bit better now. In lilo.conf are the right
terms set to see boot messages, but when the kernel takes over control
(right after swap is up) the boot messages switch to the virtual terminal.
May anyone help me out of this?
Thanks a lot + Best regards
Mathias
------------------------------
From: [EMAIL PROTECTED] (NF Stevens)
Subject: Re: FTP daemon resetting folder permissions???
Date: Fri, 16 Jul 1999 18:11:53 GMT
Christopher Suleske <[EMAIL PROTECTED]> wrote:
>Hmmm... I checked for /etc/permissions and /home/ftp/etc/permissions... no
>dice.
>
>I checked in my FTP docs and couldn't find anything about it!
>
Perhaps its specific to SuSE. Basically /etc/permissions is a list
of important files and their owners and access permissions. The daily
cron task mails root and resets the ownership and access if they
have changed.
Norman
------------------------------
From: "David J. Topper" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.portable
Subject: PCMCIA or USB video in/out?
Date: Fri, 16 Jul 1999 13:57:54 -0400
Hey folks,
Are there any (PCMCIA or USB or even cardbus) devices (that work with
Linux of course) that allow the input/output of video? I mean from a
video camera RCA output and/or out to a TV, projector, or VCR.
I'd like to use one on my HP Omnibook 4150.
Email responses preferred.
Thanks all,
DT
--
David Topper
Technical Director - Virginia Center for Computer Music
Programmer Analyst - School of Arts and Sciences
http://www.people.virginia.edu/~djt7p
(804) 924-6887
------------------------------
** 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
******************************