freebsd-nq/usr.sbin
Eugene Grosbein d30f122fa6 pw(8): correct expiration period handling and command line overrides
to preconfigured values for -e, -p and -w flags.

Use non-negative symbols instead of magic values
in passwd_val/pw_password functions.

PR:		223431
Submitted by:	Yuri Pankov (in part, patch for the manual)
Reported by:	mav (mentor)
MFC after:	3 days
Relnotes:	yes
2017-12-09 23:34:00 +00:00
..
ac various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
accton General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
acpi Improve options and error handling. 2017-12-09 15:59:10 +00:00
adduser various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
amd DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
ancontrol spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
apm DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
apmd various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
arp General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
asf various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
audit DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
auditd DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
auditdistd DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
auditreduce DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
authpf DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
autofs DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
bhyve various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
bhyvectl various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
bhyveload De-const to match changes in userboot.h 2017-12-06 05:18:52 +00:00
binmiscctl DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
blacklistctl DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
blacklistd DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
bluetooth various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
boot0cfg various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
bootparamd DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
bsdconfig Update several more URLs 2017-10-29 08:17:03 +00:00
bsdinstall Support mounted boot partitions in the installer. This allows the platform 2017-12-08 00:57:13 +00:00
bsnmpd SPDX: use the Beerware identifier. 2017-11-30 20:33:45 +00:00
btxld various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
camdd DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
cdcontrol DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
chkgrp various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
chown General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
chroot General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
ckdist various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
clear_locks various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
config General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
cpucontrol various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
crashinfo General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
cron DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
crunch various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ctladm various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ctld various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ctm SPDX: use the Beerware identifier. 2017-11-30 20:33:45 +00:00
cxgbetool DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
daemon various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
dconschat spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
devctl DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
devinfo various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
digictl various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
diskinfo diskinfo(8): Delete dead code in slog test 2017-11-27 21:10:50 +00:00
dumpcis various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
editmap DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
edquota General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
eeprom various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
efibootmgr Indent multiple device path entries correctly. 2017-12-09 07:44:00 +00:00
efidp Add -u (--to-unix) and -e (--to-efi) to convert unix or efi paths to 2017-12-02 07:29:24 +00:00
efivar Add forgotten libgeom. 2017-12-02 15:25:45 +00:00
etcupdate various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
extattr various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
extattrctl various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
fdcontrol various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
fdformat fdformat is a sysadmin command and thus its man page should be in 2017-12-05 05:02:46 +00:00
fdread various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
fdwrite SPDX: use the Beerware identifier. 2017-11-30 20:33:45 +00:00
fifolog various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
flowctl various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
fmtree DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
freebsd-update various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
fstyp DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
ftp-proxy DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
fwcontrol spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
getfmac various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
getpmac various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
gpioctl various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
gssd various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
gstat various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
hyperv DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
i2c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ifmcstat General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
inetd various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
iostat General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
iovctl DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
ip6addrctl General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
ipfwpcap DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
iscsid various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
jail various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
jexec various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
jls various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
kbdcontrol various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
kbdmap various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
keyserv DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
kgmon .Xr pmcstat(8) from kgmon(8) and gprof(1). 2017-11-27 12:37:14 +00:00
kgzip various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
kldxref various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
lastlogin various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
lmcconfig DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
lpr various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
lptcontrol various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
mailstats DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mailwrapper various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
makefs various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
makemap DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
manctl spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
memcontrol various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
mergemaster Update several more URLs 2017-10-29 08:17:03 +00:00
mfiutil various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
mixer DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mld6query General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
mlxcontrol various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
mount_smbfs DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mountd General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
moused various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
mpsutil DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mptable various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
mptutil General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
mtest various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
nandsim various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
nandtool various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ndiscvt spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
ndp General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
newsyslog Really fix typo and improve wording of the comment 2017-12-06 10:47:50 +00:00
nfscbd DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nfsd General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
nfsdumpstate DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nfsrevoke DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nfsuserd DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
ngctl DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nghook DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nmtree DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nologin DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nscd DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
ntp DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nvram
ofwdump DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
pc-sysinstall share and pc-sysinstall: adoption of SPDX licensing ID tags. 2017-11-27 15:28:26 +00:00
pciconf various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
periodic periodic: fix exit status for nonexistent arguments 2017-11-20 23:51:51 +00:00
pkg various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcannotate various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmccontrol various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcstat various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcstudy DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
pnpinfo DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
portsnap various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
powerd various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ppp SPDX: Fix some cases wrongly attributed to MIT. 2017-11-30 15:10:11 +00:00
pppctl various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
praliases DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
praudit DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
prometheus_sysctl_exporter DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
pstat General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
pw pw(8): correct expiration period handling and command line overrides 2017-12-09 23:34:00 +00:00
pwd_mkdb General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
quot various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
quotaon General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
rarpd various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
repquota General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
rip6query General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
rmt General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
route6d General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
rpc.lockd various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
rpc.statd spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
rpc.umntall various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
rpc.yppasswdd spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
rpc.ypupdated spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
rpc.ypxfrd spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
rpcbind various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
rrenumd General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
rtadvctl various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
rtadvd various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
rtprio various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
rtsold General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
rwhod General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
sa various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
sendmail DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
service various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
services_mkdb various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
sesutil DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
setfib General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
setfmac various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
setpmac various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
smbmsg various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
snapinfo various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
spkrtest various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
spray various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
syslogd When parsing remote messages, require them to have standard timestamp 2017-12-05 19:54:55 +00:00
sysrc Change my given name from "Garrett" to "Ngie" 2016-06-13 10:30:49 +00:00
tcpdchk DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
tcpdmatch DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
tcpdrop DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
tcpdump DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
timed General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
traceroute various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
traceroute6 General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
trpt General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
tzsetup DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
uathload various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
uefisign DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
ugidfw various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
uhsoctl various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
unbound various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
usbconfig various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
usbdump various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
utx various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
vidcontrol various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
vigr META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
vipw General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
wake various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
watch SPDX: Fix some cases wrongly attributed to MIT. 2017-11-30 15:10:11 +00:00
watchdogd various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
wlandebug various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
wpa spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
yp_mkdb spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
ypbind various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ypldap DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
yppoll various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
yppush spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
ypserv spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
ypset various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
zic DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
zonectl DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
zzz
Makefile Import Netflix's efibootmgr to help manage UEFI boot variables 2017-12-09 06:52:20 +00:00
Makefile.amd64 Remove the si(4) driver and sicontrol(8) for Specialix serial cards. 2016-08-19 21:14:27 +00:00
Makefile.arm Make the building of libsmb and mount_smbfs unconditional, now that r292552 2015-12-21 17:41:08 +00:00
Makefile.arm64 arm64: build usr.sbin/acpi subdirectory 2015-11-08 20:56:04 +00:00
Makefile.i386 Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
Makefile.inc
Makefile.mips Document why we use -z nonexecstack in the Makefile since it 2015-11-21 16:37:11 +00:00
Makefile.powerpc Create a new MACHINE_ARCH for Freescale PowerPC e500v2 2016-10-22 01:57:15 +00:00
Makefile.sparc64 Make the building of libsmb and mount_smbfs unconditional, now that r292552 2015-12-21 17:41:08 +00:00