I need to check whether user dot-files are not group or world writeable:The below command will list all the files:find /home/ -name \.* -perm /g+w,o+wOutput:/home/system/.java/home/ldap/.javaMy query is, how do I SSH to the machine (multiple VM's) and then find these files using the above command and correct it using:chmod go-w /home/<\USER><\FILE>chmod go-w /home/<\USER>/<\DIRECTORY>I need to write a shell script.
Checking that user dotfiles are not group or world writeable
shell script;permissions