mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +01:00
Added support for Ubuntu mate +remade OS detection
This commit is contained in:
parent
501d61c8c2
commit
ff8ae0ad42
@ -87,7 +87,7 @@ echo ""
|
||||
echo "The Sudoers file seems already to be modified, skipping..."
|
||||
echo ""
|
||||
else
|
||||
read -p "Do you wish to DISABLE password promt for users in terminal (y/n)?" yn
|
||||
read -p "${RED_TEXT}"'Do you wish to DISABLE password promt for users in terminal?'"${END}""${NUMBER}"'(y/n)?'"${END}" yn
|
||||
case $yn in
|
||||
[Yy]* )
|
||||
sudo echo "administrator ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/sudoers
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user