Initial SELinux context for user hitendra
[hitendra@server1 ~]$ id -Z
unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
[hitendra@server1 ~]
I changed the role
[root@server1 ~]# semanage login -a -s user_u hitendra
[root@server1 ~]#
Then I logged in again
[root@server1 ~]# su - hitendra
[hitendra@server1 ~]$ id -Z
unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
[hitendra@server1 ~]$
But I don't find any changes in the role as per the above command. Can any one figure out, what could be the issue.