Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc



Module Name:    pkgsrc
Committed By:   agc
Date:           Mon Jan  3 22:08:59 UTC 2000

Modified Files:
        pkgsrc/sysutils/user: Makefile
        pkgsrc/sysutils/user/files: md5 patch-sum
        pkgsrc/sysutils/user/pkg: PLIST
Removed Files:
        pkgsrc/sysutils/user/patches: patch-aa

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 pkgsrc/sysutils/user/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/sysutils/user/files/md5
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/sysutils/user/files/patch-sum
cvs rdiff -r1.1.1.1 -r0 pkgsrc/sysutils/user/patches/patch-aa
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/sysutils/user/pkg/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index