Revision c6c35822
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 |
b/snf-image-helper/tasks/Makefile.am | ||
---|---|---|
16 | 16 |
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \ |
17 | 17 |
-e 's|@localstatedir[@]|$(localstatedir)|g' \ |
18 | 18 |
-e 's|@datarootdir[@]|$(datarootdir)|g' \ |
19 |
-e 's|@commondir[@]|$(commondir)|g' |
|
19 |
-e 's|@commondir[@]|$(commondir)|g' \ |
|
20 |
-e 's|@scriptsdir[@]|$(scriptsdir)|g' |
|
21 |
|
|
20 | 22 |
|
21 | 23 |
%:%.in Makefile |
22 | 24 |
rm -f $@ $@.tmp |
Also available in: Unified diff