diff options
author | mboelen <michael@cisofy.com> | 2014-09-04 22:40:02 +0400 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2014-09-04 22:40:02 +0400 |
commit | 9a572ad3e6cbe44a36c2862aa19a115cccd03829 (patch) | |
tree | 7b245db1a72a831453e7c0dedea08199ad0952a0 /lynis | |
parent | 7af9a9e88c6d625ece35c8c175a5848e8d720c4c (diff) |
Clarified permissions check
Diffstat (limited to 'lynis')
-rwxr-xr-x | lynis | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -87,6 +87,7 @@ ################################################################################# # # Perform a basic check for permissions. After including functions, using SafePerms() + # Optimization: remove ls -l for owner and only do UID check, reducing one getpwent PERMS=`ls -l ${INCLUDEDIR}/consts | cut -c 2-10` PERMS2=`ls -l ${INCLUDEDIR}/functions | cut -c 2-10` OWNER=`ls -l ${INCLUDEDIR}/consts | awk -F" " '{ print $3 }'` |