[sudo-users] file ulimit not set correctly

Thomas Falkenberg TFALKEN at de.ibm.com
Thu Jul 5 17:43:40 EDT 2012

Hello Todd,

you are right. I have set a too big file ulimit in /etc/security/limits.
AIX handels it as unlimited. command "ulimit -f" says "unlimited".
In my opinion it would be a nice feature, if the ulimit is set higher than 
allowed erroneous, that sudo evaluates it as us unlimited (such as AIX) or 
as the maximum value 2G - 512blocks (1 TB), but not as zero.

Kind regards 
Thomas Falkenberg 
IT Center Mainz ECuRep AIX / IT Spezialist

From:   "Todd C. Miller" <Todd.Miller at courtesan.com>
To:     Thomas Falkenberg/Germany/IBM at IBMDE
Cc:     sudo-users at sudo.ws
Date:   04.07.2012 19:52
Subject:        Re: [sudo-users] file ulimit not set correctly

On Tue, 03 Jul 2012 22:14:13 +0200, Thomas Falkenberg wrote:

> Seems to occur, if the default user has a file size limit more than 2 GB 

> and not unlimited file size limit.

According to the documentation I can find, the max value for the
file size limit is 2147483647 and the units are 512 byte blocks.


What does is the "ulimit -a" output if you run "su - falkenbe"?

 - todd

More information about the sudo-users mailing list