shadow: add chpasswd, et al to list of applets 4177/head
authorPhilip Prindeville <philipp@redfish-solutions.com>
Tue, 21 Mar 2017 02:00:05 +0000 (20:00 -0600)
committerPhilip Prindeville <philipp@redfish-solutions.com>
Fri, 14 Apr 2017 00:01:48 +0000 (18:01 -0600)
If you have a firstboot script which seeds a passwd based on
run-time information (like MAC addresses, hostname, etc) then
you need to be able to pass in a cleartext string via chpasswd.

Other applets are similarly potentially useful in other corner
cases.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
utils/shadow/Makefile

index d56be82713f96467aebb8af9dd53ba98a92d8208..b1f078080cdf523ec42e0c2695adba9eb3bb60e7 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=shadow
 PKG_VERSION:=4.2.1
-PKG_RELEASE:=5
+PKG_RELEASE:=6
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=http://pkg-shadow.alioth.debian.org/releases
@@ -25,8 +25,10 @@ include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/nls.mk
 
 SHADOW_APPLETS := \
-       chage groupadd groupdel groupmod groups passwd su \
-       useradd userdel usermod
+       chage chpasswd chfn chsh expiry faillog gpasswd \
+       groupadd groupdel groupmems groupmod groups \
+       lastlog login newgrp nologin passwd su \
+       useradd userdel usermod vipw
 
 CONFIGURE_ARGS += \
        --without-audit \