Ulimit issues
Joseph Chen
cax0cn at gmail.com
Sat Mar 22 09:56:11 UTC 2008
After modificated /etc/security/limits.conf , the other point is that you
should turn on UsePAM in /etc/ssh/sshd_config
Good Luck!
On Wed, Mar 19, 2008 at 9:26 PM, Barry Brimer <lists at brimer.org> wrote:
> > I tried adding the following to the top of the /etc/sysconfig/xinetd
> > file:
> > ulimit -Hn 65535
> > ulimit -Sn 2048
> >
> > and restarting xinetd, but I still get the 1024 limit from ulimit -n
> > after logging in via telnet.
> >
> > Am I doing anything obviously wrong here?
>
> I'm not sure with telnet, but with ssh, you end up with privelege
> separation where the service is not running as root, and therefore is
> unable to manipulate ulimit values. After you telnet in as userx, do an
> su - userx .. and then run your ulimit query again.
>
> Barry
>
> --
> redhat-sysadmin-list mailing list
> redhat-sysadmin-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list
>
--
(Sponser & operater) Ultimate monitoring solution: http://hostpry.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-sysadmin-list/attachments/20080322/32b08d8a/attachment.htm>
More information about the redhat-sysadmin-list
mailing list