mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +01:00
Added Password encryption
Added Password encryption to generate encrypted password for automated joining with readfile encryption will genetate encrypted.dat > (your password encrypted) and private_key.pem public_key.pem all tree files are needed to decrypt the password. Find a way to get private_key.pem from outside source. Please do NOT store your private_key.pem with the other files untill the joining process. encrypt a password with sudo sh ADconnection.sh -p
This commit is contained in:
parent
0237a4b281
commit
fb5d43a00b
@ -2075,7 +2075,7 @@ while test $# -gt 0; do
|
||||
fi
|
||||
;;
|
||||
-p|--p)
|
||||
if test $? -gt 0; then
|
||||
if test $# -gt 0; then
|
||||
encrypt
|
||||
else
|
||||
echo ""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user