#
296373 |
|
04-Mar-2016 |
marius |
- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1 builds. - Update newvers.sh to reflect RC1. - Update __FreeBSD_version to reflect 10.3. - Update default pkg(8) configuration to use the quarterly branch.
Approved by: re (implicit) |
#
292965 |
|
30-Dec-2015 |
bapt |
MFC: r292846, r292847, r292849
Restore dryrun support for pw groupmod Remove useless assignement of linelen Simplify code for parsing extra groups
|
#
289978 |
|
26-Oct-2015 |
ngie |
MFC r289600:
Initialize `quiet` to false so `pw groupnext` again prints out the next gid by default
Reported by: Florian Degner <f.degner@gmx.de> PR: 203876 Sponsored by: EMC / Isilon Storage Division
|
#
287084 |
|
23-Aug-2015 |
bapt |
MFC: r285133,r285136,r285137,r285156,r285157,r285158,r285256,r285318,r285395, r285396,r285398,r285401,r285403,r285405,r285406,r285408,r285409,r285411, r285412,r285413,r285415,r285418,r285430,r285433,r285434,r285442,r285948, r285984,r285985,r285989,r285996,r285997,r286045,r286047,r286066,r286150, r286151,r286152,r286154,r286155,r286156,r286157,r286173,r286196,r286197, r286198,r286199,r286200,r286201,r286202,r286203,r286204,r286210,r286211, r286217,r286218,r286258,r286259,r286341,r286775,r286982,r286986,r286991, r286993
Validate most pw inputs. Rewrite the way parsing sub arguments is made to simplify code and improve maintenability Add -y (NIS) to userdel/usermod pw userdel -r <rootdir> now deletes directories in the rootdir Only parse pw.conf when needed Reject usermod and userdel if the user concerned is not on the user database supposed to be manipulated
|
#
285092 |
|
03-Jul-2015 |
bapt |
MFC: r274011,r274022,r274453,r274542,r274632,r274727,r275653,r275656,r275657, r275658,r275829,r277652,r277764,r278475,r278767,r278819,r278902,r279256, r282681,r282683,r282685,r282686,r282687,r282697,r282698,r282699,r282700, r282709,r282712,r282713,r282716,r282718,r282719,r282720,r282721,r283809, r283810,r283811,r283814,r283815,r283816,r283818,r283841,r283842,r283843, r283961,r283962,r284110,r284111,r284112,r284113,r284114,r284117,r284118, r284119,r284120,r284121,r284122,r284123,r284124,r284126,r284128,r284129, r284130,r284133,r284135,r284137,r284139,r284140,r284148,r284149,r284392
Lots of cleanup in the pw(8) code Add pw -R <rootdir> Add lots of regression tests More accurate error messages
Approved by: re (kib) Sponsored by: gandi.net
|
#
274082 |
|
04-Nov-2014 |
bapt |
MFC: 272445,272578,273772,273779,273782,273786,273787,273791
Add a test for bug 191427 where pw(8) will go into an infinite loop Add some tests for modifying groups When a group is renamed then the group has been invalidated for sure. In that case get the group information using the new name.
Fix a regression in pw usermod -G list
The user was perperly adding the to different groups from "list" but was not removed from the other groups it could have belong to.
Do not delete the group wheel when bad argument is passed to pw groupdel -g
Check that the -g argument is actually a number, if not report an error. This argument is converted without checking with atoi(3) later so without this check it converts any alpha entries into 0 meaning it deletes the group wheel
Ensure pw userdel -u <invalid> do not try to remove root
Check the uid passed is actually a number as early as possible
Fix renaming a group via the gr_copy function
Add a regression test to pw(8) because the bug was discovered via using: pw groupmod
PR: 193704 [1], 185666 [2], 90114 [3], 187189 [4] Submitted by: Marc de la Gueronniere [4] Reported by: az [1], sub.mesa@gmail.com [2], bkoenig@cs.tu-berlin.de [3], mcdouga9@egr.msu.edu [4]
|
#
272192 |
|
26-Sep-2014 |
dteske |
MFC revisions 262864-262865, 263114, 267970: r262864: Stop pw(8) from segfaulting when given certain input (julian) r262865: Part 2 of bug 187310 (julian) r263114: Fix pw(8) edge-case deletion of group "username" on userdel r267970: Fix infinite-loop during deletion of users from groups
PR: 187310, 169471, 191427 Submitted by: Voradesh Yenbut, Alexander Pyhalov, Kim Shrier Obtained from: bug Approved by: re (gjb)
|
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
244738 |
|
27-Dec-2012 |
bapt |
Fix a regression in "pw group show" introduced r242349: print a newline after printing each group line.
PR: bin/174731 Submitted by: Jan Beich <jbeich@tormail.org>
|
#
243894 |
|
05-Dec-2012 |
eadler |
Remove useless check for NULL prior to free.
Approved by: cperciva MFC after: 2 weeks
|
#
242349 |
|
30-Oct-2012 |
bapt |
Teach pw(8) about how to use pw/gr API to reduce code duplication
MFC after: 2 months
|
#
176474 |
|
23-Feb-2008 |
scf |
Add the groupmod '-d' option to pw to allow the deletion of existing users 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
|
#
176473 |
|
23-Feb-2008 |
scf |
style(9) (verified no object changes)
Approved by: wes (mentor) MFC after: 5 days
|
#
124382 |
|
11-Jan-2004 |
iedowse |
Add a `-H <fd>' option that is like `-h <fd>', but accepts an already encrypted password on the specified file descriptor.
PR: bin/22033 MFC after: 2 weeks
|
#
61957 |
|
22-Jun-2000 |
ache |
Localize time/date. Use ISO 8601 date in logs. Fix wrong argument type in ctype functions.
|
#
56000 |
|
15-Jan-2000 |
davidn |
Portability fixes for other bsd4.4 derivatives.
|
#
52512 |
|
26-Oct-1999 |
davidn |
Add new functionality "lock" and "unlock" to provide a simple password locking mechanism for users. This works by prepending the string "*LOCKED*" to the password field in master.passwd to prevent successful decoding.
|
#
52502 |
|
26-Oct-1999 |
davidn |
Clean up error handling in fileupdate(), which now returns 0 on success 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]
|
#
50479 |
|
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
44229 |
|
23-Feb-1999 |
davidn |
1) Do not blindly ignore file update errors which may occur due to concurrent updating 2) Add -V <etcdir>, which allows maintaining user/group database in alternate locations other than /etc.
|
#
30259 |
|
10-Oct-1997 |
charnier |
Use err(3) instead of local redefinition. Add rcsid string.
|
#
22997 |
|
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
#
22398 |
|
07-Feb-1997 |
davidn |
Yet another formatting consistency check.
|
#
21673 |
|
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
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.
|
#
20747 |
|
21-Dec-1996 |
davidn |
1) 200 users per group limitation removed and pw 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.
|
#
20679 |
|
19-Dec-1996 |
davidn |
Allow 8-bit characters in the passwd gecos field, and adds a paragraph to the mangpage explaining the consequences (to be updated at a later date after login class conf support is added).
|
#
20303 |
|
10-Dec-1996 |
joerg |
This commit was generated by cvs2svn to compensate for changes in r20302, which included commits to RCS files with non-trunk default branches.
|
#
20302 |
|
10-Dec-1996 |
joerg |
Copyright update by the author, to be more in line with our sample copyright.
Submitted by: David Nugent
|
#
20267 |
|
09-Dec-1996 |
joerg |
Upgrade from the author, reflecting all my wishes resulting out of the sysinstall use of this tool (plus some bug fixes).
2.2 candidate...
Submitted by: David Nugent <davidn@nserver.usn.blaze.net.au>
|
#
20253 |
|
09-Dec-1996 |
joerg |
pw(8) -- a backend utility to manage the user and group databases.
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>
|