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

2012-11-20 Thread Alfred von Campe
On Nov 19, 2012, at 11:14, I wrote: We use automounted user home directories on our CentOS 6.3 desktops, and on the desktops on which we start apache, I have noticed that all 900+ home directories listed in NIS get (and stay!) mounted. If I don't start apache, this doesn't happen. After

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

2012-11-19 Thread Alfred von Campe
We use automounted user home directories on our CentOS 6.3 desktops, and on the desktops on which we start apache, I have noticed that all 900+ home directories listed in NIS get (and stay!) mounted. If I don't start apache, this doesn't happen. We don't need access to home directories from

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

2012-11-19 Thread Nux!
On 19.11.2012 16:14, Alfred von Campe wrote: We use automounted user home directories on our CentOS 6.3 desktops, and on the desktops on which we start apache, I have noticed that all 900+ home directories listed in NIS get (and stay!) mounted. If I don't start apache, this doesn't happen.

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

2012-11-19 Thread Mike Burger
We use automounted user home directories on our CentOS 6.3 desktops, and on the desktops on which we start apache, I have noticed that all 900+ home directories listed in NIS get (and stay!) mounted. If I don't start apache, this doesn't happen. We don't need access to home directories from

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

2012-11-19 Thread Alfred von Campe
On Nov 19, 2012, at 11:29, Mike Burger wrote: If I may...why are you running Apache on your desktops? The products we develop need access to a web server, and some developers need a web server to test with. It's all just on our internal network; nothing is exposed to the Internet. Alfred

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

2012-11-19 Thread Alfred von Campe
On Nov 19, 2012, at 11:20, Nux! wrote: Instead of omitting LoadModule you could try to leave it enabled, but specify a different userdir, i.e. not under /home. There is no reference to /home anywhere that I can find. I assume that apache just expands ~ to list all home directories and then

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

2012-11-19 Thread m . roth
Alfred von Campe wrote: On Nov 19, 2012, at 11:29, Mike Burger wrote: If I may...why are you running Apache on your desktops? The products we develop need access to a web server, and some developers need a web server to test with. It's all just on our internal network; nothing is exposed

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

2012-11-19 Thread Alfred von Campe
On Nov 19, 2012, at 12:02, m.r...@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

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

2012-11-19 Thread Nux!
On 19.11.2012 20:00, Alfred von Campe wrote: On Nov 19, 2012, at 12:02, m.r...@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

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

2012-11-19 Thread Mike Burger
On Nov 19, 2012, at 11:20, Nux! wrote: Instead of omitting LoadModule you could try to leave it enabled, but specify a different userdir, i.e. not under /home. There is no reference to /home anywhere that I can find. I assume that apache just expands ~ to list all home directories and then

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

2012-11-19 Thread m . roth
Nux! wrote: On 19.11.2012 20:00, Alfred von Campe wrote: On Nov 19, 2012, at 12:02, m.r...@5-cent.us wrote: snip 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

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

2012-11-19 Thread John R Pierce
On 11/19/12 12:37 PM, m.r...@5-cent.us wrote: Ah, no. If it's running GUI, which none of our servers are, it wants *everyone* who isn't nologin mounted. Including people who've never been on that machine, nor will be. as an aside... while I don't use automounted home directories anymore,

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

2012-11-19 Thread Alfred von Campe
On Nov 19, 2012, at 15:22, Mike Burger wrote: Unless you've removed it from each and every Linux system (desktop included), /etc/httpd/conf/httpd.conf contains the following: I have removed this on one of our test systems, rebooted, and it's still automounting all home directories. Alfred

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

2012-11-19 Thread Alfred von Campe
On Nov 19, 2012, at 15:37, m.r...@5-cent.us wrote: Ah, no. If it's running GUI, which none of our servers are, it wants *everyone* who isn't nologin mounted. Including people who've never been on that machine, nor will be. When you say *it* wants, are you referring to apache or the GUI

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

2012-11-19 Thread m . roth
Alfred von Campe wrote: On Nov 19, 2012, at 15:37, m.r...@5-cent.us wrote: Ah, no. If it's running GUI, which none of our servers are, it wants *everyone* who isn't nologin mounted. Including people who've never been on that machine, nor will be. When you say *it* wants, are you referring

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

2012-11-19 Thread Alfred von Campe
On Nov 19, 2012, at 16:43, m.r...@5-cent.us wrote: For me, it's a gnome thing, not apache. Well, it's a combination of both. Gnome by itself doesn't do this; it only happens when you add apache to the mix. I set the init level to 3 on one of my test systems and rebooted. I also configured