summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge head from 7/28Simon J. Gerraty2014-08-194-21/+9
|\
| * pw: fix up deletion of users from groupsMateusz Guzik2014-06-271-4/+3
| | | | | | | | | | | | | | | | | | Previuosly given 'foo,bar' members, removing 'foo' would result in an infinite loop. PR: 191427 Submitted by: Voradesh Yenbut <yenbut cs.washington.edu> MFC after: 1 week
| * Fix changing the usernameBaptiste Daroussin2014-06-201-1/+1
| | | | | | | | | | | | PR: 189172 Submitted by: fullermd@over-yonder.net MFC after: 1 week
| * Removed compatibility with pre FreeBSD 2.2 pw_mkdb commandBaptiste Daroussin2014-06-201-13/+2
| | | | | | | | | | | | | | | | Fix some broken indentattion PR: 189173 Submitted by: fullermd@over-yonder.net MFC after: 1 week
| * use .Mt to mark up email addresses consistently (part2)Baptiste Daroussin2014-06-202-3/+3
| | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
* | Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| |
* | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| |
* | Merge headSimon J. Gerraty2014-04-284-45/+54
|\|
* | Merge headSimon J. Gerraty2014-04-270-0/+0
|\|
| * Simplify reading pw.conf(5) by using getline(3)Baptiste Daroussin2014-04-222-24/+12
| |
| * Merge from projects/pf r264198:Martin Matuska2014-04-070-0/+0
| |\ | | | | | | | | | | | | | | | | | | Execute pf_overload_task() in vnet context. Fixes a vnet kernel panic. Reviewed by: trociny MFC after: 1 week
| | * Merge head up to r263906.Martin Matuska2014-03-292-21/+42
| | |\ | | |/ | |/|
| * | Merge from projects/pf r251993 (glebius@):Martin Matuska2014-03-250-0/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | De-vnet hash sizes and hash masks. Submitted by: Nikos Vassiliadis <nvass gmx.com> Reviewed by: trociny MFC after: 1 month
| * | | Fix pw(8) deletion of group "username" on userdel even if group "username"Devin Teske2014-03-131-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is not associated with user "username". E.g., user "foo" has primary group "wheel" and is unassociated with group "foo", yet userdel would delete the group "foo" when deleting user "foo" (despite the fact that user "foo" is not associated with group "foo" in any way). Patch committed with minor style(9) changes. PR: bin/169471 Submitted by: Alexander Pyhalov <apyhalov@gmail.com>
| * | | Part 2 of bug 187310.. had to commit separately due to local confusion.Julian Elischer2014-03-061-15/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't let pw crash when give certain input. PR: 187310 Submitted by: Kim Shrier MFC after: 1 week
| * | | 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
| | | * Merge head up to r258343.Gleb Smirnoff2013-11-190-0/+0
| | | |\ | | |_|/ | |/| |
| | | * Merge head r232040 through r258006.Gleb Smirnoff2013-11-110-0/+0
| | | |\ | | |_|/ | |/| |
| | | * Merge head r233826 through r256722.Gleb Smirnoff2013-10-181-6/+2
| | |/| | | |/ | |/|
| | * Merge fresh head.Gleb Smirnoff2013-06-1918-813/+260
| | |\
| | * \ Merge head r233826 through r239173.Gleb Smirnoff2012-08-100-0/+0
| | |\ \
| | * | | Merge head r233826 through r239010.Gleb Smirnoff2012-08-030-0/+0
| | |\| |
| | * | | Merge head r236710 through r238467.Gleb Smirnoff2012-07-150-0/+0
| | |\| |
| | * | | Merge head r233826 through r236710.Gleb Smirnoff2012-06-070-0/+0
| | |\| |
| | * | | Merge head r233826 through r236557.Gleb Smirnoff2012-06-041-1/+1
| | |\| |
* | | | | Merge headSimon J. Gerraty2013-09-110-0/+0
|\| | | |
* | | | | Merge from headSimon J. Gerraty2013-09-052-7/+3
|\| | | |
| * | | | Fall back to sha512 if passwd_format is not set.Dag-Erling Smørgrav2013-07-041-1/+1
| | | | | | | | | | | | | | | | | | | | MFC after: 3 days
| * | | | There is no reason to disallow setting the password or account expiryDag-Erling Smørgrav2013-07-031-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | date to the current date. MFC after: 3 days
| * | | | Fix -Wunsequenced warningTim Kientzle2013-06-291-1/+1
| | |_|/ | |/| | | | | | | | | | Submitted by: dt71@gmx.com
| * | | mdoc sweepJoel Dahl2013-05-131-1/+1
| | | |
* | | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | |
* | | | Updated dependenciesSimon J. Gerraty2013-02-162-4/+0
| | | |
* | | | Sync with HEAD.David E. O'Brien2013-02-089-207/+99
|\| | |
| * | | Prevent a null pointer dereference in pw userdel when deletingDaniel Eischen2013-02-011-1/+1
| | | | | | | | | | | | | | | | a user whose group != username.
| * | | Merge projects/bhyve to head.Neel Natu2013-01-190-0/+0
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'bhyve' was developed by grehan@ and myself at NetApp (thanks!). Special thanks to Peter Snyder, Joe Caradonna and Michael Dexter for their support and encouragement. Obtained from: NetApp
| | * \ \ IFC @ r245509Neel Natu2013-01-171-2/+0
| | |\ \ \ | | |/ / / | |/| | |
| * | | | Remove unused variablesEitan Adler2013-01-161-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Approved by: cperciva MFC After: 3 days
| | * | | IFC @ r245178Neel Natu2013-01-091-0/+1
| | |\ \ \ | | |/ / / | |/| | |
| * | | | pw: free group returned by gr_addMateusz Guzik2013-01-061-0/+1
| | | | |
| | * | | IFC @ r244983.Neel Natu2013-01-047-204/+95
| | |\ \ \ | | |/ / / | |/| | |
| * | | | Simplify vnextgrent and vnextpwent reusing pw_scan and gr_scan from libutil.Baptiste Daroussin2012-12-271-169/+67
| | | | |
| * | | | 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>
| * | | | Simplify the code by using the new gr_add functionBaptiste Daroussin2012-12-271-15/+9
| | | | |
| * | | | Simplify copying of group members by using memcpyBaptiste Daroussin2012-12-261-2/+1
| | | | | | | | | | | | | | | | | | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
| * | | | Fix off-by-one error in memory allocation: j entries, one new and a nullBaptiste Daroussin2012-12-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | terminator is j + 2. Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
| * | | | In case of the deletion of a user those whole database has to be regenerated,Baptiste Daroussin2012-12-261-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | otherwise the user planned to be deleted remain in the pwd.db while removed from the plain text password file.
| * | | | Fix creating a user and adding it to a groupBaptiste Daroussin2012-12-261-7/+8
| | | | | | | | | | | | | | | | | | | | Reported by: "Sam Fourman Jr." <sfourman@gmail.com>, dim
| * | | | Simplify string duplication: use strdup instead of malloc + strcpyEitan Adler2012-12-051-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: db Approved by: cperciva MFC after: 2 weeks
| * | | | Avoid overflowing the file bufferEitan Adler2012-12-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: db Approved by: cperciva MFC after: 2 weeks