Update domainjoin.sh
This commit is contained in:
@@ -14,9 +14,9 @@ if [[ -f /etc/redhat-release ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# ask for the domain, username, and password
|
# ask for the domain, username, and password
|
||||||
read -p "Enter Domain name: " -i "home.johnhgaunt.com" domain
|
read -e -p "Enter Domain name: " -i "home.johnhgaunt.com" domain
|
||||||
read -p "Enter netBIOS name: " -i "GAUNT" netbiosname
|
read -e -p "Enter netBIOS name: " -i "GAUNT" netbiosname
|
||||||
read -p "Enter Domain Admin username: " -i "jgaunt" username
|
read -e -p "Enter Domain Admin username: " -i "jgaunt" username
|
||||||
read -s -p "Enter Password: " password
|
read -s -p "Enter Password: " password
|
||||||
|
|
||||||
domainjoin-cli join $domain $username $password
|
domainjoin-cli join $domain $username $password
|
||||||
|
|||||||
Reference in New Issue
Block a user