Revision c4447efb helper/tasks/50ChangePassword.in
b/helper/tasks/50ChangePassword.in | ||
---|---|---|
8 | 8 |
### END TAST INFO |
9 | 9 |
|
10 | 10 |
set -e |
11 |
. @datarootdir@/@base_name@/common.sh
|
|
11 |
. @commondir@/common.sh
|
|
12 | 12 |
|
13 | 13 |
windows_password() { |
14 | 14 |
local target=$1 |
... | ... | |
31 | 31 |
local target=$1 |
32 | 32 |
local password=$2 |
33 | 33 |
|
34 |
local hash=$(/usr/share/snf-image/snf-passtohash.py $password)
|
|
34 |
local hash=$(@commondir@/snf-passtohash.py $password)
|
|
35 | 35 |
if [ ! -e ${target}/etc/shadow ]; then |
36 | 36 |
log_error "No /etc/shadow found!" |
37 | 37 |
fi |
Also available in: Unified diff