freebsd-src/usr.sbin/pw
Warner Losh 4d65a7c695 usr.sbin: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/

Sponsored by:		Netflix
2023-11-26 22:24:01 -07:00
..
tests Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
bitmap.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
bitmap.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
cpdir.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
grupd.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
psdate.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
psdate.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
pw.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
pw.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
pw.conf.5 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
pw.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
pw_conf.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
pw_group.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
pw_log.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
pw_nis.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
pw_user.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
pw_utils.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
pw_vpw.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
pwupd.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
pwupd.h usr.sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
README Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
rm_r.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
strtounum.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00

pw is a command-line driven passwd/group editor utility that provides
an easy and safe means of modifying of any/all fields in the system
password files, and has an add, modify and delete mode for user and
group records. Command line options have been fashioned to be similar
to those used by the Sun/shadow commands: useradd, usermod, userdel,
groupadd, groupmod, groupdel, but combines all operations within the
single command `pw'.

User add mode also provides a means of easily setting system useradd
defaults (see pw.conf.5), so that adding a user is as easy as issuing
the command "pw useradd <loginid>". Creation of a unique primary
group for each user and automatic membership in secondary groups
is fully supported.

This program may be FreeBSD specific, but should be trivial to port to
other bsd4.4 variants.

Author: David L. Nugent, <davidn@blaze.net.au>