mirror of
https://github.com/CISOfy/lynis.git
synced 2025-09-25 02:47:48 +02:00
Check if setuid bit is set
This commit is contained in:
parent
09d8832a0b
commit
d41b1d9c5f
3
lynis
3
lynis
@ -67,6 +67,9 @@
|
|||||||
#
|
#
|
||||||
#################################################################################
|
#################################################################################
|
||||||
#
|
#
|
||||||
|
# Check setuid bit
|
||||||
|
if [ -u "$0" ]; then echo "The called binary has the set-user-id bit - As this is unusual, execution will be stopped."; exit 1; fi
|
||||||
|
|
||||||
# Work directory
|
# Work directory
|
||||||
WORKDIR=$(pwd)
|
WORKDIR=$(pwd)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user