Browse Source

shadow: add chpasswd, et al to list of applets

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>
lilik-openwrt-22.03
Philip Prindeville 8 years ago
parent
commit
33db14be2b
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      utils/shadow/Makefile

+ 5
- 3
utils/shadow/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=shadow PKG_NAME:=shadow
PKG_VERSION:=4.2.1 PKG_VERSION:=4.2.1
PKG_RELEASE:=5
PKG_RELEASE:=6
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=http://pkg-shadow.alioth.debian.org/releases PKG_SOURCE_URL:=http://pkg-shadow.alioth.debian.org/releases
@ -25,8 +25,10 @@ include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk include $(INCLUDE_DIR)/nls.mk
SHADOW_APPLETS := \ 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 += \ CONFIGURE_ARGS += \
--without-audit \ --without-audit \


Loading…
Cancel
Save