Changeset 13047


Ignore:
Timestamp:
2008-10-25T14:26:51+02:00 (8 years ago)
Author:
noz
Message:

Apply r12809 to 8.09 branch: Correct /etc/shadow and allow dropbear shadow pwds

Location:
branches/8.09/package
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/8.09/package/base-files/Makefile

    r12319 r13047  
    147147                fi \ 
    148148        ) 
    149         $(if $(CONFIG_BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS),cp $(1)/etc/passwd $(1)/etc/shadow) 
     149# Form valid /etc/shadow entries, by copying the user:pw pairs 
     150# from /etc/passwd, and adding on pw change data 
     151        $(if $(CONFIG_BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS), \ 
     152                cut -d ':' -f 1-2 $(1)/etc/passwd > $(1)/etc/shadow; \ 
     153                $(SED) 's/$$$$/:13848:0:99999:7:::/' $(1)/etc/shadow \ 
     154        ) 
    150155        $(SED) 's,$$$$R,$(REVISION),g' $(1)/etc/banner 
    151156        mkdir -p $(1)/dev 
  • branches/8.09/package/dropbear/Makefile

    r12319 r13047  
    1111PKG_NAME:=dropbear 
    1212PKG_VERSION:=0.51 
    13 PKG_RELEASE:=1 
     13PKG_RELEASE:=2 
    1414 
    1515PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    4848        --enable-openpty \ 
    4949        --enable-syslog \ 
    50         --disable-shadow \ 
     50        $(if $(CONFIG_SHADOW_PASSWORDS),,--disable-shadow) \ 
    5151        --disable-lastlog \ 
    5252        --disable-utmp \ 
Note: See TracChangeset for help on using the changeset viewer.