summaryrefslogtreecommitdiffstats
path: root/pw/pw_group.c
Commit message (Collapse)AuthorAgeFilesLines
* Stop pw(8) from segfaulting when given certain inputJulian Elischer2014-03-061-6/+13
| | | | | | | PR:187310 Submitted by: Kim Shrier Obtained from: bug MFC after: 1 week
* Fix a regression in "pw group show" introduced r242349:Baptiste Daroussin2012-12-271-1/+1
| | | | | | | print a newline after printing each group line. PR: bin/174731 Submitted by: Jan Beich <jbeich@tormail.org>
* Remove useless check for NULL prior to free.Eitan Adler2012-12-051-2/+1
| | | | | Approved by: cperciva MFC after: 2 weeks
* Teach pw(8) about how to use pw/gr API to reduce code duplicationBaptiste Daroussin2012-10-301-0/+424
| | | | MFC after: 2 months
* Create the altix project branch. The altix project will add supportMarcel Moolenaar2010-03-101-423/+0
| | | | | | | for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
* Add the groupmod '-d' option to pw to allow the deletion of existing usersSean Farley2008-02-231-15/+80
| | | | | | | | | | from a group without the need to perform the same operation by replacing the existing list via the '-M' option. The '-M' option requires someone to fetch the existing members with pw, deleting the undesired members from the list and sending the altered list back to pw. Approved by: wes (mentor) MFC after: 5 days
* style(9) (verified no object changes)Sean Farley2008-02-231-2/+1
| | | | | Approved by: wes (mentor) MFC after: 5 days
* Add a `-H <fd>' option that is like `-h <fd>', but accepts an alreadyIan Dowse2004-01-111-2/+9
| | | | | | | encrypted password on the specified file descriptor. PR: bin/22033 MFC after: 2 weeks
* Localize time/date.Andrey A. Chernov2000-06-221-2/+2
| | | | | Use ISO 8601 date in logs. Fix wrong argument type in ctype functions.
* Portability fixes for other bsd4.4 derivatives.David Nugent2000-01-151-3/+4
|
* Add new functionality "lock" and "unlock" to provide a simple passwordDavid Nugent1999-10-261-2/+4
| | | | | | locking mechanism for users. This works by prepending the string "*LOCKED*" to the password field in master.passwd to prevent successful decoding.
* Clean up error handling in fileupdate(), which now returns 0 on successDavid Nugent1999-10-261-5/+20
| | | | | | | | | | | | instead of a boolean. This replicated through he front-end sub-functions relating to add, delete, modify entries in passwd & group files Errno is now preserved so output of errc()/warnc() will be less obfuscated by subsequent errors when reporting the problem. Add more intelligent error handling when attempting to modify/delete NIS entries with no corresponding local database entry. [MFC to stable in a couple of weeks to keep both in sync]
* $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-13/+12
| | | | | | updating 2) Add -V <etcdir>, which allows maintaining user/group database in alternate locations other than /etc.
* Use err(3) instead of local redefinition. Add rcsid string.Philippe Charnier1997-10-101-15/+19
|
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
|
* Yet another formatting consistency check.David Nugent1997-02-071-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-14/+31
| | | | | | | 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.
* Allow 8-bit characters in the passwd gecos field, and adds a paragraphDavid Nugent1996-12-191-3/+3
| | | | | to the mangpage explaining the consequences (to be updated at a later date after login class conf support is added).
* Copyright update by the author, to be more in line with our sampleJoerg Wunsch1996-12-101-12/+6
| | | | | | copyright. Submitted by: David Nugent
* Upgrade from the author, reflecting all my wishes resulting out of theJoerg Wunsch1996-12-091-18/+65
| | | | | | | | sysinstall use of this tool (plus some bug fixes). 2.2 candidate... Submitted by: David Nugent <davidn@nserver.usn.blaze.net.au>
* pw(8) -- a backend utility to manage the user and group databases.Joerg Wunsch1996-12-091-0/+273
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>