OpenGrok
Cross Reference: main.c
xref
: /
src
/
usr.sbin
/
user
/
main.c
Home
|
History
|
Annotate
|
Download
|
only in
user
History log of
/src/usr.sbin/user/main.c
Revision
Date
Author
Comments
1.5
22-Oct-2006
christos
use c99 initializers
1.4
25-Nov-2005
agc
Be pragmatic - move user(8) to a 3-clause BSD licence.
1.3
09-Jul-2002
tron
Fix build problem probably caused by some toolchain change.
1.2
19-Feb-2001
cgd
convert to use getprogname()
1.1
24-Dec-1999
agc
branches: 1.1.2;
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.
1.1.2.2
21-Jan-2000
he
Pull up revision 1.1 (new) (requested by agc):
Add tools to manage users and groups.
1.1.2.1
24-Dec-1999
he
file main.c was added on branch netbsd-1-4 on 2000-01-21 00:00:53 +0000
Indexes created Wed Oct 22 13:09:56 GMT 2025