By abhishek |

Managing users & groups since long but have you ever looked/reviewed the list of users present in a Specific Group after adding them, so here is a single line command for my lazy sysadmins :)

$ getent group | awk -F: '{print $4}'

you may use this when doing a security audit.