modify /etc/security/limits.conf without reboot?

Florian Diesch diesch at spamfence.net
Tue Jan 29 13:09:21 UTC 2013


Am Fri, 25 Jan 2013 11:16:59 -0500
schrieb Zachary Stern <zs at enternewmedia.com>:

> Is there a way to modify /etc/security/limits.conf without a reboot?
> 
> E.g. if I add the following:
> 
> +root hard nofile 20000
> +root soft nofile 20000
> +www-data hard nofile 20000
> +www-data soft nofile 20000
> 
> Can I just restart apache, which runs as www-data? I'd like to find a
> way to avoid rebooting.

I don't expect it to work at all for Apache.

limits.conf is a config file for the PAM module pam_limits so it's only
used for users authenticated via PAM. But Apache doesn't use PAM to
authenticate as www-data

-- 
Plugin for Nautilus to create and modify application
starters (.desktop files):
<http://www.florian-diesch.de/software/arronax/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20130129/8428d281/attachment.sig>


More information about the ubuntu-users mailing list