Changeset 13175 in hybrid for branches/releng-10/nanobsd/cfg/nanobsd.wleiden.apu
- Timestamp:
- Feb 22, 2015, 4:01:26 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-10/nanobsd/cfg/nanobsd.wleiden.apu
r13174 r13175 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.