Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Only do a full pwd_mkdb for deletions; other operations may use the -u | Sheldon Hearn | 1999-08-30 | 1 | -2/+6 |
| | | | | | | | option as an optimization. PR: 13346 Submitted by: Neil Blakey-Milner <nbm@rucus.ru.ac.za> | ||||
* | $Id$ -> $FreeBSD$ | Peter Wemm | 1999-08-28 | 23 | -23/+23 |
| | |||||
* | Remove some more warnings. | David Nugent | 1999-07-28 | 2 | -4/+6 |
| | |||||
* | Fix date parsing to allow '0' (none) date value. | David Nugent | 1999-03-15 | 1 | -3/+2 |
| | |||||
* | Add the ability to print user records in unix version 7 (old) format. | David Nugent | 1999-03-02 | 2 | -11/+19 |
| | |||||
* | Fix minor nit with command line parsing for pw -V DIR action. | David Nugent | 1999-02-23 | 1 | -2/+2 |
| | |||||
* | Fix tpyo (sic) and missing 'else' (bad cut n' paste). | David Nugent | 1999-02-23 | 1 | -13/+13 |
| | |||||
* | 1) Do not blindly ignore file update errors which may occur due to concurrent | David Nugent | 1999-02-23 | 14 | -155/+725 |
| | | | | | | updating 2) Add -V <etcdir>, which allows maintaining user/group database in alternate locations other than /etc. | ||||
* | Don't assume a_name is a number just because the first character | Dag-Erling Smørgrav | 1999-02-08 | 1 | -2/+4 |
| | | | | | | | is a digit. PR: bin/9484 Submitted by: Matthew D. Fuller <fullermd@futuresouth.com> | ||||
* | Remove bogus file locking in main(). | David Nugent | 1999-01-08 | 1 | -13/+1 |
| | |||||
* | -Clarification of last commit- | Bill Fumerola | 1999-01-04 | 1 | -1/+1 |
| | | | | | | | The char that the random letters and numbers are being pulled from is ended with a '\0'. Using sizeof() includes this '\0' in the 'pool' of possible characters. This patch decrements by one the size so we don't accidently end the new password prematurly. | ||||
* | Let's make sure we're at the end of the password string before we apply a \0 | Bill Fumerola | 1999-01-02 | 1 | -2/+2 |
| | | | | | | | | | and terminate it. This patch ensures passwords will be the correct length of 8, which is what is implied in the source (but not reflected in the man page). PR: bin/7817 Reviewed by: Alfred Perlstein <bright@hotjobs.com> Submitted by: Hiroshi Nishikawa <nis@pluto.dti.ne.jp> | ||||
* | Fix the spelling of `FreeBSD'. | Joerg Wunsch | 1998-12-27 | 1 | -2/+2 |
| | | | | Submitted by: Peter Philipp <pjp@bsd-daemon.net> | ||||
* | Remove useless `BINOWN=root' now that it is the default. | David E. O'Brien | 1998-09-19 | 1 | -2/+1 |
| | |||||
* | Fix inappropriate use of .Ql macro. | Joseph Koshy | 1998-09-18 | 1 | -2/+2 |
| | | | | | PR: docs/7905 Submitted by: kuma@jp.freebsd.org | ||||
* | The `group{del,mod,show}' take require a '[group|gid]' argument. | Joseph Koshy | 1998-08-31 | 1 | -1/+4 |
| | | | | PR: docs/7788 | ||||
* | - On second thought, attempt to get the read-only lock, but don't | Nate Williams | 1998-08-04 | 1 | -1/+16 |
| | | | | | | | consider it a exit failure if it doesn't work. This means that root processes can safely get the lock, but normal processes can still use the 'pw' utility to get information (which may change out from under them.) | ||||
* | - Removed read-only lock from 'pw'. This removes portions of the FIX | Nate Williams | 1998-08-04 | 1 | -22/+1 |
| | | | | | | | | from PR/6787, but allow non-root users to use pw to get password information. However, this should be safe since the fixes for disallowing multiple instances from modifying the DB are still intact. Bug noted by: dima@best.net (Dima Ruban) | ||||
* | Fix race condition in pw caused by multiple instances of pwd_mkdb being | Nate Williams | 1998-07-16 | 3 | -7/+39 |
| | | | | | | | | | | | | | | | | | run at the same time. Notes: The fileupdate function is still somewhat broken. Instead of returning a failure code if it can't modify the original file it renames the .new file and continues as though nothing is wrong. This will cause the lock on the original file to be lost and could lead to a similar race condition. I left that portion of the code alone since I feel that the maintainer of the code would have a better concept of how he wants to handle errors in that function than I do. PR: bin/6787 Submitted by: Craig Spannring <cts@internetcds.com> | ||||
* | .Nm pw -> .Nm. | Philippe Charnier | 1998-03-23 | 1 | -2/+2 |
| | |||||
* | Overhaul this manpage - removing typos, awkward phrasing, and addressing | Steve Price | 1998-02-14 | 1 | -111/+123 |
| | | | | | | | a few technical faults. PR: 5692 Submitted by: dannyman@arh0300.urh.uiuc.edu | ||||
* | pwd_mkdb option '-c' was renamed to -C some weeks ago. | Wolfram Schneider | 1998-02-11 | 1 | -4/+4 |
| | | | | | PR: bin/5715 Submitted by: dannyman <dannyman@arh0300.urh.uiuc.edu> | ||||
* | Use consistent spelling, | Tim Vanderhoek | 1997-12-25 | 1 | -2/+2 |
| | | | | | | | | writeable -> writable (recall prior debate over this? :-) initialise -> initialize recognise -> recognize Merry Christmas! :) | ||||
* | Use err(3) instead of local redefinition. Add rcsid string. | Philippe Charnier | 1997-10-10 | 17 | -216/+228 |
| | |||||
* | Unquote default group in pw.conf. | David Nugent | 1997-09-01 | 1 | -1/+2 |
| | | | | | PR: 4365 Submitted by: "Andrew L. Moore" <alm@mclink.com> | ||||
* | Fix -p switch. | David Nugent | 1997-08-01 | 1 | -2/+2 |
| | |||||
* | getuid() -> geteuid(). | David Nugent | 1997-07-17 | 1 | -2/+2 |
| | |||||
* | Remove srandomdev fallback code | Andrey A. Chernov | 1997-06-14 | 1 | -5/+7 |
| | |||||
* | Fixes skeleton directory test-it-is-a-directory logic. | David Nugent | 1997-05-24 | 1 | -2/+2 |
| | | | | | | | PR: 3666 Reviewed by: Submitted by: iaint@css.tuu.utas.edu.au Obtained from: | ||||
* | Initialize RNG only once | Andrey A. Chernov | 1997-03-24 | 1 | -23/+18 |
| | | | | Use srandomdev() now | ||||
* | Fix srandom arg according to Lite2 | Andrey A. Chernov | 1997-03-11 | 1 | -3/+3 |
| | |||||
* | Typo fix 'and' -> 'an'. | Daniel O'Callaghan | 1997-03-04 | 1 | -2/+2 |
| | | | | This is a 2.2 candidate. | ||||
* | Back out MAXLOGNAME fix, Bruce points that copyinstr require NUL | Andrey A. Chernov | 1997-03-03 | 1 | -2/+2 |
| | |||||
* | Fix MAXLOGNAME usage, the code has wrong assumption that | Andrey A. Chernov | 1997-03-02 | 1 | -3/+3 |
| | | | | it must be NUL terminated | ||||
* | Revert $FreeBSD$ to $Id$ | Peter Wemm | 1997-02-22 | 22 | -22/+22 |
| | |||||
* | Yet another formatting consistency check. | David Nugent | 1997-02-07 | 1 | -1/+1 |
| | |||||
* | Fix useage of MAXLOGNAME to include terminating NUL, by using | David Nugent | 1997-02-07 | 2 | -3/+12 |
| | | | | | max(MAXLOGNAME-1,UT_NAMESIZE). Tidy up "pretty" printing format for longer usernames. | ||||
* | Sort cross references. | Wolfram Schneider | 1997-01-20 | 2 | -4/+4 |
| | |||||
* | Make the long-awaited change from $Id$ to $FreeBSD$ | Jordan K. Hubbard | 1997-01-14 | 22 | -22/+22 |
| | | | | | | | | 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. | ||||
* | Adds optional NIS passwd file updating and optionally rebuilding | David Nugent | 1997-01-05 | 8 | -22/+202 |
| | | | | | | NIS maps. Suggested by: Peter Wemm | ||||
* | Remove duplicated #include. | David Nugent | 1997-01-05 | 1 | -2/+1 |
| | |||||
* | Fix reference /etc/acct/pw.conf -> /etc/pw.conf. | David Nugent | 1997-01-05 | 1 | -2/+2 |
| | | | | Pointed-Out-By: Peter Wemm. | ||||
* | Implemented /home -> /usr/home symlink kludge. | David Nugent | 1997-01-03 | 1 | -11/+28 |
| | | | | | If home basedir would be created in the root partition, create it under /usr instead, and symlink /basedir -> /usr/basedir. | ||||
* | 1) Base home directory is created if it does not already exist if | David Nugent | 1996-12-30 | 1 | -35/+65 |
| | | | | | | | | useradd -m or useradd -D -b are used. 2) Hyphen allowed in username if not first character. Fix trivial bug in error fmt string. 3) /etc/skeykeys updating changed to do 'inplace' update, commenting out a username rather than removing it completely. | ||||
* | Correct file modes on updated /etc/skeykeys. | David Nugent | 1996-12-23 | 1 | -2/+2 |
| | |||||
* | 1) 200 users per group limitation removed and pw | David Nugent | 1996-12-21 | 9 | -290/+472 |
| | | | | | | | 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. | ||||
* | Bugfix (cosmetic) for output of generated passwords. | David Nugent | 1996-12-20 | 1 | -3/+3 |
| | |||||
* | Allow 8-bit characters in the passwd gecos field, and adds a paragraph | David Nugent | 1996-12-19 | 4 | -16/+37 |
| | | | | | to the mangpage explaining the consequences (to be updated at a later date after login class conf support is added). | ||||
* | Changes to password generator: fallback to MD5 generator disabled | David Nugent | 1996-12-17 | 2 | -35/+70 |
| | | | | | | (/dev/urandom used by default under FreeBSD), and implemented a "portable" but less secure generator for other systems. Add display of expiry/password change dates in -P user display. | ||||
* | Submitted by: proff@iq.org | David Nugent | 1996-12-17 | 1 | -2/+2 |
| | | | | Minor fix for security patch. |