Hi,
I want to script for this scenerio,
OSR Settings
Scenario : We are looking to find all the *.a files from the following locations in the filesystem of a server.
OSR Directories
/etc
/bin
/usr/bin
/usr/sbin
/var/adm
These *.a files should have the permissions on 'Other' as r-x or more stringent.
The script should display only those *.a files which have full permissions (rwx) on their 'Other'.
Also , the *.a files must be owned , only by one of the following userids and groupids:
System UserIds
root ,daemon,bin,sys,adm,uucp,nuucp,lpd,imnadm,ipsec,ldap,lp,snapp,invscout
System GroupIds
system,security,bin,sys,adm,uucp,mail,printq,cron,audit,shutdown,ecs,imnadm,ipsec,ldap,lp,haemrm,snapp,hacmp
The script should display all *.a files that are not owned by any one of the above listed system userids and groupids
Could you please help me anyone?
Thanks in advance...
Regards,
Shakthi