summaryrefslogtreecommitdiffstats
path: root/pw/pwupd.h
Commit message (Collapse)AuthorAgeFilesLines
* Make a separate groupdel/userdel from the main functionBaptiste Daroussin2015-07-111-0/+1
|
* Make separate functions to show users and groupsBaptiste Daroussin2015-07-111-0/+2
|
* Move the quiet flag into the configuration structureBaptiste Daroussin2015-07-111-0/+1
|
* Do not try to set password on group if the group is added as a consequence ofBaptiste Daroussin2015-07-091-0/+1
| | | | | | of creating a user (regression from r285136) Reported by: Fabian Keil <fk@fabiankeil.de>
* Validate input of pw usermod -h and pwusermod -HBaptiste Daroussin2015-07-041-0/+2
| | | | | | | Push the code that set the password into a separate function to improve readability Add regression tests about pw usermod -h and pw usermod -H
* Fix generating configuration fileBaptiste Daroussin2015-06-071-0/+1
|
* Fix duplicate checkingBaptiste Daroussin2015-06-071-0/+1
|
* In case of rename validate the length of the new nameBaptiste Daroussin2015-06-071-0/+1
| | | | Check early that the new name fits MAXLOGNAME and store it in pwconf
* Handle -7 via gloval pwconfBaptiste Daroussin2015-06-071-0/+1
|
* Handle pretty print (-P) via global pwconfBaptiste Daroussin2015-06-071-0/+1
|
* Handle dryrun (-N) via global pwconfBaptiste Daroussin2015-06-071-0/+2
|
* Sort headersBaptiste Daroussin2015-06-071-2/+2
|
* Add a new global struct pwconf to store etcpath, rootdir and struct userconfBaptiste Daroussin2015-06-071-4/+32
| | | | | Do not add anymore -R and -V to arglist Add an error message if both -V and -R are set in arguments
* New pw -R rootdir optionBaptiste Daroussin2015-06-031-0/+4
| | | | | | | | This allows to set an alternate root directory in which the users/groups will be manipulated Requested by: gjb, ian Tested by: gjb
* Remove dead declarationBaptiste Daroussin2015-05-291-1/+0
| | | | | PR: 195928 MFC after: 2 days
* Remove extendline definitionBaptiste Daroussin2015-05-101-3/+0
| | | | Remove now unused PWBUFSZ define
* Teach pw(8) about how to use pw/gr API to reduce code duplicationBaptiste Daroussin2012-10-301-39/+0
| | | | MFC after: 2 months
* de-__P()Alfred Perlstein2002-07-111-42/+42
|
* Portability fixes for other bsd4.4 derivatives.David Nugent2000-01-151-5/+9
|
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
|
* 1) Do not blindly ignore file update errors which may occur due to concurrentDavid Nugent1999-02-231-4/+79
| | | | | | updating 2) Add -V <etcdir>, which allows maintaining user/group database in alternate locations other than /etc.
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* 1) 200 users per group limitation removed and pwDavid Nugent1996-12-211-5/+7
| | | | | | | will handle lines of any length in /etc/group. 2) Fixed bug with usermod -d not updating user's home directory. 3) Minor formatting display changes/fixes with *show -P.
* Copyright update by the author, to be more in line with our sampleJoerg Wunsch1996-12-101-12/+6
| | | | | | copyright. Submitted by: David Nugent
* pw(8) -- a backend utility to manage the user and group databases.Joerg Wunsch1996-12-091-0/+85
sysinstall's new User&group menu will use it, hence it's a 2.2 candidate despite of providing new functionality. Submitted by: David L. Nugent, <davidn@blaze.net.au>