mirror of https://github.com/CISOfy/lynis.git
[SHLL-6230] Add etc/bash.bashrc.local to umask check (#595)
This commit is contained in:
parent
760ed040c8
commit
2fb4ae4987
|
@ -231,7 +231,7 @@
|
||||||
#
|
#
|
||||||
# Test : SHLL-6230
|
# Test : SHLL-6230
|
||||||
# Description : Check for umask values in shell configurations
|
# Description : Check for umask values in shell configurations
|
||||||
SHELL_CONFIG_FILES="${ROOTDIR}etc/bashrc ${ROOTDIR}etc/bash.bashrc ${ROOTDIR}etc/csh.cshrc ${ROOTDIR}etc/profile"
|
SHELL_CONFIG_FILES="${ROOTDIR}etc/bashrc ${ROOTDIR}etc/bash.bashrc ${ROOTDIR}etc/bash.bashrc.local ${ROOTDIR}etc/csh.cshrc ${ROOTDIR}etc/profile"
|
||||||
Register --test-no SHLL-6230 --weight H --network NO --category security --description "Perform umask check for shell configurations"
|
Register --test-no SHLL-6230 --weight H --network NO --category security --description "Perform umask check for shell configurations"
|
||||||
if [ ${SKIPTEST} -eq 0 ]; then
|
if [ ${SKIPTEST} -eq 0 ]; then
|
||||||
FOUND=0
|
FOUND=0
|
||||||
|
|
Loading…
Reference in New Issue