Hi all,

I encountered a problem about ulimit, described as follows:

OS: SUSE Linux Enterprise Server 11 SP3 (x86_64)

Steps:
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
100
test@linux-vm1:/> su - root
Password:
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
100



Perform the same operations on SUSE 12, no problem。 I want to know that how to solve this problem in SUSE 12?