I am new to Unix and shell scripting. I am trying to find unowned files and groups on my servers. I know, i could use the below command to find it on individual server. #find / -nouser -o -nogroup -print
But I was wondering, if someone could help with a shell script so that I can find it on a bunch of servers from one cental location.
Actually...could you re-write this script for the following scenario. Host system=sysctrl and on this machine there is a directory /sys/cfg/inventory which has all the servers i need to gather the information.
Yes, I know about setting up the ssh keys...in the meanwhile if you could send me a script to use the servers from the directory mentioned above, it will be highly appreciated.