Corrected script names, added License, Completed README and corrected bug with too long logger messages

This commit is contained in:
thibault.dewailly
2016-04-19 09:31:01 +02:00
parent 11ed345a60
commit b2d3ed937e
8 changed files with 41 additions and 8 deletions

View File

@ -22,7 +22,7 @@ audit () {
FORMATTED_RESULT=$(sed "s/ /\n/g" <<< $RESULT | sort | uniq | tr '\n' ' ')
crit "$FORMATTED_RESULT"
else
ok "No world writable files found"
ok "No unowned files found"
fi
}
@ -33,7 +33,7 @@ apply () {
warn "chmowing all unowned files in the system"
df --local -P | awk {'if (NR!=1) print $6'} | xargs -I '{}' find '{}' -xdev -nouser -print 2>/dev/null | xargs chown $USER
else
ok "No world writable files found, nothing to apply"
ok "No unowned files found, nothing to apply"
fi
}