Ignore:
Timestamp:
Feb 22, 2015, 4:01:26 PM (10 years ago)
Author:
huub
Message:

-u vlaggetje voor pw moet zijn -n

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-10/nanobsd/cfg/nanobsd.wleiden.apu

    r13174 r13175  
    215215        if [ -n "${CFG_ROOT_PASSWORD}" ]; then
    216216                pprint 2 "Set root password using CFG_ROOT_PASSWORD variable"
    217                 chroot ${NANO_WORLDDIR} sh -c "echo '${CFG_ROOT_PASSWORD}' | pw usermod -h 0 -u root"
     217                chroot ${NANO_WORLDDIR} sh -c "echo '${CFG_ROOT_PASSWORD}' | pw usermod -h 0 -n root"
    218218        else
    219219                pprint 2 "Root password is <blank>, no password provided at variable CFG_ROOT_PASSWORD"
Note: See TracChangeset for help on using the changeset viewer.