Changes to /etc/security/limits.conf are automatically rolled back after few seconds [migrated]

view story

http://stackoverflow.com – I need to set soft and hard file descriptors limits for a user in /etc/security/limits.conf. webuser soft nofile 65536 webuser hard nofile 131072 I am able to save the changes in limits.conf but, after ~10 seconds, the file is automatically rolled back to its original content. Can someone explain me what is going on? The system is Red Hat Enterprise Linux Server. Thanks in advance for the help! (HowTos)