Well the struggle continues. Trying other Compositing types didn't help.
So tried to add a new user to test that theory and failing at that as well.
I created a new user called Brutus... but then...
Code: Select all
[root@machine User]# passwd Brutus
Changing password for user Brutus.
New password:
Retype new password:
passwd: Authentication token manipulation error
So I tried that with no success. But I'm just guessing at the FILE_TYPE I should be using. Assumed it would have to do with passwd.SELinux is preventing /usr/bin/passwd from create access on the file nshadow.
***** Plugin catchall_labels (83.8 confidence) suggests *******************
If you want to allow passwd to have create access on the nshadow file
Then you need to change the label on nshadow
Do
# semanage fcontext -a -t FILE_TYPE 'nshadow'
where FILE_TYPE is one of the following: faillog_t, krb5_host_rcache_t, lastlog_t, passwd_file_t, shadow_t, user_tmp_t.
Then execute:
restorecon -v 'nshadow'
Code: Select all
[root@machine User]# # semanage fcontext -a -t passwd_file_t 'nshadow'
[root@machine User]# restorecon -v 'nshadow'
restorecon: lstat(nshadow) failed: No such file or directory