I need some help with this script
It errors out on the third line: syntax error at line 3: '(' unexpected
Thanks for any help
#!/bin/sh
for id in 'awk 'FS=":" {if(($3 == 0 && $1 != "root" )) print $1}' /etc/passwd'
do
mail -s "Root Access Alert"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.