We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 206f8c2 + b8fdd5c commit 57abaf0Copy full SHA for 57abaf0
cat2/gen002140.sh
@@ -61,7 +61,7 @@ for CURSHELL in `awk -F':' '{print $7}' /etc/passwd | sort | uniq`;do
61
done
62
63
# remove any that don't belong
64
-for BADSHELL in '/usr/bin/false /bin/false /dev/null /sbin/nologin /bin/sync /sbin/halt /sbin/shutdown sdshell'; do
+for BADSHELL in /usr/bin/false /bin/false /dev/null /sbin/nologin /bin/sync /sbin/halt /sbin/shutdown sdshell; do
65
66
grep "$BADSHELL" /etc/shells > /dev/null
67
if [ $? -eq 0 ]; then
0 commit comments