You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 8, 2021. It is now read-only.
aws iam get-group --group-name "${SudoersGroup}" --query "Users[].[UserName]" --output text
112
+
);
113
+
106
114
aws iam list-users --query "Users[].[UserName]" --output text | while read User; do
107
115
SaveUserName="$User"
108
116
SaveUserName=${SaveUserName//"+"/".plus."}
109
117
SaveUserName=${SaveUserName//"="/".equal."}
110
118
SaveUserName=${SaveUserName//","/".comma."}
111
119
SaveUserName=${SaveUserName//"@"/".at."}
112
120
if ! grep "^$SaveUserName:" /etc/passwd > /dev/null; then
113
-
# sudo will read each file in /etc/sudoers.d, skipping file names that end in ‘~’ or contain a ‘.’ character to avoid causing problems with package manager or editor temporary/backup files.
0 commit comments