diff options
author | Srikant Patnaik | 2015-05-25 19:35:48 +0530 |
---|---|---|
committer | Srikant Patnaik | 2015-05-25 19:35:48 +0530 |
commit | ccadcf397c0e1c3a79a84a3b7e45b8ac2647b336 (patch) | |
tree | b69fc1cd1cd30647d6a9c17b8d16bcec48227227 | |
parent | 8de450aeac9cd8b797df05172bb89f1c92c25192 (diff) | |
download | tuxviewer-ccadcf397c0e1c3a79a84a3b7e45b8ac2647b336.tar.gz tuxviewer-ccadcf397c0e1c3a79a84a3b7e45b8ac2647b336.tar.bz2 tuxviewer-ccadcf397c0e1c3a79a84a3b7e45b8ac2647b336.zip |
formatted return string for ssh request from client
-rwxr-xr-x | server.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ function usernamePasswdforSSH() { randomPasswd=$(date | md5sum | cut -c6-16) #just in case :) encryptedPasswd=$(openssl passwd $randomPasswd) sudo useradd -p $encryptedPasswd -r -s /bin/false $randomUser - echo $firstAvailablePort $randomPasswd $randomUser + echo $firstAvailablePort,$randomPasswd,$randomUser } # ------------------------------------------------------------------------- |