[CentOS] How can I prevent apache from mounting all home directories?

Nux! nux at li.nux.ro
Mon Nov 19 20:21:51 UTC 2012


On 19.11.2012 20:00, Alfred von Campe wrote:
> On Nov 19, 2012, at 12:02, m.roth at 5-cent.us wrote:
>
>> Not the way I'd do it: where I've worked, and work, we have apache 
>> running
>> on servers, so we can guarantee their working ->correctly<-, and the
>> developers have directories that they can put things in and test 
>> that way.
>
> Well, all we need to do is download a file via http, so having users
> start httpd with a stock config is usually sufficient.
>
>> I've also seen gnome want to mount *everybody*....
>
> FWIW, I also have this issue (mounting all home directories) on one
> of our servers.  But only those running 6.3; the systems running 5.8
> do not seem to have this issue.
>
> Alfred

So automount will mount a directory if that directory is being 
read/accessed, yes? Then run fuser or lsof ro whatever is cool these 
days on those mount points, see what's using them.

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro



More information about the CentOS mailing list