Revision c6c35822 snf-image-helper/tasks/50ChangePassword.in
b/snf-image-helper/tasks/50ChangePassword.in | ||
---|---|---|
31 | 31 |
local target=$1 |
32 | 32 |
local password=$2 |
33 | 33 |
|
34 |
local hash=$(@commondir@/snf-passtohash.py $password)
|
|
34 |
local hash=$(@scriptsdir@/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