SCIENTIFIC-LINUX-USERS Archives

April 2010

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stephan Wiesand <[log in to unmask]>
Reply To:
Stephan Wiesand <[log in to unmask]>
Date:
Fri, 9 Apr 2010 16:45:50 +0200
Content-Type:
multipart/signed
Parts/Attachments:
text/plain (986 bytes) , smime.p7s (4 kB)
Hi Arnau,

On Apr 9, 2010, at 16:16, Arnau Bria wrote:

> Hi all,
> 
> has anyone had problems with /dev/null perms modification?
> 
> Sometimes I find /dev/null with  rw-r-r  instead of crw-rw-rw in some
> nodes.
> 
> I don't know who/what can do it and the purpose of doing so, but if it
> happens, systems becomes unstable.

well, /dev/null is an ordinary file in this case, and no longer a character device. This could be caused by any application that unlink()s its output file first, when it's run by root and told to write to /dev/null. Presumably, some test that should be done differently.

Check your scripts (and root's shell history) for occurences of /dev/null. And the content of your shiny new /dev/null file may also give away its creator.

Hope this helps,
	Stephan

> 
> I'd like to hear some other people experience on that cause I'm really
> lost.
> 
> *I see no info about in in dmesg/messgaes.
> 
> TIA,
> Arnau

-- 
Stephan Wiesand
DESY -DV-
Platanenallee 6
15738 Zeuthen, Germany








ATOM RSS1 RSS2