Focus on Linux
about /dev/shm? Apr 15 2006 03:14PM
Monty Ree (chulmin2 hotmail com) (2 replies)
Re: about /dev/shm? Apr 17 2006 03:18PM
Thomas Howard Uphill (uphill ias edu)
Re: about /dev/shm? Apr 17 2006 02:51PM
ilaiy (ilaiy e gmail com)
The shm is used by tmpfs .. and various applications like apache,
samba which have shared memory segments .. If I am not mistaken in the
2.4 or 2.6 they were changed in the kernel to 1777 ..

./thanks
ilaiy

On 4/15/06, Monty Ree <chulmin2 (at) hotmail (dot) com [email concealed]> wrote:
> Hello, all.
>
> As you know, /dev/shm is 1777 and attackers used to write his backdoors at
> that directory.
> So I have saw the partition for some time and I can't see any creation of
> the files.
> So I changed this permission to 755, and there was no problem.
>
> 1. What's the role of the /dev/shm?
> shm means shared memory?
>
> 2. Why this directory must be 1777?
> Is there any problem when I change the permission to like 755?
>
> Thanks in advance.
>
> _________________________________________________________________
> MSN Messenger¸¦ ÅëÇØ ¿Â¶óÀÎ»ó¿¡ Àִ ģ±¸¿Í ´ëÈ­¸¦ ³ª´©¼¼¿ä.
> http://messenger.msn.co.kr
>
>

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus