diff options
-rwxr-xr-x | cron-sh/security_check.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-sh/security_check.sh b/cron-sh/security_check.sh index dbcc0b2..d5f7c89 100755 --- a/cron-sh/security_check.sh +++ b/cron-sh/security_check.sh @@ -68,7 +68,7 @@ while IFS=: read username uid homedir; do for f in ${list} ; do file="${homedir}/${f}" if [[ -f "${file}" ]] ; then - res=`ls -LldcGn "${file}"` + res=`ls -LldcGn "${file}" | sed 's/ \{1,\}/:/g'` printf "${uid}:${username}:${file}:${res}\n" fi done |