>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
-- 
e-mail: [EMAIL PROTECTED]
    Bart: Hey, why is it destroying other toys?  Lisa: They must have
    programmed it to eliminate the competition.  Bart: You mean like
    Microsoft?  Lisa: Exactly.  [The Simpsons - 12/18/99]
Visit - URL:http://www.vidiot.com/  (Your link to Star Trek and UPN)



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

Reply via email to