HDTenEightyP/NetNews huggingface dataset:
From: spxtrb@thor.cf.ac.uk (Tim Barnett - programmer)
Newsgroups: comp.unix.wizards
Subject: Re: Detecting if running under chroot
Date: 10 Nov 92 18:15:28 GMT
Organization: University of Wales College at Cardiff
X-Mailer: Cardiff Computing Maths PP Mail Open News Gateway

In his article cons@mercury.cern.ch (Lionel Cons) writes:
| I know a way to see if I run under chroot on my OS (HP-UX) and I think
| it should work on many different platforms: the inode number of / is
| always 2, so 'ls -id' will tell me...

Close, but no cigar.  'ls -id /' giving inode of 2 just means that the
root directory is the head of a filesystem - not necessarily the head
of the 'true' root filesystem.

What you need is a handle on the real root filesystem.  Normally your
controlling terminal was opened on the root filesystem, and stdin is
normally a file descriptor pointing to it, so an fstat() of fileno(stdin)
will reveal an st_dev that should be equal to that of your current /'s
st_dev  (if you are on the 'true' root filesystem).
Now you can can check /'s st_ino to see if it is 2.  Something like:

void  main(void) {
    struct stat tty, slash;
    if (-1 != fstat(fileno(stdin),&tty)  &&  -1 != stat("/",&slash))
         if (tty.st_dev == slash.st_dev  &&  slash.st_ino == 2)
            exit(0);     /* Not chroot()ed */
         else exit(1);   /* Am chroot()ed  */
    else exit(127);      /* Error          */
}

Note that all bets are off if someone has redirected your stdin  (you should
probably at least check that  tty.st_mode  denotes a character device).

I guess this is closer, but there must be a cleaner way.
(Bet I slipped up somewhere - go on, flame me 8)
Tim
Newsgroups: comp.unix.wizards,comp.unix.shell,comp.unix.misc
From: michael@chpc.utexas.edu (Michael Lemke)
Subject: Re: The Problem with UNIX
Organization: The University of Texas System - CHPC
Date: Thu, 12 Nov 92 19:37:07 GMT

In article <EEIDE.92Nov12120339@asylum.cs.utah.edu> eeide%asylum.cs.utah.edu@cs.utah.edu (Eric Eide) writes:
>Scott Beckstead (scott@yarc.uucp) writes:
>
>
>I know of somebody who is doing research in this direction: me.  As part of my
>Masters degree I am modifying the C shell to be more tolerant of errors, both
>errors in syntax (e.g., typos) and semantics (e.g., inappropriate command line
>arguments).  My new shell keeps track of the user's command history in order to
>make accurate corrections.
>
>I have no hopes to solve all of the shell user interface problems, but I do
>hope to solve most of the common errors.  Just by fixing obvious typos my shell
>can fix 90% of the command line errors that I (and most people) make on a daily
>basis.
>

Well, fixing typos is neat but it is not the essential problem.  My
main complaint about Unix on the user interface level is that there is
no command line interpreter.  What I mean is that after the shell munged
your command line it is *completely* up to the program to interpret the
command line and there is no system function available to parse even
these `standard' options.  Some programs use one letter chinese (you
know, one character per word) and others (eg, find) use words (-print
-name).  And the real problem then starts when -l changes its meaning
from command to command, some commands need spaces between the option
and the argument, others don't, some take both, yech.  This would all be
solved if there were *one* system function that is used by all programs
instead of having every program duplicate more or less the same
functionality with different success.  And it would be great if you
could abbreviate commands (command completion of some shells it neat
but why is it neccessary in the first place?) and options (no need for
dynamic chinese anymore).

>I agree with Scott: There is no good reason that command shells shouldn't make
>more of an effort to understand the user.  

Computer:  Calculate the weather forecast for Sunday, Nov 15!

Yes, I would appreciate this... :-)

>Shells obviously can't divine the
>user's intentions in all cases, but that's not a good argument for failing to
>understand the user's intentions in *all* cases.
>

Does AI work now?

-- 
Michael Lemke
Astronomy, UT Austin, Texas
(michael@io.as.utexas.edu or UTSPAN::UTADNX::IO::MICHAEL [SPAN])
Xref: sparky comp.unix.wizards:4659 comp.unix.shell:4678 comp.unix.misc:4145
From: barnett@grymoire.crd.ge.com (Bruce Barnett)
Newsgroups: comp.unix.wizards,comp.unix.shell,comp.unix.misc
Subject: Re: The Problem with UNIX
Date: 13 Nov 92 14:34:17 GMT
	<1992Nov11.194557.16258@yarc.uucp>
	<EEIDE.92Nov12120339@asylum.cs.utah.edu>
	<1992Nov12.193707.27532@chpc.utexas.edu>
Reply-To: barnett@crdgw1.ge.com
Organization: GE Corp. R & D, Schenectady, NY

In article <1992Nov12.193707.27532@chpc.utexas.edu> michael@chpc.utexas.edu (Michael Lemke) writes:
>   Well, fixing typos is neat but it is not the essential problem.  My
>   main complaint about Unix on the user interface level is that there is
>   no command line interpreter.  What I mean is that after the shell munged
>   your command line it is *completely* up to the program to interpret the
>   command line and there is no system function available to parse even
>   these `standard' options. 

