Jump to content

Script to auto swtich user's permission from r/w to ro after certain period of time


Recommended Posts

For some reason, I have to change my account temporaily from read-only to rw. However, I often forget to reverse such changes, and leave a vulnerability there for hacker/ransomwares. Is it possible to switch the user's permission on a share using command instead of the GUI, and make it as a script? Thanks!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...