Stay at Home!! Be Safe!! Take Care!!

For Any queries, please mail us at support@funoracleapps.com

Script to find which users have sudo access in Linux

No comments

Script to find which users have sudo access in Linux



Script:

#!/bin/bash
for username in `cut -d: -f1 /etc/passwd`
do
  sudo -U $username -l
done


If you like please follow and comment

No comments :

Post a Comment