Changeset 13174 in hybrid for branches/releng-10/nanobsd/cfg/nanobsd.wleiden
- Timestamp:
- Feb 22, 2015, 3:57:27 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-10/nanobsd/cfg/nanobsd.wleiden
r13060 r13174 39 39 benchmarks/iperf 40 40 devel/py-yaml 41 dns/dnsmasq41 #dns/dnsmasq 42 42 ftp/curl 43 43 lang/python2 … … 215 215 if [ -n "${CFG_ROOT_PASSWORD}" ]; then 216 216 pprint 2 "Set root password using CFG_ROOT_PASSWORD variable" 217 chroot ${NANO_WORLDDIR} sh -c "echo '${CFG_ROOT_PASSWORD}' | pw usermod -h 0 - uroot"217 chroot ${NANO_WORLDDIR} sh -c "echo '${CFG_ROOT_PASSWORD}' | pw usermod -h 0 -n root" 218 218 else 219 219 pprint 2 "Root password is <blank>, no password provided at variable CFG_ROOT_PASSWORD"
Note:
See TracChangeset
for help on using the changeset viewer.