Cannot set user defined values in limits.conf with high UID. Message 'File size limit exceeded' unless unlimited value

Solution Verified - Updated -


  • When a limit on fsize is set in /etc/security/limits.conf and the UID is high, the user can not login any more.
  • The message:
 su user1
File size limit exceeded (core dumped)

is seen because the write to the lastlog file fails.


RHEL 6 with lastlog configured (refer to

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In