summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2000-01-03 22:08:56 +0000
committeragc <agc@pkgsrc.org>2000-01-03 22:08:56 +0000
commit7f6cb946c093c4d4360c5f327873a422754ea99c (patch)
tree37e1cb7d5032a402daf8d4b2f95303693acacaf1 /devel
parentf23ae9eff7b3869eaee1e7102006e546789fe15d (diff)
downloadpkgsrc-7f6cb946c093c4d4360c5f327873a422754ea99c.tar.gz
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.
Diffstat (limited to 'devel')
0 files changed, 0 insertions, 0 deletions