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
f9ede3d3e4
commit
bb19f8e005
@ -87,7 +87,7 @@ sudo echo "%$myhost""sudoers ALL=(ALL:ALL) ALL" >> /etc/sudoers.d/sudoers
|
|||||||
sudo echo "%DOMAIN\ admins@$DOMAIN ALL=(ALL) ALL" >> /etc/sudoers.d/domain_admins
|
sudo echo "%DOMAIN\ admins@$DOMAIN ALL=(ALL) ALL" >> /etc/sudoers.d/domain_admins
|
||||||
echo "Check that the group is correct"
|
echo "Check that the group is correct"
|
||||||
echo "In Sudoers file..."
|
echo "In Sudoers file..."
|
||||||
sudo cat /etc/sudoers.d/users | grep $myhost
|
sudo cat /etc/sudoers.d/users | grep sudoers
|
||||||
echo "In SSH allow file..."
|
echo "In SSH allow file..."
|
||||||
sudo cat /etc/ssh/login.group.allowed | grep $myhost
|
sudo cat /etc/ssh/login.group.allowed | grep $myhost
|
||||||
echo "If this is wrong DO NOT REBOOT and contact sysadmin"
|
echo "If this is wrong DO NOT REBOOT and contact sysadmin"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user