Commit graph

5 commits

Author SHA1 Message Date
agc
1a4c383f88 Revert previous change - use one set of sources, for maintenance reasons,
across -current pkgsrc and the 1.4 branch.
2000-05-09 11:15:59 +00:00
hubertf
01fbea54db Bump to 20000505. Changes:
* Add note on how to update distfile, mostly taken from pkg_install pkg.
 * Move 1.4 patches from src/usr.sbin/user/user.c to pkgsrc (I didn't want
   to add it to doc/HACKS :)
2000-05-05 01:41:55 +00:00
hubertf
33ccb0ca82 Make this pkg behave like any other (real) package:
allow building of a binary package and deinstallation (as advertized :)
2000-01-13 17:31:14 +00:00
agc
7f6cb946c0 Update this package to mirror the 1999/12/31 sources.
Enhancements from Hubert Feyrer:

+ copy all files and directories in <skeldir> to new user's home
directory, not just if they begin with a '.'
+ use pax to copy files from <skeldir>, as this will allow <skeldir>
to contain directory trees as well as regular files
+ use -h arg to chown(1) in case any symlinks have been created in the
new user's home directory
+ getpwnam(3) does not set errno, so use errx(3) and warnx(3)
+ use nologin(8) in preference to false(1) when deleting users but
preserving information
+ in usage messages, specify [-r lowuid..highuid] rather than a simple
[-r range]

Add new functionality, and fix some bugs and oversights:

+ Moved all internal definitions from usermgmt.h to user.c
+ Added prototypes to usermgmt.h
+ Allow defaults to be set at build time
+ Check the effective uid is 0 if any data is to be modified
+ Check all numeric uids and gids really are numeric
+ Fix a bug (reported by lenb at sasquatch.com) where new ranges were
appended to old ranges, rather than replacing them
+ Add userinfo(8) and groupinfo(8) utilities (if EXTENSIONS is
defined), whereby user and group information can be displayed.  Add
manual pages for new utilities.  Add front-end calling from user(8)
and group(8) accordingly.
+ Make all functions visible outside the user.c file again.  User and
group manipulation may be split out into a separate shared lib in the
future
+ Split off main function into a separate main.c
+ Changed default group to be "users"
+ Changed despatch table for commands to work in a more sane manner
+ Added "default-group" target to Makefile, so that the default group
can be made easily.
2000-01-03 22:08:56 +00:00
agc
157d8f6174 Import NetBSD-current's user(8) user/group management suite of
programs into the NetBSD packages collection.
1999-12-16 16:28:31 +00:00