Decreasing the limit works OK.

/etc/security/limits.conf:
user2           hard    nofile          220

user1@:~$ ulimit -n
1024
user1:~$ sudo su - user2
user2@:~$ ulimit -n
220



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to