* /dev/null manipulation
@ 1998-12-16 5:00 Cameron Laird
1998-12-16 5:00 ` Jim Mellander
1998-12-22 5:00 ` afid
0 siblings, 2 replies; 3+ messages in thread
From: Cameron Laird @ 1998-12-16 5:00 UTC (permalink / raw)
I'm nursing a Digital Unix 4.0 host that we strongly believe
is under attack. I've got a good week of repairs and invest-
igation still to do. One curiousity that's given me pause is
that
crwxr-xr-x 1 root users 2, 2 Dec 16 12:25 /dev/null
instead of the normal
crw-rw-rw- 1 root system 2, 2 Dec 16 12:28 /dev/null
Anyone know why that is? Or is it something common among DU
that I've simply missed until now?
--
Cameron Laird http://starbase.neosoft.com/~claird/home.html
claird@NeoSoft.com +1 281 996 8546 FAX
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: /dev/null manipulation
1998-12-16 5:00 /dev/null manipulation Cameron Laird
@ 1998-12-16 5:00 ` Jim Mellander
1998-12-22 5:00 ` afid
1 sibling, 0 replies; 3+ messages in thread
From: Jim Mellander @ 1998-12-16 5:00 UTC (permalink / raw)
Cameron Laird wrote:
>
> I'm nursing a Digital Unix 4.0 host that we strongly believe
> is under attack. I've got a good week of repairs and invest-
> igation still to do. One curiousity that's given me pause is
> that
> crwxr-xr-x 1 root users 2, 2 Dec 16 12:25 /dev/null
> instead of the normal
> crw-rw-rw- 1 root system 2, 2 Dec 16 12:28 /dev/null
>
> Anyone know why that is? Or is it something common among DU
> that I've simply missed until now?
> --
>
> Cameron Laird http://starbase.neosoft.com/~claird/home.html
> claird@NeoSoft.com +1 281 996 8546 FAX
Well, the 2nd is what my DU 4.0 host has. The first is really puzzling,
since there seems to be no advantage to having /dev/null executable. I
changed the perms on my /dev/null to 777 & tried executing it & the
response back is:
/dev/null: not found.
Not having write permission for normal users, though, probably would
cause all types of errors with scripts. The group & perms being changed
obviously points to the change being made as root. You might want to
check your backups to see when the change was made.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: /dev/null manipulation
1998-12-16 5:00 /dev/null manipulation Cameron Laird
1998-12-16 5:00 ` Jim Mellander
@ 1998-12-22 5:00 ` afid
1 sibling, 0 replies; 3+ messages in thread
From: afid @ 1998-12-22 5:00 UTC (permalink / raw)
On 16 Dec 1998 11:34:27 -0600, claird@Starbase.NeoSoft.COM (Cameron
Laird) wrote:
>I'm nursing a Digital Unix 4.0 host that we strongly believe
>is under attack. I've got a good week of repairs and invest-
>igation still to do. One curiousity that's given me pause is
>that
> crwxr-xr-x 1 root users 2, 2 Dec 16 12:25 /dev/null
>instead of the normal
> crw-rw-rw- 1 root system 2, 2 Dec 16 12:28 /dev/null
>
>Anyone know why that is? Or is it something common among DU
>that I've simply missed until now?
>--
>
>Cameron Laird http://starbase.neosoft.com/~claird/home.html
>claird@NeoSoft.com +1 281 996 8546 FAX
it could be possible that the user simply sym-linked something to
dev/null (eg: history file) and possibly made the mistake of changing
permissions/ownership to the link without thinking...
sometimes the sloppiest possibility is the correct explanation...
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-12-22 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-16 5:00 /dev/null manipulation Cameron Laird
1998-12-16 5:00 ` Jim Mellander
1998-12-22 5:00 ` afid
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox