Modify the link address of the reference document.
This commit is contained in:
parent
0d571a8b6c
commit
abd0630a19
|
@ -3,7 +3,7 @@
|
|||
## About
|
||||
|
||||
This script is used to check DISA STIG(Security Technical Implementation Guides) for Debian 9
|
||||
Porting from [DISA RHEL 7 STIG V1 R1](http://iasecontent.disa.mil/stigs/zip/U_Red_Hat_Enterprise_Linux_7_V1R1_STIG.ZIP)
|
||||
Porting from [DISA RHEL 7 STIG V1 R1](https://raw.githubusercontent.com/hardenedlinux/STIG-OS-mirror/master/redhat-STIG-DOCs/U_Red_Hat_Enterprise_Linux_7_STIG_V1R1_Manual-xccdf.xml)
|
||||
Benchmark Date: 27 Feb 2017
|
||||
|
||||
## Upgrade
|
||||
|
|
|
@ -9,7 +9,7 @@ do
|
|||
exit 1
|
||||
else
|
||||
CUR_USER_UID=`grep "${line}:" /etc/passwd | cut -d: -f3`
|
||||
OWNER_CHECK_ERR_COUNT=`find "${line}" \! -uid "${CUR_USER_UID}" -exec ls -l {} \; | wc -l `
|
||||
OWNER_CHECK_ERR_COUNT=`find "${line}" \! -uid "${CUR_USER_UID}" -exec ls -l {} \; | wc -l`
|
||||
if [ "${OWNER_CHECK_ERR_COUNT}" -gt 0 ];then
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue