How to reset user home directory permissions
I have a user account whose home directory got changed. Is there are way to reset the accounts permissions to the default state? All the posts on this I can find only talks about changing ownership and permission to the public_html directory. What I'm looking for is a script that resets permissions for the entire account to default state. Essentially, I want to restore the account from a security standpoint to the new account state without making any file changes.
-
Hello :) The /home/$username directory itself is set to 0711 permissions. It's likely easier to backup the account, ensure the archive has all of the files associated with the account included, and then terminate/restore the account. Thank you. 0
Please sign in to leave a comment.
Comments
2 comments