Linux-Misc Digest #619, Volume #21               Tue, 31 Aug 99 16:13:09 EDT

Contents:
  InoculateIT detected the (W95/Happy99.worm) virus in Mailbox (Pub (InoculateIT)
  InoculateIT detected the (W95/Happy99.worm) virus in Mailbox (Pub (InoculateIT)
  Re: Bash 2.03 ("Marout Yasuo Borms")
  Re: why not C++? (Kaz Kylheku)
  Re: Disabling control-alt-delete from a program (Lew Pitcher)
  apps run as root, segfault as user? ("Mark E. Drummond")
  Re: why not C++? (Don Waugaman)
  Re: The Microsoft/Linux Conspiracy (R.E.Ballard)
  Re: This is why RH 6.0 really sucks! ([EMAIL PROTECTED])
  Re: why not C++? (Kaz Kylheku)
  Re: XWindows Emulators ([EMAIL PROTECTED])

----------------------------------------------------------------------------

From: InoculateIT
Subject: InoculateIT detected the (W95/Happy99.worm) virus in Mailbox (Pub
Date: Tue, 31 Aug 1999 07:37:00 -0500

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

======_=_NextPart_001_01BEF3AD.856A26A0
Content-Type: text/plain

The (W95/Happy99.worm) virus was detected in (Public
Folders\Happy99.exe) and was sent by (Jumbo). Action: (File was not
Cured, Renaming.).

======_=_NextPart_001_01BEF3AD.856A26A0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2448.0">
<TITLE>InoculateIT detected the (W95/Happy99.worm) virus in Mailbox =
(Public Folders), Sender (Jumbo) !!!</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>The (W95/Happy99.worm) virus was detected in (Public =
Folders\Happy99.exe) and was sent by (Jumbo). Action: (File was not =
Cured, Renaming.).</FONT></P>

</BODY>
</HTML>
======_=_NextPart_001_01BEF3AD.856A26A0==


------------------------------

From: InoculateIT
Subject: InoculateIT detected the (W95/Happy99.worm) virus in Mailbox (Pub
Date: Tue, 31 Aug 1999 07:37:00 -0500

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

======_=_NextPart_001_01BEF3AD.853AC7D0
Content-Type: text/plain

The (W95/Happy99.worm) virus was detected in (Public
Folders\Happy99.exe) and was sent by (Jumbo). Action: (File was not
Cured, Renaming.).

======_=_NextPart_001_01BEF3AD.853AC7D0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2448.0">
<TITLE>InoculateIT detected the (W95/Happy99.worm) virus in Mailbox =
(Public Folders), Sender (Jumbo) !!!</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>The (W95/Happy99.worm) virus was detected in (Public =
Folders\Happy99.exe) and was sent by (Jumbo). Action: (File was not =
Cured, Renaming.).</FONT></P>

</BODY>
</HTML>
======_=_NextPart_001_01BEF3AD.853AC7D0==


------------------------------

From: "Marout Yasuo Borms" <[EMAIL PROTECTED]>
Subject: Re: Bash 2.03
Date: Tue, 31 Aug 1999 20:38:16 +0200
Reply-To: "Marout Yasuo Borms" <[EMAIL PROTECTED]>

are the rights on /bin/bash set right? rwxr.xr.x? otherwise it wion't run
under other than root privs... i believe it has to be root|users 755...

[EMAIL PROTECTED] heeft geschreven in bericht
<7qh503$vs7$[EMAIL PROTECTED]>...
>I have RedHat 5.2 and I upgraded Bash 1.14
>to 2.03. After the upgrade, when I try to
>login to the system using any ID other than root
>the system hangs. root id works fine though.
>
>Does anyone know how to solve this?
>
>Any help would be greatly appreciated.
>-Deva
>
>
>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.



------------------------------

From: [EMAIL PROTECTED] (Kaz Kylheku)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: why not C++?
Reply-To: [EMAIL PROTECTED]
Date: Tue, 31 Aug 1999 15:55:05 GMT

On 30 Aug 1999 23:25:16 -0700, Don Waugaman <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>,
>Kaz Kylheku <[EMAIL PROTECTED]> wrote:
>>On 29 Aug 1999 15:29:10 -0700, Don Waugaman <[EMAIL PROTECTED]> wrote:
>>>References are extremely important for use with operator overloading
>>>and templates. 
>
>>These are non-essential reasons for their existence. 
>
>Please explain, then, how to make operator overloading work without
>reference types or "compiler magic".

You mean how to make it work in the existing C++ that has references?
Clearly you can't. In order to make a copy construtor or assignment operator,
you have to obey the prescribed forms which call for references.

This could have been designed around pointers instead.

E.g.

        Object copy(&original);

and

        copy = &original;

The copy constructor would look like:

        Object *Object::Object(const Object *rhs)
        {
            // ... copy operations go here ...

            return this;        // not *this, blech!
        }

>It seems that you would prefer the sudden invocation of compiler magic
>in those instances when passing by reference is needed for correct
>semantics.

No, I'd prefer the & operator to make a pointer. What you have *now* is
compiler magic.

> I would tend to disagree - C++ has too many special cases
>already.

And among those special cases is the handling of references. 

------------------------------

From: [EMAIL PROTECTED] (Lew Pitcher)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Disabling control-alt-delete from a program
Reply-To: [EMAIL PROTECTED]
Date: Tue, 31 Aug 1999 18:46:54 GMT

Look in your /etc/inittab for a line that looks like...
   ca::ctrlaltdel:/sbin/shutdown -t5 -rfn now 

Remove this line, and you have disabled the <ctl><alt><del> keysequence.
Change the line to run a different program (say
   ca::ctrlaltdel:/bin/echo 'somebody hit ctl-alt-del' >/dev/console
and you change the action the key sequence invokes

If you are concerned about luser escapes, you might also disable
the abort keys in your X server (see /etc/XF86Config for details)

On Tue, 31 Aug 1999 18:41:36 GMT, [EMAIL PROTECTED] wrote:

>Can someone explain how to disable the console control-alt-del key sequence
>so that if an important program is running some bozo can't reboot the  
>machine short of doing a hardware reset. I realise the program will have
>to be setuid root but thats not a problem. I know its possible since the
>XF86 server accomplishes it somehow (though I've never understood why it 
>bothered)
>
>NJR


Lew Pitcher
System Consultant, Integration Solutions Architecture
Toronto Dominion Bank

([EMAIL PROTECTED])


(Opinions expressed are my own, not my employer's.)

------------------------------

From: "Mark E. Drummond" <[EMAIL PROTECTED]>
Subject: apps run as root, segfault as user?
Date: Tue, 31 Aug 1999 15:12:39 -0400

I have 2 apps (my MySQL monitor and XChat) that run fine as root but
segfautl when run as my normal user? Anyone know what causes this?

Mark

------------------------------

From: [EMAIL PROTECTED] (Don Waugaman)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: why not C++?
Date: 31 Aug 1999 10:03:20 -0700

In article <[EMAIL PROTECTED]>,
Timo Tossavainen  <[EMAIL PROTECTED]> wrote:
>Don Waugaman wrote:
>
>C++ers usually miss the point of that Lispers and Smalltalkers have known for
>some time. I think there's a "market" for a GPL'd C++ interpreter that checks
>the code for array bounds, invalid casts, pointer dereferencing,  memory
>deallocation, etc. all the stuff that C++ doesn't check at run-time. The
>interpreter could be used to debug the code and then it could be compiled when
>there's reasonable evidence that it is acceptably bugless. Also the environment
>should support adding and fixing functions/classes as the program is running
>(i.e. no edit-compile-debug-cycle). This would reap many of the benefits of the
>dynamic language environments in terms of development speed. It's weird that
>even the leading compiler vendors have missed the option of using interpretation
>during development.

On the other hand, writing a C++ interpreter is an experience I wouldn't
wish on my worst enemy.  Just parsing the language for compilation is bad
enough, and working through the various issues with different compilation
units could turn into a nightmare.

I think your idea has a great deal of merit.  GNU used to (still does?)
have a package called 'checker' which was intended to provide a runtime
environment for catching these kinds of errors at the point of infraction.
I'm not sure but there may have been a compiler switch which slightly
changed code generation to perform some of these basic checks inline.
The edit-compile-debug cycle could be shortened by using some form of
dynamic relinking, though keeping the lists of references that need to
be changed is a chore.

Another approach is to create a binary rewriting tool that inserts checks
for memory-use problems directly into an executable.  Unfortunately, this
method is patented by the Purify folks.
--
    - Don Waugaman ([EMAIL PROTECTED])    O-             _|_  Will pun
Web Page: http://www.cs.arizona.edu/people/dpw/            |   for food
In the Sonoran Desert, where we say: "It's a dry heat..."  |     <><
...When the doc start's whistlin' "Happy Trails," it really tends to
take the wind out of your sails.....            - Steve Taylor

------------------------------

From: R.E.Ballard <[EMAIL PROTECTED]>
Subject: Re: The Microsoft/Linux Conspiracy
Date: Tue, 31 Aug 1999 19:15:57 GMT

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> On Tue, 31 Aug 1999 09:58:54 GMT, R.E.Ballard <[EMAIL PROTECTED]>
> wrote:
>
> >In article <[EMAIL PROTECTED]>,
> >  [EMAIL PROTECTED] wrote:
> >> On Mon, 30 Aug 1999 21:02:44 GMT, [EMAIL PROTECTED] wrote:
> >> >> In article <[EMAIL PROTECTED]>, Leonard Evens
wrote:
> >> >
> >> >> >There is a danger that Microsoft will attempt to `absorb'
> >> >> >Linux by distributing its own version which contains
> >> >> >Microsoft only extensions.
> >> >
> >> >There is an even bigger barrier.  Microsoft sold
> >> >it's rights to UNIX,
> >> >and the UNIX market when it sold Xenix
> >> > to SCO.  For Microsoft to now
> >> >implement a version of Linux, SCO would
> >> > have to publicly approve the deal.
> >>
> >> >???
> >>
> >> only if microsoft wanted to claim what it was peddling was "UNIX".
> >> But linux is NOT UNIX. so this is not a barrier to microsoft.
> >
> >Close, but no cigar.  Microsoft sold XENIX to SCO.  SCO realised that
> >Microsoft could easily reenter the market and wipe them out.  As a
> >result, the language was made very comprehensive.  Microsoft was
> >desparate to get Windows to Market before Mac took over the desktops,
> >and he figured that UNIX was a clunky text-only format that was going
> >nowhere.  If he had know what was happening at the X consortium with
> >project Athena, he probably never would have sold.  Xerox/PARC was so
> >upset with Apple and Microsoft that they had contributed much of the
> >engineering and software technology to Athena.  By the time Gates
made
> >it to his car after signing the contract, IBM, HP, Sun, AT&T and
several
> >others purchased the outstanding stock in a way that guaranteed that
> >Gates could never buy his way out of the contract.
> >
> >When Windows 3.1 came out and was being ignored due to intense
interest
> >in Sun's new IPC, Gates had that familiar sinking feeling, that same
> >feeling he had when he watched the Apple II steal the show from the
> >MITS Altair.  Later that day, Gates announced NT, which was supposed
to
> >be a "Better UNIX than UNIX".  This was at least the second time Bill
> >Gates had announced an Operating System that didn't even exist.
> >
>
> This has me curious, I've heard of court cases where NT was declared
> POSIX compliant ( supposedly so Microsoft coiuld get government
> contracts which required PoOSIX comliance ). If this were true, then
> how could Microsoft get away with the SCO agreement and NT?

Remember, NT is only POSIX LEVEL 1 compliant.  This means that it
can handle standard K&R style c functions, and has some concept of
standard I/O.  Even this isn't part of the standard package.  To be
compliant, one must purchase the appropriate license AND the "NT
Resource Kit".

OpenVMS, OS/390, and QNX are also "POSIX level 1 compliant".  For Level
1, you don't need to be able to fork(), you don't need to be able to do
pipe(), and you don't need to be able to do some of the other
interprocess capabilities.

OpenVMS is discouraged by knowlegable VMS administrators because of it's
performance hit.  QNX has a "UNIX personality", similar to the BSD
"personality" of MACH.  OS/390 has only recently been tuned to give
good performance without seriously impacting the MVS performance.

SCO did give Microsoft consent for POSIX level 1, and for TCP/IP.
Mainly because it was in the best interests of the investors (HP, IBM,
SUN, AT&T, Novell) to do so.

--
Rex Ballard - Open Source Advocate, Internet
Architect, MIS Director
http://www.open4success.com
Linux - 44 million and growing at 3%/week!


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

------------------------------

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Re: This is why RH 6.0 really sucks!
Date: Tue, 31 Aug 1999 18:49:15 GMT

In article <[EMAIL PROTECTED]>,
  Jack Zhu <[EMAIL PROTECTED]> wrote:

> 1. Lots of bug, and much more than ones of RH 5.0 which I used before.
> [snip]

With all due respect, you wouldn't know a bug if it walked up
and invited you to join it for afternoon tea.  RedHat 5.2 and
prior had HORRIBLE default security, RedHat 6.0 was far better.
I have installed BOTH versions on several computers including
a couple of ancient 486 machines, and in this they are FAR better
than OpenLinux, TurboLinux, LinuxPro and other "user friendly"
distros.  In daily use with no crashes or significant bugs, I
might add.  Fastest posting of updates of any of the distros I've
installed.  Honestly, lots of positives, few negatives that can't
be easily remedied.

Doesn't make RH the best, doesn't mean there are no bugs.  But
you have mistaken your lack of knowledge for a problem with the
OS, which it isn't.  So to berate RH publicly when you clearly
need to get a clue isn't the best way to increase your knowledge
of Linux using Usenet.  Have you ever considered using a search
engine?

Go to www.altavista.com, click on "Usenet", put the following into
the search:

+Oracle +Linux +"RedHat 6.0" +problem

and hit "search"... you'll get an answer to your install problem,
from comp.os.linux.setup no less!  Now how hard was that?  Took
me one minute (seriously).

> 3. When I try to upgrade to kernel 2.2.11, the boot warning message
> is like 'System map don't match'. Does RH force their customers only
> stick with Kernel 2.2.5? Really stupid idea.

RH has an *excellent* set of instructions on how to upgrade to the
2.2.x kernel from 2.0.36.  I have used those instructions successfully
a dozen times, never seen the message you did.  Did you even look on
their website?  Sheesh.

> 4.Compare Slackware 4.0 and RH 6.0, which one is better? I never get
> chance to try Slackware. I don't need useless fancy things, I only
> need the pure Linux.  Could anyone tell me which one is better for me,
> slackware or RH?

I have to agree with a previous post, perhaps Windows 95/98 is for
you.  But if you're going to stick with Linux, you won't like the
change that Slackware would represent -- requires MORE knowledge
of Linux at a lower level, and is BSD style init rather than System
5.  That's not bad, it just means that it's different than what you
are used to from RedHat and most other distros.  MANY people like
Slackware, but my bet is that you wouldn't. Your mileage may vary.

> Anyway, I think RH 5.0 is OK, RH6.0 is worse, much worse. And RH try
> to be Microsoft in Linux world, this is absolutely stupid. I already
> recommend all my friends get rid of RH products.
> Many of them also agree with me, there's a common sense that RH sucks!

Oh my, such hostility!  Maybe it would be best if you did go out
for tea with that bug, you need to relax a bit.

Look, no offense intended, but you clearly don't understand enough
about Linux to berate ANY distro.  I don't have enough knowledge to
say categorically that one is horrible and another is so awesome;
the difference is that I realize this and use the Usenet newsgroups
to improve that knowledge rather than vent.  We've all wasted too
much time responding to your rants, but we're all human and it's SO
annoying to ignore clueless pontification.

Probably mine included.  <soapbox mode off>  Best of luck in your
search for Linux enlightenment.

- Leo


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

------------------------------

From: [EMAIL PROTECTED] (Kaz Kylheku)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: why not C++?
Reply-To: [EMAIL PROTECTED]
Date: Tue, 31 Aug 1999 15:56:30 GMT

On 30 Aug 1999 23:44:08 -0700, Don Waugaman <[EMAIL PROTECTED]> wrote:
>However, considering the difficulty of creating code that exercises the
>compiler this way, compared to the ease of creating code that dereferences
>a NULL pointer, I would say that C++ references pass the "Murphy" test
>with flying colors.

Maybe with respect to null pointers. But what about dangling references?
It's easy to create references to objects that no longer exist, because
their enclosing statement block has terminated or have been deleted.
This is yet another way in which references are as unsafe as pointers.

------------------------------

From: [EMAIL PROTECTED]
Subject: Re: XWindows Emulators
Date: Tue, 31 Aug 1999 19:01:30 GMT

  [EMAIL PROTECTED] (Peter.vanHelden) wrote:
> Johan Kullstam ([EMAIL PROTECTED]) wrote:

> : what he is after is known as an X *server* for windows.

> Oh no. The X server is called a server because it bloody well is[...]
> It's just that tons of people think they understand client/server
> terminology.

> client: the thing that is nearby, server: the thing that is far away.
> This is wrong. A server is an entity that provides a service, a
> client is an entity that makes use of a service. Physical location
> is irrelevant.

No, actually, what bothers people like me about the terminology (and
I've been using X since version 10 and coding in Xlib since X11R2) is
that user interaction usually comes to a server as moderated by a
client.

With X, user interaction comes to a client as moderated by a server.
This is truly a case where using existing terminology was not wise.
Perhaps it should have been "moderator" and "application" or even
"abstractor" and "consumer". Anything but client and server.

To give you a better idea of how bad this is, imagine that I walk into a
bank and speak to someone at the counter. I say "Hi, are you the next
available teller" and they say "No, I'm a security guard because I know
how to press this little red-button when a customer tries to steal from
us." This is an incorrect answer. You are acting as a teller from my
perspective, and should be willing to answer to that "class" name (not
to reference OO programming, which is a different bag of worms).

There are a number of mistakes in X's architechture and naming like
this, that I forgive because they're *still* the only ones that come
close to getting it right (you can't even initiate a remote Windows
session without horribly inefficient moderator software). Another
example would be the location of fonts. The font server was an attempt
to solve for this, but it was never truly adopted in full. Also, fonts
are not alone. What about a pixmap server? Try this one on for size:
"Caching proxy pixmap/font server". I want one bad! 1/2 ;-)

If X were to solve some of these basic problems; impliment alpha
channels and anti-aliasing in the server; call it X12 and be done with
it, I'd be in heaven. It'd also be the death of all of these me-too
X-replacement projects (e.g. the ill fated Berlin).

Sigh, back to my dream world... :-(


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

------------------------------


** 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
******************************

Reply via email to