As normaluser:
normaluser
$ ulimit -n 4096 -bash: ulimit: open files: cannot modify limit: Operation not permitted
As root it works as
You may want to look at /etc/security/limits.conf