Some look at this as an advantage. You are probably complaining about
the inability to perform
	rename *.old *.new

The point of the shell is to prevent every program from having to
parse 
	~bill/$DIR/`prog`/*[0-9]?.{xxx,yyy} 

It becomes TRIVIAL to write a new shell utility. In fact many are just
more shell utilities.

If you don't like ls, write your own version. It only takes a few seconds.
If you don't like the fact the shell expands all of the metacharacters
automatically, just turn it off. In csh, do a 

	set noglob

then you can write a program called "rename", and let it parse the
arguments itself. People found out that the purpose of the shell is to
expand meta-characters, just so that the shell commands don't have to
bother. The programs also don't have to worry about I/O redirection. I
remember writing programs, and having to change the source of the
program when I wanted a printout vs.  output to the terminal. What a
waste of time!


It sounds like most of your problem is due to the large number of UNIX
utilities. How many does DOS have? If you don't like all of the
old/strange utilities, delete them or don't use them. It's not many
operating systems that give you (Hmm. time to write a new shell
command.... tic, tic, Done) ...

	find /usr/ucb /usr/bin -type f -print | wc -l

319 different commands to the shell.
That's a small number. I actually have 2033 shell commands now.

Hey, if I only have 30 commands, it would be trivial to make them similar.
--
Bruce Barnett <barnett@crd.ge.com> uunet!crdgw1!barnett
Newsgroups: comp.unix.msdos
From: mccall@mksol.dseg.ti.com (fred j mccall 575-3539)
Subject: Re: Running Dos on Unix
Organization: Texas Instruments Inc
Date: Tue, 10 Nov 1992 22:13:29 GMT

In <BxB99M.3r1@eis.calstate.edu> jherndo@eis.calstate.edu (John Herndon) writes:

>I have a 386/40mhz with 4 megs ram.  I am sick of DOS, and now prefer a
>UNIX OS.  Now, is there one that is prefered from one to the other.  I
>like BSD.  Sys V is sort of icky.  Also, is there a program that will
>allow me to run MSDOS programs on my UNIX os?  I know of Desqview/X, but
>was wonder if that was primarily for UNIX or DOS..?

I'm told that Linux will run in 4 MB, as will Coherent.  I don't know
if either of them has DOS under UNIX capability (I don't think so).
Commercial UNIX is usually required for that, and you really don't
have enough memory to run that well.

DV/X is DOS software to make the DOS machine into an X client (run X
applications, which you can then use from an X terminal or a UNIX
machine running X).

-- 
"Insisting on perfect safety is for people who don't have the balls to live
 in the real world."   -- Mary Shafer, NASA Ames Dryden
------------------------------------------------------------------------------
Fred.McCall@dseg.ti.com - I don't speak for others and they don't speak for me.
From: gorrie@hercules.cs.uregina.ca (Dennis Gorrie)
Newsgroups: comp.unix.msdos
Subject: X-win clients for DOS.
Date: 9 Nov 92 02:53:03 GMT
Organization: University of Regina, SK, Canada

I am looking for X-windows clients that will run under DOS. 
I want them to connect to HP700 series X-windows servers,
using a 9600 baud modem connection.  I assume this would work
over SLIP?

If you can suggest any good clients, please e-mail me.  
The cost of the clients is not a concern.

gorrie@hercules.cs.uregina.ca           gorriede@max.cc.uregina.ca
gorrie@regina.cs.uregina.ca             gorrie@meena.cc.uregina.ca
Dennis Gorrie    "I used to be apathetic, but now I don't care..."
Newsgroups: comp.unix.msdos
Subject: Re: Running Dos on Unix
From: belliot@eis.calstate.edu (Brett Elliott)
Date: Sun, 8 Nov 1992 06:03:58 GMT
Organization: Calif State Univ/Electronic Information Services

jherndo@eis.calstate.edu (John Herndon) writes:
> I have a 386/40mhz with 4 megs ram.  I am sick of DOS, and now prefer a
> UNIX OS.  Now, is there one that is prefered from one to the other.  I
> like BSD.  Sys V is sort of icky.  Also, is there a program that will
> allow me to run MSDOS programs on my UNIX os?  I know of Desqview/X, but
> was wonder if that was primarily for UNIX or DOS..?
> 
Newsgroups: comp.unix.msdos
From: mccall@mksol.dseg.ti.com (fred j mccall 575-3539)
Subject: Re: X-win clients for DOS.
Organization: Texas Instruments Inc
Date: Tue, 10 Nov 1992 22:11:03 GMT

In <1992Nov09.025303.301826@sue.cc.uregina.ca> gorrie@hercules.cs.uregina.ca (Dennis Gorrie) writes:

>I am looking for X-windows clients that will run under DOS. 
>I want them to connect to HP700 series X-windows servers,
>using a 9600 baud modem connection.  I assume this would work
>over SLIP?

I hope it's just a terminology problem, and that what you are really
looking for are X windows servers (the bit you sit at) for DOS that
will connect to HP700 seris X windows clients (the bit running the
application).  If not, the only X client software I know of for the PC
is Deskview/X.

-- 
"Insisting on perfect safety is for people who don't have the balls to live
 in the real world."   -- Mary Shafer, NASA Ames Dryden
------------------------------------------------------------------------------
Fred.McCall@dseg.ti.com - I don't speak for others and they don't speak for me.
Newsgroups: comp.unix.msdos
From: rick@mel1.geg.mot.com (Rick Rankin)
Subject: Re: Copying ascii files from unix to msdos
Organization: Motorola, inc. - Scottsdale, AZ
Distribution: europe
Date: 12 Nov 92 16:37:20 GMT

In article <1992Nov12.123053.19137@crc.ac.uk> jmacmill@crc.ac.uk (Dr. J.C. MacMillan) writes:

>   We have a new DEC 5000/25 connected to Internet. At present we don't
>   have it connected to a decent printer. I want to copy text files from
>   the machine onto a msdos formatted floppy to print using a WP package.
>   I've been told to use the "mcopy" routine from "mtools" but this is not is
>   not installed on my machine. Does anyone know where I can get a copy of
>   this software ?
>   thanks in anticipation
>
>   John MacMillan
>   Institue of Medical Genetics, Cardiff, UK
>   E-mail: macmillan@cardiff.ac.uk
>       or  jmacmill@crc.ac.uk.

You can ftp it from prep.ai.mit.edu in /pub/gnu.  The file name is
mtools-2.0.7.tar.Z
--
==============================================================================
| Rick Rankin				|				     |
| Motorola				| Voice: 602-441-5726		     |
| Government Electronics Group		| Fax: 602-441-2919		     |
| 8220 E. Roosevelt St.			| Internet: rick@mel1.geg.mot.com    |
| Scottsdale, AZ 85252			|				     |
| Mail Drop R4246			|				     |
==============================================================================
Newsgroups: comp.unix.msdos
Subject: Running Dos on Unix
From: jherndo@eis.calstate.edu (John Herndon)
Date: Fri, 6 Nov 1992 20:08:09 GMT
Organization: Calif State Univ/Electronic Information Services

I have a 386/40mhz with 4 megs ram.  I am sick of DOS, and now prefer a
UNIX OS.  Now, is there one that is prefered from one to the other.  I
like BSD.  Sys V is sort of icky.  Also, is there a program that will
allow me to run MSDOS programs on my UNIX os?  I know of Desqview/X, but
was wonder if that was primarily for UNIX or DOS..?

Newsgroups: comp.unix.msdos
From: allanon@sdf.lonestar.org (Kenneth Leung)
Subject: Re: X under DOS?
Organization: Best lil' ol' Pubnix in Texas
Date: Tue, 10 Nov 1992 16:37:13 GMT

In article <1dgv5pINNb19@darkstar.UCSC.EDU> lestat@cats.ucsc.edu (Lestat de Lioncourt) writes:
>
>
>Is there any program that will allow me to emulate an
>X terminal on a DOS machine? I want to be able to connect
DesqView /X is one, XVision is another.  Both requires some serious
$$$ because you will need a SLIP or PPP connection to your host
and not a regular tty dialup link.  In DesqView /X (which is what
I am more familiar with) you will need DesqView /X runtime and Network
Manager, FTP Software TCP/IP or other recommended TCP/IP vendors in order
to establish a link to the host.  You will have to discuss with your sysop
on whether he/she will set  you up a link.

Good Luck....

-ken

-- 
-------------------------------------------------------------------------------
Kenneth C.P. Leung      /Sweda Division       --  Point of Sales Systems Co.
Innovax Concepts Corp.  \Outsourcing Division --  Systems Planning & Consulting
1303 Walnut Hill Ln. 2nd Floor Irving TX 75038   Tel. 214-550-8371 x6828
Xref: sparky comp.unix.msdos:1086 comp.unix.xenix.sco:3277
From: koodli@mysore.pilgrim.umass.edu (Rajeev Koodli)
Newsgroups: comp.unix.msdos,comp.unix.xenix.sco
Subject: Coherent Unix & X windows
Date: 8 Nov 92 18:24:40 GMT
Followup-To: comp.unix.msdos
Organization: Project Pilgrim, Umass

I want to know if X11 sources (release version # will be helpful) provided by the
MIT ftp site can be built on top of Coherent Unix, a PC version of the Unix      
vendored by Mark & Williams Co.

Please reply yo me directly
Thanks

-Rajeev

koodli@ecs.umass.edu
koodli@mysore.pilgrim.umass.edu
Newsgroups: comp.unix.msdos
From: jmacmill@crc.ac.uk (Dr. J.C. MacMillan)
Subject: Copying ascii files from unix to msdos
Keywords: msdos text files
Organization: MRC Human Genome Resource Centre
Distribution: europe
Date: Thu, 12 Nov 1992 12:30:53 GMT

We have a new DEC 5000/25 connected to Internet. At present we don't
have it connected to a decent printer. I want to copy text files from
the machine onto a msdos formatted floppy to print using a WP package.
I've been told to use the "mcopy" routine from "mtools" but this is not is
not installed on my machine. Does anyone know where I can get a copy of
this software ?
thanks in anticipation

John MacMillan
Institue of Medical Genetics, Cardiff, UK
E-mail: macmillan@cardiff.ac.uk
    or  jmacmill@crc.ac.uk.


Newsgroups: comp.unix.msdos
From: f91-gal@nada.kth.se (Gran Alterland)
Subject: PC-unix plea for help!
Keywords: PC, unix, help ,info
Organization: Royal Institute of Technology, Stockholm, Sweden
Date: Fri, 13 Nov 1992 09:28:13 GMT

Hello netters!

I represent a student body that will soon spend 
something like 200.000 USD on hardware, I'd really appreciate if
you could inform me about some aspects of PC unixing.
We will be buing a Sun4 and terminals to attach to it. At present it looks like
these 'terminals' will probably be sparcstations, but there is a strong movement
that wishes to see a PC-based solution instead.
However, our list of requirements on such a system is long and though.
We need:
1) A system that can connect up to the Sun4 as 'dummie terminals'.
2) In terminal mode It must be able to run X11R5, with Motiv, with
at least 256 colours and a resolution of 1280x1024.
3) This must go throught a fast link - screen update must be as quick 
(or only marginally slower) than a sparcstation solution (any recommendations
the link? I think a Lan/Ethernet solution would be too slow, but I don't
really know...)
4) It must also be able to run 'standalong unix'. (Is SCO the best that's
available as far as Unix is concerned?)
5) Of course, it must run Dos, Windows and OS2 as well.

Is there any hardware that's able to do this for us?
Would any 486DX50 or DX266 solution suffice or are we better off waiting
for the Pentium? Is Local Bus necessay? VESA or PCI? 
Any help at all would be much appreciated!

E-mail to: f91-gal@alv.nada.kth.se

Thanx!
From: lestat@cats.ucsc.edu (Lestat de Lioncourt)
Newsgroups: comp.unix.msdos
Subject: X under DOS?
Date: 7 Nov 92 17:42:17 GMT
Organization: University of California; Santa Cruz
NNTP-Posting-Host: am.ucsc.edu



Is there any program that will allow me to emulate an
X terminal on a DOS machine? I want to be able to connect
with the university system with X, all I need it for is 
simpler stuff, and I just am tired of the plain look of the
stnadard TTY interface... If there isnt anything available,
it's not tragic or anything, but it would be nice if it was.
Newsgroups: comp.unix.msdos
Subject: Re: LINUX sources
From: belliot@eis.calstate.edu (Brett Elliott)
Date: Sun, 8 Nov 1992 06:00:43 GMT
Organization: Calif State Univ/Electronic Information Services

mhutten@mswe.dnet.ms.philips.nl writes:
> Can someone tell me where to find the LINUX, GNU C and X-window 
> sources (a mail server).
> 
> please post it in this news entry or mail me.
> 
> Mail address "mhutten@mswe.dnet.ms.philips.nl"
> 
Newsgroups: comp.unix.programmer
From: mishra@controls.ccd.harris.com (Sanjoy Mishra)
Subject: Device Driver Example
Originator: mishra@sp1
Organization: Harris Controls
Date: Wed, 11 Nov 1992 13:51:35 GMT


Hello:

I have a device driver which talks to Harware on VME board. The hardware
also has its own memory. The driver currently run fine on SVR3 of M88K
motorola. I am trying to port this driver to SVR4 on Motorola machine.
This unix uses /etc/master.d/<dev> and /stand/edt_data for device
configuration.

I am able to install this driver( I think :-) ) but it crashes when I
try to access the memory on the hardware board. Any help in this regard ?
A sample driver code and configuraion would help me a lot. By the the 
driver is character based.

-Sanjay
mishra@ccd.harris.com
From: Josef Moellers <mollers.pad@sni.de>
Newsgroups: comp.unix.programmer
Subject: Re: How to execute unix commands from a c-program
Date: 6 Nov 1992 12:31:44 +0100
Organization: Siemens Nixdorf Informationssysteme AG, Paderborn, Germany

In <1992Nov4.163532.8801@cbfsb.cb.att.com> nll@cbnewsb.cb.att.com (neal.l.leitner) writes:

>From article <1992Nov4.153029.21837@cs.ruu.nl>, by hpverwei@cs.ruu.nl (Dick Verweij):
>> See subject,
>> 
>> -- 
>> DICK H.P. VERWEIJ
>> 
>> --------------------------------------------------------------------------------
>> D:-) I:-) C:-) K:-) email : hpverwei@cs.ruu.nl 
>main()
>{
>      .
>      .
>      .
>      system("ls -l");
>}

>or

>main()
>{
>      char mystring[10];
>      .
>      .
>      .
>      strcpy(mystring,"ls -l");
>      system(mystring);
>}

or
main()
{
	.
	.
	.
	switch (fork())
	{
	case 0: /* child */
		execlp("ls", "ls", "-l", NULL);
		perror("ls");
		exit(1);
	case -1: /* Error */
		perror("fork");
		break;
	default: /* parent */
		/* You can wait() here */
		break;
	}
}

