[CentOS] reload /etc/security/limits.conf without reboot server??

Tue Jul 14 15:52:25 UTC 2009
mcclnx mcc <mcclnx at yahoo.com.tw>

Thank you for answer.

  can you tell me more detail which service need restart for those 3 files?

Thanks.

--- 09/7/14 (二),nate <centos at linuxpowered.net> 寫道:

> 寄件者: nate <centos at linuxpowered.net>
> 主旨: Re: [CentOS] reload /etc/security/limits.conf without reboot server??
> 收件者: centos at centos.org
> 日期: 2009年7月14日,二,上午11:48
> 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
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 


      ______________________________________________________________________________________________________
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing