5

Unable to change user in security context of symlink

view full story
linux-howto

http://serverfault.com – I have created a few symbolic links to replace some broken links in /etc/pam.d. The original links have system_u as the user. The newly created ones somehow have unconfined_u as the user. I am not sure if there is any security implications to this though the target files all have system_u as the user. I tried the following: # restorecon -v thefilename and # chcon -v -u system_u thefilename Both methods do not lead to any change to the user in SELinux security context. Why is that so? Is there any security risk if I don't change the user? And how to make the change? (HowTos)