This saves the overhead of firing up Your shell, as done by system()!
-- 
| Josef Moellers		| c/o Siemens Nixdorf Informationssysteme AG  |
|  USA: mollers.pad@sni-usa.com	| Abt. STO-XS 113	   | Riemekestrasse   |
| !USA: mollers.pad@sni.de	| Phone: (+49) 5251 835124 | D-4790 Paderborn |
From: root@nsfe1.austin.ibm.com (shan)
Newsgroups: comp.unix.programmer
Subject: "Test mail form SHAN"
Date: 6 Nov 92 20:43:49 GMT
Distribution: tx
Organization: IBM, Austin


	Hi there1
	
	This is a test mail form shanti.
	
	bye.
	shanti.
Newsgroups: comp.unix.programmer
From: pete@arl.wustl.edu (Peter Flugstad,,,)
Subject: SO_REUSEADDR (was: Re: Socket Programming Help)
Reply-To: pete@arl.wustl.edu
Organization: Applied Research Lab, Washington University in St. Louis
Date: Sat, 7 Nov 1992 02:30:43 GMT

There is a discussion of this subject going on in comp.unix.internals.  Someone there
had access to the source code, and in checking the coding of the SO_REUSEADDR
flag, determined that it doesn't work, which corresponded with my experiences in
attempting to use it as well.  If anyone else has any insights into this problem of 
closing sockets so that they can be immediately re-used, I'd be very interested 
in hearing them.  

