Ulimit issues

Barry Brimer lists at brimer.org
Wed Mar 19 13:26:39 UTC 2008


> 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




More information about the redhat-sysadmin-list mailing list