Here i am providing command to list sudo sccess ID's in solaris 10
*********************************************************************************
cat /etc/passwd | cut -d: -f1 | xargs -L1 sudo -l -U | ggrep -B1 "(ALL) ALL" | grep ^User | cut -d" " -f2
*********************************************************************************
*********************************************************************************
cat /etc/passwd | cut -d: -f1 | xargs -L1 sudo -l -U | ggrep -B1 "(ALL) ALL" | grep ^User | cut -d" " -f2
*********************************************************************************
No comments:
Post a Comment