freebsd-nq/usr.sbin/pw
Garance A Drosehn 84a0950aea Changes so the 'pw' command will allow '$' as the last character in a userid
or group name (mainly for the benefit of samba).  This pretty much rewrites
he pw_checkname() routine, but should work exactly the same except for the
above change, and that error messages are somewhat more informative.

PR:		28733 46890
Inspired by:	example patch written by Terry Lambert
Reviewed by:	no objections on freebsd-arch and freebsd-current
MFC plans:	no plans, but will do if people want it in stable.
2003-01-28 01:21:57 +00:00
..
bitmap.c
bitmap.h de-__P() 2002-07-11 19:07:35 +00:00
cpdir.c
edgroup.c
fileupd.c
grupd.c Unbreak group operations by reverting previous delta which removed the 2001-08-30 06:32:17 +00:00
Makefile Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
psdate.c
psdate.h de-__P() 2002-07-11 19:07:35 +00:00
pw_conf.c Handle snprintf() returning < 0 (not just -1) 2001-08-20 15:09:34 +00:00
pw_group.c
pw_log.c
pw_nis.c
pw_user.c Changes so the 'pw' command will allow '$' as the last character in a userid 2003-01-28 01:21:57 +00:00
pw_vpw.c
pw.8 Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
pw.c Fix the type of the NULL arg to execl() 2001-07-09 09:24:06 +00:00
pw.conf.5 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
pw.h Fix a harmless format string bogon and mark a function as __printflike(). 2001-07-05 08:01:15 +00:00
pwupd.c Do not expose password if it is empty and PWF_STANDARD format is requested 2003-01-23 19:51:48 +00:00
pwupd.h de-__P() 2002-07-11 19:07:35 +00:00
README
rm_r.c Include missing header files which define functions for which gcc has 2001-06-24 20:25:23 +00: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 and maintainer: David L. Nugent, <davidn@blaze.net.au>

$FreeBSD$