mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 16:50:13 +01:00
Update ADconnection.sh
This commit is contained in:
parent
96e68fa000
commit
c87db79065
@ -130,7 +130,7 @@ sudo echo "administrator" | sudo tee -a /etc/ssh/login.group.allowed
|
|||||||
sudo echo "$NetBios"'\'"$myhost""sudoers" | sudo tee -a /etc/ssh/login.group.allowed
|
sudo echo "$NetBios"'\'"$myhost""sudoers" | sudo tee -a /etc/ssh/login.group.allowed
|
||||||
sudo echo "$NetBios"'\'"domain^admins" | sudo tee -a /etc/ssh/login.group.allowed
|
sudo echo "$NetBios"'\'"domain^admins" | sudo tee -a /etc/ssh/login.group.allowed
|
||||||
sudo echo "Cheking if there is any previous configuration"
|
sudo echo "Cheking if there is any previous configuration"
|
||||||
if [ -f /etc/sudoers.d/sudoers]
|
if [ -f /etc/sudoers.d/sudoers ]
|
||||||
then
|
then
|
||||||
echo "Sudoersfile seems already to be modified.. skipping...."
|
echo "Sudoersfile seems already to be modified.. skipping...."
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user