summaryrefslogtreecommitdiff
path: root/sysutils/user/patches
AgeCommit message (Collapse)AuthorFilesLines
2000-05-09Revert previous change - use one set of sources, for maintenance reasons,agc1-29/+0
across -current pkgsrc and the 1.4 branch.
2000-05-05Bump to 20000505. Changes:hubertf1-0/+29
* 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-01-13Make this pkg behave like any other (real) package:hubertf1-0/+13
allow building of a binary package and deinstallation (as advertized :)
2000-01-03Update this package to mirror the 1999/12/31 sources.agc1-55/+0
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.
1999-12-16Import NetBSD-current's user(8) user/group management suite ofagc1-0/+55
programs into the NetBSD packages collection.