Changeset 32063


Ignore:
Timestamp:
2012-06-05T19:40:32+02:00 (5 years ago)
Author:
jow
Message:

[package] base-files: make user_add() populate the shadow db as well

Location:
trunk/package/base-files
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/base-files/Makefile

    r31980 r32063  
    1212 
    1313PKG_NAME:=base-files 
    14 PKG_RELEASE:=108 
     14PKG_RELEASE:=109 
    1515 
    1616PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ 
  • trunk/package/base-files/files/lib/functions.sh

    r31431 r32063  
    303303        [ -n "$IPKG_INSTROOT" ] || lock /var/lock/passwd 
    304304        echo "${name}:x:${uid}:${gid}:${desc}:${home}:${shell}" >> ${IPKG_INSTROOT}/etc/passwd 
     305        echo "${name}:x:0:0:99999:7:::" >> ${IPKG_INSTROOT}/etc/shadow 
    305306        rc=$? 
    306307        [ -n "$IPKG_INSTROOT" ] || lock -u /var/lock/passwd 
Note: See TracChangeset for help on using the changeset viewer.