Thanx,

Pete

---
Pete Flugstad				| Internet: pete@arl.wustl.edu
Applied Research Laboratory		| Tel: (314) 935-6110
Department of Computer Science		| "To err is Human, to really 
Washington University in St. Louis	|  foul up requires a computer"

Xref: sparky comp.unix.programmer:5246 alt.sys.sun:3372
From: buzz@bear.com (Buzz Moschetti)
Newsgroups: comp.unix.programmer,alt.sys.sun
Subject: Re: a question about xview
Date: 11 Nov 92 13:57:08 GMT
Reply-To: buzz@bear.com (Buzz Moschetti)
Distribution: usa
Organization: Bear, Stearns & Co. - FAST
In-reply-to: mlevin@husc8.harvard.edu's message of 10 Nov 92 21:36:35 GMT

In article <1992Nov10.163636.17315@husc3.harvard.edu> mlevin@husc8.harvard.edu (Michael Levin) writes:
>  I have just come into the posession of some C code which runs on a
>  certain sun-4. I tried recompiling it on a different sun-4, and 
>  it is not able to find /usr/include/xview/. What exactly is xview

XView is yet another GUI programming toolkit, developed by Sun ostensibly 
as a Sunview -> X migration path.  It implements the OpenLook standard
interface model and is arguably the easiest of the toolkits to learn.  

