I have tried to delete none active users from the server, when I ran:
/usr/sbin/userdel -r
delete the user but not a home directory, and got this error:
cannot remove ‘olduser/.bash_history’: Operation not permitted
I have tried to remove manually as root:
rm -fR olduser
I got the same not permitted. What else I can try to remove this user home directories?
lsattr ~olduser/.bash_history
say?root
?