Changes between Version 7 and Version 8 of Building/Windows/SSHD


Ignore:
Timestamp:
May 30, 2015 7:49:45 AM (5 years ago)
Author:
artisdom
Comment:

fix passwd entry for admin_user

Legend:

Unmodified
Added
Removed
Modified
  • Building/Windows/SSHD

    v7 v8  
    5252echo "${pwd_entry}" >> "/etc/passwd"
    5353
    54 pwd_entry="$(/usr/bin/mkpasswd -l -u "${admin_user}" | /usr/bin/sed -n -e '/^'${admin_user}'/s?\(^[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:\).*?\1'/home'/Administrator:/bin/bash?p')"
     54pwd_entry="$(/usr/bin/mkpasswd -l -u "${admin_user}")"
    5555echo "${pwd_entry}" >> "/etc/passwd"
    5656