>  (i.e., what relation does Sun's xview have to X11 in general, etc.)
>  and what determines whether a particular sun machine will have it or
>  not? Also, it it possible to easily (i.e., without rewriting all of
>  the graphics code) to recompile a program which uses xview calls on a
>  DecStation or a Silicon Graphics Iris, or is xview only a Sun thing?
>   
XView is shipped with all Suns using OpenWindows; the default place to
find it is /usr/openwin.  The package is also in the public domain.  I
believe it is part of the MIT X11R5 distribution in the contrib/toolkits
area, although I don't know for sure -- I'm using Sun's version.

Chekc out comp.windows.open-look for more info.  If you are using a SG
machine, you may want to send mail to:
	Huw Lynch
	lynchh@pride.cs.curtin.edu.au
	huw@gaius.curtin.edu.au
He just posted something in comp.windows.open-look about a patch for
XView on the Irix (s?) architecture.

Hope this helps.
From: isaac@astro.ocis.temple.edu (N Isaac Rajkumar)
Newsgroups: comp.unix.programmer
Subject: Determining PID
Date: 13 Nov 92 19:02:03 GMT
Organization: Temple University
X-Newsreader: Tin 1.1 PL5

Suppose process X makes a TCP connection with process Y and if both X & Y
run in the same machine, is it somehow possible to determine the PID of X
from Y (without X explicitly supplying it through the channel)?

Please post / e-mail.
Thanks.
--
/-Isaac
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
isaac@astro.ocis.temple.edu                              N Isaac Rajkumar
Xref: sparky comp.unix.programmer:5194 comp.mail.mh:1263
From: barmar@think.com (Barry Margolin)
Newsgroups: comp.unix.programmer,comp.mail.mh
Subject: Re: setuid programs and calls...
Date: 6 Nov 1992 17:21:21 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
NNTP-Posting-Host: telecaster.think.com

In article <1992Nov5.220832.3217@spectrum.xerox.com> leisner.henr801c@xerox.com writes:
>I don't understand why it can't find the shared library doing setruid
>instead of setuid (I see nothing else different (except for the i). 

LD_LIBRARY_PATH and LD_PRELOAD environment variables are ignored by the
dynamic linker in setuid processes, which are defined to be processes whose
real and effective uids are not equal.  This is done to prevent users from
providing their own version of a system library that includes Trojan horse
code.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
Xref: sparky comp.unix.programmer:5202 comp.mail.mh:1265