mcclnx mcc
2009-Jul-14 15:27 UTC
[CentOS] reload /etc/security/limits.conf without reboot server??
We have CENTOS 4.7 on DELL server. We need change following 3 files: /etc/security/limits.conf /etc/pam.d/sshd /etc/pam.d/su Does there has way reload it without reboot server? Thanks. ______________________________________________________________________________________________________ ?????????Yahoo!??????2.0????????????? http://tw.mg0.mail.yahoo.com/dc/landing
nate
2009-Jul-14 15:48 UTC
[CentOS] reload /etc/security/limits.conf without reboot server??
mcclnx mcc wrote:> > We have CENTOS 4.7 on DELL server. We need change following 3 files: > > /etc/security/limits.conf > /etc/pam.d/sshd > /etc/pam.d/su > > Does there has way reload it without reboot server?Restart the service(s) you want to see the changes in. limits.conf typically takes effect when the user logs in, su I suspect would take effect when someone runs su, sshd takes effect possibly when sshd is restarted, though it may be dynamic, since a separate child process is spawned for each client connection. nate