Ulimit problem on SLES 11 SP3
I encountered a problem about ulimit, described as follows:
OS: SUSE Linux Enterprise Server 11 SP3 (x86_64)
1. Create a Normal user named test in system, and add the following line in /etc/security/limits.conf:
test hard nproc 100
2. Login as test through SSH, and change root by su - root, then restart the SSH Daemon:
test@linux-vm1:/> ulimit -u
test@linux-vm1:/> su - root
linux-vm1:~ # service sshd restart
3. Login as root through a new SSH session, but the nproc of root has been changed to 100.
linux-vm1:~ # ulimit -u
Perform the same operations on SUSE 12, no problem。 I want to know that how to solve this problem in SUSE 12?