Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix a serious bug where, on alpha, due to a an int/long type mismatch, | Andrew Gallatin | 1999-10-20 | 1 | -1/+1 |
| | | | | | the uid arg to use_yp() was getting clobbered by the call to my_yp_match(). This led to a problem where a NIS user could edit root's passwd information. | ||||
* | Unifdef -DPASSWD_IGNORE_COMMENTS. This wasn't really optional and | Peter Wemm | 1999-09-06 | 2 | -3/+1 |
| | | | | we have enough pseudo-options already. | ||||
* | Back out previous commit. I mistook passing commentary from bde for | Sheldon Hearn | 1999-08-31 | 1 | -9/+6 |
| | | | | | | review. Requested by: bde | ||||
* | 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> | ||||
* | Only issue a warning for the first occurrence of a UID > USHRT_MAX and | Sheldon Hearn | 1999-08-30 | 1 | -6/+9 |
| | | | | | | | the first occurrence of a GID > USHRT_MAX. PR: 13344 Reviewed by: bde | ||||
* | $Id$ -> $FreeBSD$ | Peter Wemm | 1999-08-28 | 30 | -30/+30 |
| | |||||
* | $Id$ -> $FreeBSD$ | Peter Wemm | 1999-08-28 | 6 | -6/+6 |
| | |||||
* | $Id$ -> $FreeBSD$ | Peter Wemm | 1999-08-28 | 4 | -4/+4 |
| | |||||
* | Fix a bunch of broken cross-references | Chris Costello | 1999-08-18 | 1 | -2/+2 |
| | |||||
* | Allow comments and blank lines as advertised in passwd(5). | Sheldon Hearn | 1999-07-29 | 2 | -1/+12 |
| | | | | | PR: 12828 Submitted by: Yasuhiro Fukuma <yasuf@big.or.jp> | ||||
* | Remove some more warnings. | David Nugent | 1999-07-28 | 2 | -4/+6 |
| | |||||
* | Remove references to the non-existent addgroup(8) and rmgroup(8) | Nik Clayton | 1999-07-27 | 2 | -6/+2 |
| | | | | | | | commands. PR: docs/12659 Submitted by: Mark Diekhans <markd@Grizzly.COM> | ||||
* | Grammar and spelling fixes | Kris Kennaway | 1999-06-30 | 1 | -5/+5 |
| | | | | Obtained from: OpenBSD | ||||
* | Move call to umask(0) back into pw_util(), because the latter | Pierre Beyssac | 1999-06-29 | 1 | -1/+4 |
| | | | | function is also used by chpass(1) and passwd(1). | ||||
* | Force umask to 077 (instead of 000) during the edit phase, to get | Pierre Beyssac | 1999-06-26 | 1 | -4/+1 |
| | | | | | | | | | | secure permissions in case the user attempts to save something to a file of his own. Move umask stuff out of pw_init() into main() for better visibility of overall umask tweaking logic. PR: misc/11797 | ||||
* | Add -d option to vipw(8) to allow selection of an alternative directory | Sheldon Hearn | 1999-06-26 | 1 | -8/+14 |
| | | | | | | | for the password files. PR: 2703 Submitted by: jmg | ||||
* | More egcs warning fixes: | Warner Losh | 1999-04-25 | 2 | -3/+4 |
| | | | | | | | | | | o main returns int not void o use return 0 at end of main when needed o use braces to avoid potentially ambiguous else o don't default to type int o #ifdef 0 -> #if 0 Reviewed by: obrien and chuckr | ||||
* | oops, add pwd!=NULL check to previous fix | Andrey A. Chernov | 1999-04-24 | 1 | -11/+17 |
| | |||||
* | Switch to user UID/GID before checking/reading its ~/.login_conf | Andrey A. Chernov | 1999-04-24 | 1 | -1/+14 |
| | | | | - some NFSes have root read access disabled | ||||
* | Add realhostname() - a function to correctly lookup | Brian Somers | 1999-04-06 | 1 | -1/+9 |
| | | | | | a name by address and ensure that the name resolves back to the original address. | ||||
* | 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 |
| | |||||
* | Close PR #10264. Don't bail directly out of passwd/chpass in my_yp_match(). | Bill Paul | 1999-03-01 | 1 | -1/+17 |
| | | | | | | | | | | | Instead, treat the inability to retrieve a record from the server as a match failure and let things take its course. Part of the problem here is that NIS _is_ turned on, however the master server is actually not an NIS server: it's an NIS+ server. And the client is bound to an NIS+ replica server that's running in YP compat mode. The code which tries to figure out of the user is local or NIS gets confused by this. | ||||
* | 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. | ||||
* | Change the prompt for the office location field from "Location:" | Guy Helmer | 1999-02-23 | 3 | -8/+13 |
| | | | | | | | | | | | | | | to "Office Location:" to disambiguate what is expected. Add a note to the man page to indicate that the office location and office phone fields are concatenated and printed with the heading "Office:" by finger(1). Swap the order of the home and office phone fields in the man page to match the order of the fields in the editor. If any programs interact with chpass(1) and expect "Location:" instead of "Office Location:" as the prompt, either this change will have to be reverted or the other programs will have to be changed. PR: docs/7533 | ||||
* | Ignore errors from chflags. This makes it possible to make installworld | Dag-Erling Smørgrav | 1999-02-14 | 1 | -2/+2 |
| | | | | with DESTDIR set to an NFS-mounted file system. | ||||
* | Added myself as maintainer. | Wolfram Schneider | 1999-02-09 | 1 | -1/+3 |
| | |||||
* | 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> | ||||
* | Allow two digit years 1969-2068 | Daniel O'Callaghan | 1999-01-18 | 1 | -3/+6 |
| | |||||
* | Print yyyy/mm/dd in /var/log/adduser, instead of yy/mm/dd | Daniel O'Callaghan | 1999-01-15 | 1 | -1/+2 |
| | | | | Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au> | ||||
* | 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> | ||||
* | Declare setproctitle() as printf0-like. | Bruce Evans | 1998-12-16 | 1 | -2/+2 |
| | |||||
* | Fixed disordering of cross references in previous commit. | Bruce Evans | 1998-12-13 | 1 | -3/+3 |
| | |||||
* | Add reference to login.conf(5) | Matthew Dillon | 1998-12-13 | 1 | -2/+3 |
| | |||||
* | PR: docs/9045 | Matthew Dillon | 1998-12-13 | 1 | -27/+31 |
| | | | | | | Update chpass(1) manual page. Change the definition of the class field and also reorganize the field list to match that of the /etc/master.passwd file, to avoid confusion. | ||||
* | oops. Fix indentation of the 'for' loop I just added. | Matthew Dillon | 1998-12-13 | 1 | -18/+18 |
| | |||||
* | Handle the race condition where vipw may lock a password file which has | Matthew Dillon | 1998-12-13 | 1 | -6/+22 |
| | | | | | just been replaced. After our lock succeeds we check if st_nlink is 0 and if it is we close the descriptor and retry our open/lock sequence. | ||||
* | Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]). | Archie Cobbs | 1998-12-06 | 5 | -10/+11 |
| | |||||
* | Since vfork() was changed to fork(), we have to pass errno back from the | Dag-Erling Smørgrav | 1998-10-20 | 1 | -3/+6 |
| | | | | | | | child to the parent somehow. PR: 8353 Submitted by: Andrew J. Korty <ajk@purdue.edu> | ||||
* | Fixed printf format errors. Assume that uid_t's are representable as | Bruce Evans | 1998-10-17 | 1 | -2/+2 |
| | | | | unsigned longs. | ||||
* | Fixed printf format errors. Assume that time_t's are representable as | Bruce Evans | 1998-10-17 | 1 | -2/+2 |
| | | | | longs. | ||||
* | Calls one or more of malloc(), warn(), err(), syslog(), execlp() or | Dag-Erling Smørgrav | 1998-10-13 | 1 | -3/+3 |
| | | | | | | | | | | | execvp() in the child branch of a vfork(). Changed to use fork() instead. Some of these (mv, find, apply, xargs) might benefit greatly from being rewritten to use vfork() properly. PR: Loosely related to bin/8252 Approved by: jkh and bde | ||||
* | Now take stdio.h out of files that don't require it. | Jordan K. Hubbard | 1998-10-09 | 1 | -2/+1 |
| | |||||
* | o move path in libutil.h to paths.h | Jordan K. Hubbard | 1998-10-09 | 1 | -2/+2 |
| | | | | | o make property_read() take a fd instead to avoid stdio.h mess o update auth to new interface. | ||||
* | Take the path spec back out. | Jordan K. Hubbard | 1998-10-09 | 1 | -4/+1 |
| |