Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Removing -batch option from adduser. Adduser was written as | Wolfram Schneider | 1998-08-17 | 2 | -106/+8 |
| | | | | | | an *interactive* command for newbies. The pw(8) does now a much better job for adding users from command line. Also, the -batch option is not well tested, buggy and unsupported. | ||||
* | - 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> | ||||
* | Always ask for homedir. | Wolfram Schneider | 1998-06-07 | 1 | -11/+38 |
| | | | | | PR: 6754 Submitted by: uhlar@netlab.sk | ||||
* | .Nm pw -> .Nm. | Philippe Charnier | 1998-03-23 | 1 | -2/+2 |
| | |||||
* | MF22: Remove confusing comma | Tim Vanderhoek | 1998-03-18 | 1 | -2/+2 |
| | |||||
* | Clarify the -batch arguments. | Steve Price | 1998-02-14 | 1 | -1/+5 |
| | | | | | PR: 5677 Submitted by: Adrian Filipi-Martin <adrian@virginia.edu> | ||||
* | 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> | ||||
* | Typo. | Wolfram Schneider | 1998-02-02 | 1 | -2/+2 |
| | |||||
* | Rename the pwd_mkdb(8) option '-c' to '-C' for better compatiblity | Wolfram Schneider | 1998-01-10 | 1 | -2/+2 |
| | | | | with BSD/OS. | ||||
* | Use consistent spelling, | Tim Vanderhoek | 1997-12-25 | 1 | -2/+2 |
| | | | | | | | | writeable -> writable (recall prior debate over this? :-) initialise -> initialize recognise -> recognize Merry Christmas! :) | ||||
* | Small bugfix: store $uid_start instead hard coded value 1000 | Wolfram Schneider | 1997-12-24 | 1 | -2/+2 |
| | | | | in /etc/adduser.conf. | ||||
* | Typo alert. | James Raynard | 1997-11-02 | 1 | -2/+2 |
| | |||||
* | Use err(3) instead of local redefinition. Add rcsid string. | Philippe Charnier | 1997-10-10 | 17 | -216/+228 |
| | |||||
* | Do not complain about non existing shell "/nonexistent" | Wolfram Schneider | 1997-09-20 | 1 | -3/+6 |
| | | | | | | Smarter error check if a uid is already in use. Submitted by: "Eugene Radchenko" <genie@qsar.chem.msu.su> | ||||
* | Do not accept empty user names. | Wolfram Schneider | 1997-09-20 | 1 | -2/+2 |
| | |||||
* | Unquote default group in pw.conf. | David Nugent | 1997-09-01 | 1 | -1/+2 |
| | | | | | PR: 4365 Submitted by: "Andrew L. Moore" <alm@mclink.com> | ||||
* | Cosmetic changes. | Philippe Charnier | 1997-09-01 | 2 | -40/+47 |
| | |||||
* | Stop the growing list of shells if /etc/adduser.conf | Wolfram Schneider | 1997-08-26 | 1 | -4/+4 |
| | | | | was updated. | ||||
* | Fix -p switch. | David Nugent | 1997-08-01 | 1 | -2/+2 |
| | |||||
* | Nologin is also a valid 'invalid' shell | Paul Traina | 1997-07-31 | 1 | -2/+2 |
| | |||||
* | Delete dead test code. | Wolfram Schneider | 1997-07-24 | 1 | -13/+1 |
| | |||||
* | `cp -r' -> `cp -R' | Wolfram Schneider | 1997-07-18 | 1 | -2/+2 |
| | | | | Option -r is obsolete and buggy. | ||||
* | getuid() -> geteuid(). | David Nugent | 1997-07-17 | 1 | -2/+2 |
| | |||||
* | Remove addgroup/rmgroup -- they are completely replaced by pw(1). | Paul Traina | 1997-07-05 | 5 | -362/+3 |
| | | | | | Adduser/rmuser stay for now until we get a good user-friendly front-end for pw. | ||||
* | Fix a minor nit in the .Dd macro invocation so that | Steve Price | 1997-06-23 | 3 | -6/+6 |
| | | | | the revision date is displayed correctly. | ||||
* | 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: | ||||
* | Change "no" answer to "default" for login class, because "no" class | Andrey A. Chernov | 1997-05-01 | 1 | -3/+3 |
| | | | | can exists and "default" class is really equal to empty class. | ||||
* | Allow "no" answer on login class prompt override non-empty | Andrey A. Chernov | 1997-05-01 | 1 | -2/+3 |
| | | | | /etc/adduser.conf defaultclass with empty one | ||||
* | 1. Deal with login classes now | Andrey A. Chernov | 1997-05-01 | 2 | -14/+54 |
| | | | | | 2. Turn on send_message by default for security reasons (mailbox must be pre-created) | ||||
* | Variable name typo. | Wolfram Schneider | 1997-04-02 | 1 | -2/+2 |
| | | | | | Reviewed by: Guy Helmer <ghelmer@cs.iastate.edu Submitted by: Paul Sandys <myj@nyct.net> | ||||
* | 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 |
| | |||||
* | Support comments in password database (/etc/master.passwd). | Wolfram Schneider | 1997-03-09 | 1 | -1/+9 |
| | | | | | Comments in group database (/etc/group) are currently not supported - adduser silently delete blank lines and comments. | ||||
* | Cleaned up some messages, added a check to remove a leftover popd file | Wolfram Schneider | 1997-03-08 | 2 | -50/+227 |
| | | | | | | | | | | from /var/mail, added a routine to delete the removed user's files from /tmp, /var/tmp, & /var/tmp/vi.recover, and added code to kill any running processes owned by the removed user). I've also added a flag for non-interactive execution, cleaned up the man page, and adjusted my address. Submitted by: ghelmer@cs.iastate.edu (Guy Helmer) | ||||
* | 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 | 31 | -31/+31 |
| | |||||
* | 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 | 6 | -9/+9 |
| |