mirror of
https://github.com/atmoz/sftp.git
synced 2024-11-17 12:51:33 -05:00
Simpler subshell
This commit is contained in:
parent
2f921b9dfc
commit
beae8655d9
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ function createUser() {
|
||||||
chmod 755 /home/$user
|
chmod 755 /home/$user
|
||||||
|
|
||||||
if [ -z "$pass" ]; then
|
if [ -z "$pass" ]; then
|
||||||
pass="$(echo `</dev/urandom tr -dc A-Za-z0-9 | head -c256`)"
|
pass="$(tr -dc A-Za-z0-9 </dev/urandom | head -c256)"
|
||||||
chpasswdOptions=""
|
chpasswdOptions=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue