mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +01:00
Update ADconnection.sh
Typo in spelling yor -> your
This commit is contained in:
parent
b9f61f33c9
commit
41ffe1476c
@ -77,7 +77,7 @@ else
|
|||||||
then
|
then
|
||||||
echo " SSHsecurityFiles seems already to be modified, skipping..."
|
echo " SSHsecurityFiles seems already to be modified, skipping..."
|
||||||
else
|
else
|
||||||
echo "NOTICE! /etc/ssh/login.group.allowed will be created. make sure yor local user is in it you you could be banned from login"
|
echo "NOTICE! /etc/ssh/login.group.allowed will be created. make sure your local user is in it you you could be banned from login"
|
||||||
echo "auth required pam_listfile.so onerr=fail item=group sense=allow file=/etc/ssh/login.group.allowed" | sudo tee -a /etc/pam.d/common-auth
|
echo "auth required pam_listfile.so onerr=fail item=group sense=allow file=/etc/ssh/login.group.allowed" | sudo tee -a /etc/pam.d/common-auth
|
||||||
sudo touch /etc/ssh/login.group.allowed
|
sudo touch /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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user