I've never known a /dev/nul to exist under any UNIX. Is there something
I've missed? I only have a /dev/null and from what I've always known,
anyone and everyone on the box is free to use it.

send us the output of:

ls -l /dev/nul*

:)

On Mon, 12 Feb 2001, Vidiot wrote:

> >When one of my users try to:
> >
> >any_command | /dev/nul
> >
> >the response is either that the file /dev/nul doesn't exist or that he
> >doesn't have permissions to do that.
> >
> >If the same user tries to:
> >
> >any_command | /dev/null
> >                   ^^^^
> >
> >it works fine.
> >
> >I'm surpriced. Why is /dev/nul reserved for root? What could a user harm
> >by sending stuff to /dev/nul ? And what's the difference between
> >/dev/nul and /dev/null ?
> >
> >Regards
> >Gustav
>
> The problem that there isn't a file called /dev/nul.  It MUST be
> /dev/null.  The reason why /dev/nul works for root is because it
> has permission to write in the /dev directory and it creates a file
> called nul.  If you look at /dev/nul, you'll see that it is a file.
> DELETE IT.
>
> MB
>

-- 
-Statux



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to