mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +01:00
Delete tempCodeRunnerFile.sh
This commit is contained in:
parent
fa78bf1526
commit
8345272599
@ -1,8 +0,0 @@
|
|||||||
echo Checking sudoers file.. "${INTRO_TEXT}OK${END}"
|
|
||||||
grouPs=$(grep -i "$myhost" /etc/sudoers.d/sudoers | cut -d '%' -f2 | cut -d '=' -f1 | sed -e 's/\<ALL\>//g')
|
|
||||||
if [ $grouPs = "$myhost""sudoers" ]
|
|
||||||
then
|
|
||||||
echo Checking sudoers users.. "${INTRO_TEXT}OK${END}"
|
|
||||||
else
|
|
||||||
echo Checking sudoers users.. "${RED_TEXT}FAIL${END}"
|
|
||||||
fi
|
|
||||||
Loading…
x
Reference in New Issue
Block a user