epcim
10/20/2015 - 11:20 AM

documetnation-unix-users.howto.md

print AIX / Linux users form /etc/passwd to be later used in infrastructure documentation

for i in `find . -name passwd`; do echo "\n\n\n" ;echo $i|sed -e 's/\.\/gfr_//' -e 's/_cfg_backup\/etc\/passwd//';egrep "^(itm|sysadmin|db2|das)" $i | awk -F: '{print $1, $3, $4, $6}'; done