Ignore:
Timestamp:
06/18/09 02:15:14 (5 years ago)
Author:
alanbach-guest
Message:
  • Updated password update funcation to meet passwd > 1.4 changes
    • Bump standards version to 3.8.1
    • Added passwd > 1.4 to deps
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pkg/kev/main/parsix-installer/trunk/00-setuser.bm

    r13 r5511  
    2323  update_status $"Setting passwords ..." 
    2424  # Change password of user/root 
    25   chroot $TARGET_MNT_POINT sh -c "echo \"root:$ROOTPASS_CRYPT\" | chpasswd -e" 
    26   chroot $TARGET_MNT_POINT sh -c "echo \"$USER_NAME:$USERPASS_CRYPT\" | chpasswd -e" 
     25  # old method, obsolete 
     26  #chroot $TARGET_MNT_POINT sh -c "echo \"root:$ROOTPASS_CRYPT\" | chpasswd -e" 
     27  #chroot $TARGET_MNT_POINT sh -c "echo \"$USER_NAME:$USERPASS_CRYPT\" | chpasswd -e" 
     28 
     29  # New passwd > 1.4 
     30  chroot $TARGET_MNT_POINT sh -c "usermod -p $ROOTPASS_CRYPT root" 
     31  chroot $TARGET_MNT_POINT sh -c "usermod -p $USERPASS_CRYPT $USER_NAME" 
    2732 
    2833  update_status $"Updating group ..." 
Note: See TracChangeset for help on using the changeset viewer.