Up to [local] / src / usr.bin / passwd
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.64 / (download) - annotate - [select for diffs], Mon May 8 17:15:43 2023 UTC (13 months ago) by tobias
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
HEAD
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored) to selected 1.51 (colored)
Prevent signed integer overflow A signed integer overflow could occur after INT_MAX bad password attempts. Check for unlimited tries first and then increment the counter. Also consider INT_MAX to be a valid upper limit. ok millert@
Revision 1.63 / (download) - annotate - [select for diffs], Thu Feb 10 13:06:46 2022 UTC (2 years, 3 months ago) by robert
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1
Changes since 1.62: +3 -1 lines
Diff to previous 1.62 (colored) to selected 1.51 (colored)
unveil _PATH_LOGIN_CONF_D
Revision 1.62 / (download) - annotate - [select for diffs], Sun Oct 24 21:24:17 2021 UTC (2 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored) to selected 1.51 (colored)
For open/openat, if the flags parameter does not contain O_CREAT, the 3rd (variadic) mode_t parameter is irrelevant. Many developers in the past have passed mode_t (0, 044, 0644, or such), which might lead future people to copy this broken idiom, and perhaps even believe this parameter has some meaning or implication or application. Delete them all. This comes out of a conversation where tb@ noticed that a strange (but intentional) pledge behaviour is to always knock-out high-bits from mode_t on a number of system calls as a safety factor, and his bewilderment that this appeared to be happening against valid modes (at least visually), but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef. ok millert
Revision 1.61 / (download) - annotate - [select for diffs], Sun Aug 29 15:22:24 2021 UTC (2 years, 9 months ago) by robert
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE,
OPENBSD_7_0
Changes since 1.60: +3 -1 lines
Diff to previous 1.60 (colored) to selected 1.51 (colored)
notify the user about a successful password change; ok millert@
Revision 1.60 / (download) - annotate - [select for diffs], Sat Aug 28 06:46:49 2021 UTC (2 years, 9 months ago) by robert
Branch: MAIN
Changes since 1.59: +7 -7 lines
Diff to previous 1.59 (colored) to selected 1.51 (colored)
use stderr for printing error and informational messages this makes it easier to parse what passwd(1) is doing if spawned from a GUI ok millert@
Revision 1.59 / (download) - annotate - [select for diffs], Mon Jul 12 15:09:20 2021 UTC (2 years, 10 months ago) by beck
Branch: MAIN
Changes since 1.58: +8 -8 lines
Diff to previous 1.58 (colored) to selected 1.51 (colored)
Change the error reporting pattern throughout the tree when unveil fails to report the path that the failure occured on. Suggested by deraadt@ after some tech discussion. Work done and verified by Ashton Fagg <ashton@fagg.id.au> ok deraadt@ semarie@ claudio@
Revision 1.58 / (download) - annotate - [select for diffs], Thu Oct 24 12:56:40 2019 UTC (4 years, 7 months ago) by anton
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7
Changes since 1.57: +3 -1 lines
Diff to previous 1.57 (colored) to selected 1.51 (colored)
add missing unveil of /etc/shells; ok benno@ deraadt@ mestre@ tb@
Revision 1.57 / (download) - annotate - [select for diffs], Sat Sep 14 17:47:01 2019 UTC (4 years, 8 months ago) by semarie
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE,
OPENBSD_6_6
Changes since 1.56: +4 -2 lines
Diff to previous 1.56 (colored) to selected 1.51 (colored)
correct some unveil(2) violations due to "login.conf.db" access (the .db version of "login.conf"), and stat(2) on _PATH_MASTERPASSWD_LOCK (via pw_mkdb(3)). problem initially noted by myself for passwd(1) millert@ reported similar problem on chpass(1), su(1), doas(1) and encrypt(1) mestre@ noted chpass(1) too ok mestre@ millert@
Revision 1.56 / (download) - annotate - [select for diffs], Fri Jun 28 13:35:02 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored) to selected 1.51 (colored)
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
Revision 1.55 / (download) - annotate - [select for diffs], Thu Nov 8 15:41:41 2018 UTC (5 years, 7 months ago) by mestre
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE,
OPENBSD_6_5
Changes since 1.54: +3 -1 lines
Diff to previous 1.54 (colored) to selected 1.51 (colored)
unveil(2) obvious _PATH_LOGIN_CONF with read permission to use login_get*(3) family commands. Report and fix provided by Mark Patruck <mark ! wrapped ! cx>
Revision 1.54 / (download) - annotate - [select for diffs], Thu Oct 25 06:41:38 2018 UTC (5 years, 7 months ago) by mestre
Branch: MAIN
Changes since 1.53: +10 -1 lines
Diff to previous 1.53 (colored) to selected 1.51 (colored)
unveil(2) the following files for passwd(1) with their corresponding permissions: _PATH_MASTERPASSWD_LOCK - write/create permissions _PATH_MASTERPASSWD - read permission _PATH_BSHELL - execute permission (required since we might need to spawn an external passwordcheck program if defined in /etc/login.conf) _PATH_PWD_MKDB - execute permission OK millert@ deraadt@
Revision 1.53 / (download) - annotate - [select for diffs], Fri Dec 30 23:32:14 2016 UTC (7 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.52: +5 -2 lines
Diff to previous 1.52 (colored) to selected 1.51 (colored)
Use explicit_bzero() to clear the buffer used when the user retypes the new password. From isk AT ingve DOT org
Revision 1.52 / (download) - annotate - [select for diffs], Fri Sep 2 18:06:43 2016 UTC (7 years, 9 months ago) by tedu
Branch: MAIN
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored)
_PASSWORD_LEN is length that comes out of crypt(), not a meaningful length for user entered passwords. And the +1 is just superstitious nonsense inherited from getpass() guts. Switch to a pleasing fixed size of 1024. ok millert
Revision 1.51 / (download) - annotate - [selected], Fri Sep 2 10:32:38 2016 UTC (7 years, 9 months ago) by gsoares
Branch: MAIN
Changes since 1.50: +6 -1 lines
Diff to previous 1.50 (colored)
make sure to explicitly clear memory that is used for password input. OK tedu@
Revision 1.50 / (download) - annotate - [select for diffs], Wed Aug 31 12:41:19 2016 UTC (7 years, 9 months ago) by tedu
Branch: MAIN
Changes since 1.49: +16 -9 lines
Diff to previous 1.49 (colored) to selected 1.51 (colored)
replace obsolete getpass with readpassphrase. ok gsoares
Revision 1.49 / (download) - annotate - [select for diffs], Wed Aug 31 10:06:41 2016 UTC (7 years, 9 months ago) by tedu
Branch: MAIN
Changes since 1.48: +5 -7 lines
Diff to previous 1.48 (colored) to selected 1.51 (colored)
nicer format strings and use dprintf instead of write
Revision 1.48 / (download) - annotate - [select for diffs], Mon Aug 15 04:28:31 2016 UTC (7 years, 9 months ago) by guenther
Branch: MAIN
Changes since 1.47: +2 -3 lines
Diff to previous 1.47 (colored) to selected 1.51 (colored)
Trust the login_getcaptime() declaration and don't cast the arguments to their own expected type
Revision 1.47 / (download) - annotate - [select for diffs], Sun May 8 20:27:43 2016 UTC (8 years, 1 month ago) by tim
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored) to selected 1.51 (colored)
Switch to getpwnam_shadow() now that getpwnam() no longer opens the shadow database; OK deraadt@ sthen@
Revision 1.46 / (download) - annotate - [select for diffs], Thu Nov 26 19:01:47 2015 UTC (8 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.45: +12 -6 lines
Diff to previous 1.45 (colored) to selected 1.51 (colored)
Delete YP password related code. As a result, these can also be pledged. Keep an eye out for regressions, because they could be uncomfortable. ok beck semarie
Revision 1.45 / (download) - annotate - [select for diffs], Sun Oct 25 08:39:26 2015 UTC (8 years, 7 months ago) by ajacoutot
Branch: MAIN
Changes since 1.44: +1 -2 lines
Diff to previous 1.44 (colored) to selected 1.51 (colored)
No need to declare pwd_gensalt; it's unused and gone. ok tedu@
Revision 1.44 / (download) - annotate - [select for diffs], Fri Nov 21 05:13:44 2014 UTC (9 years, 6 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.43: +5 -3 lines
Diff to previous 1.43 (colored) to selected 1.51 (colored)
change prototype for crypt_newhash. the login_cap_t is a holdover from its pwd_gensalt origins, but a string argument works equally work and is more friendly to consumers beyond local user accounts. ok deraadt
Revision 1.43 / (download) - annotate - [select for diffs], Thu Nov 20 14:53:15 2014 UTC (9 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.42: +9 -7 lines
Diff to previous 1.42 (colored) to selected 1.51 (colored)
switch to using crypt_newhash interface. ok deraadt
Revision 1.42 / (download) - annotate - [select for diffs], Tue Nov 11 21:06:24 2014 UTC (9 years, 7 months ago) by tedu
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored) to selected 1.51 (colored)
use crypt_checkpass instead of crypt/strcmp
Revision 1.41 / (download) - annotate - [select for diffs], Fri Jan 18 11:13:38 2013 UTC (11 years, 4 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6,
OPENBSD_5_5_BASE,
OPENBSD_5_5,
OPENBSD_5_4_BASE,
OPENBSD_5_4,
OPENBSD_5_3_BASE,
OPENBSD_5_3
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored) to selected 1.51 (colored)
Use open(O_CLOEXEC) instead of a separate fcntl(FD_CLOEXEC) call. Nudged by David Hill
Revision 1.40 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:41 2009 UTC (14 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0,
OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8,
OPENBSD_4_7_BASE,
OPENBSD_4_7
Changes since 1.39: +1 -6 lines
Diff to previous 1.39 (colored) to selected 1.51 (colored)
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
Revision 1.39 / (download) - annotate - [select for diffs], Thu Nov 6 05:35:56 2008 UTC (15 years, 7 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5
Changes since 1.38: +3 -2 lines
Diff to previous 1.38 (colored) to selected 1.51 (colored)
-Wall -Wshadow clean, no binary change
Revision 1.38 / (download) - annotate - [select for diffs], Sun Apr 27 10:01:53 2008 UTC (16 years, 1 month ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE,
OPENBSD_4_4
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored) to selected 1.51 (colored)
Correct English. ok jmc@
Revision 1.37 / (download) - annotate - [select for diffs], Sun May 1 18:47:06 2005 UTC (19 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2,
OPENBSD_4_1_BASE,
OPENBSD_4_1,
OPENBSD_4_0_BASE,
OPENBSD_4_0,
OPENBSD_3_9_BASE,
OPENBSD_3_9,
OPENBSD_3_8_BASE,
OPENBSD_3_8
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored) to selected 1.51 (colored)
spacing
Revision 1.36 / (download) - annotate - [select for diffs], Mon Dec 20 15:05:59 2004 UTC (19 years, 5 months ago) by moritz
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE,
OPENBSD_3_7
Changes since 1.35: +5 -3 lines
Diff to previous 1.35 (colored) to selected 1.51 (colored)
o some missing free()'s in error paths o use FD_CLOEXEC instead of 1 o fix a crash when the round number of localcipher in the default section in login.conf was ommitted. noted by mpech@ ok mpech@, otto@, millert@, henning@
Revision 1.35 / (download) - annotate - [select for diffs], Sat Sep 18 19:34:29 2004 UTC (19 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.34: +3 -2 lines
Diff to previous 1.34 (colored) to selected 1.51 (colored)
ARGSUSED signal handler
Revision 1.34 / (download) - annotate - [select for diffs], Sat Jul 24 16:57:43 2004 UTC (19 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE,
OPENBSD_3_6
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (colored) to selected 1.51 (colored)
Print a newline before the message in kbintr. Otherwise the message ends up on the same line as the prompt.
Revision 1.33 / (download) - annotate - [select for diffs], Tue Jul 13 21:09:48 2004 UTC (19 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.32: +8 -8 lines
Diff to previous 1.32 (colored) to selected 1.51 (colored)
passwd.conf has been deprecated since login.conf was imported. Today it finally dies. Based on a diff from Gabriel Kihlman.
Revision 1.32 / (download) - annotate - [select for diffs], Tue Apr 20 23:21:23 2004 UTC (20 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.31: +9 -4 lines
Diff to previous 1.31 (colored) to selected 1.51 (colored)
Adapt to new pw_copy() API, closes PR 3698.
Revision 1.31 / (download) - annotate - [select for diffs], Wed Mar 10 21:23:17 2004 UTC (20 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE,
OPENBSD_3_5
Changes since 1.30: +8 -7 lines
Diff to previous 1.30 (colored) to selected 1.51 (colored)
Check getpass() return value for NULL. Closes Pr 3706. With help and OK from otto@.
Revision 1.30 / (download) - annotate - [select for diffs], Fri Jun 20 16:53:27 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE,
OPENBSD_3_4
Changes since 1.29: +4 -3 lines
Diff to previous 1.29 (colored) to selected 1.51 (colored)
a cleaning recommended by lint
Revision 1.29 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:14 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.28: +3 -7 lines
Diff to previous 1.28 (colored) to selected 1.51 (colored)
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
Revision 1.28 / (download) - annotate - [select for diffs], Mon Apr 28 01:40:06 2003 UTC (21 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.27: +3 -2 lines
Diff to previous 1.27 (colored) to selected 1.51 (colored)
stdlib.h
Revision 1.27 / (download) - annotate - [select for diffs], Sun Mar 30 20:50:05 2003 UTC (21 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.26: +21 -27 lines
Diff to previous 1.26 (colored) to selected 1.51 (colored)
Simpler and consistent error messages when the user enters an empty password or hits ^C. OK deraadt@ and mpech@
Revision 1.26 / (download) - annotate - [select for diffs], Fri Jun 28 22:28:17 2002 UTC (21 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE,
OPENBSD_3_3,
OPENBSD_3_2_BASE,
OPENBSD_3_2
Changes since 1.25: +7 -13 lines
Diff to previous 1.25 (colored) to selected 1.51 (colored)
various cleanups; ok millert
Revision 1.25 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:50 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE,
OPENBSD_3_1
Changes since 1.24: +7 -7 lines
Diff to previous 1.24 (colored) to selected 1.51 (colored)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Revision 1.24 / (download) - annotate - [select for diffs], Fri Dec 7 04:15:08 2001 UTC (22 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.23: +8 -7 lines
Diff to previous 1.23 (colored) to selected 1.51 (colored)
Catch SIGINT and SIGQUIT via the kbintr() signal handler in ypgetnewpasswd() too. Restore old signal handler at the end of ypgetnewpasswd() and getnewpasswd().
Revision 1.23 / (download) - annotate - [select for diffs], Fri Dec 7 03:48:39 2001 UTC (22 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.22: +8 -2 lines
Diff to previous 1.22 (colored) to selected 1.51 (colored)
Catch SIGINT and SIGQUIT via the kbintr() signal handler. Now that getpass() is interuptible we need to catch these so that the "Password unchanged." message is printed.
Revision 1.22 / (download) - annotate - [select for diffs], Mon Nov 19 19:02:15 2001 UTC (22 years, 6 months ago) by mpech
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored) to selected 1.51 (colored)
kill more registers millert@ ok
Revision 1.21 / (download) - annotate - [select for diffs], Mon Aug 27 02:57:07 2001 UTC (22 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE,
OPENBSD_3_0
Changes since 1.20: +32 -44 lines
Diff to previous 1.20 (colored) to selected 1.51 (colored)
Instead of prompting the user whether or not they wish to continue to wait for the lock on password file just tell the user to interrupt with ^C. This simplifies the locking loop a bit. Update man page to this effect.
Revision 1.20 / (download) - annotate - [select for diffs], Sun Aug 26 03:28:30 2001 UTC (22 years, 9 months ago) by millert
Branch: MAIN
Changes since 1.19: +5 -5 lines
Diff to previous 1.19 (colored) to selected 1.51 (colored)
Change the second arg to pw_mkdb() from a boolean flag to a set of bit flags ORed together. Currently the only flags defined are _PASSWORD_SECUREONLY and _PASSWORD_OMITV7 but this is enough to cause pw_mkdb() to run pwd_mkdb with the options we want. With this change we no longer generate the old V7 passwd file when only the extra fields in master.passwd (or the encrypted password) have changed. There are other programs that could probably use the _PASSWORD_OMITV7 flag; they will be converted at a future date.
Revision 1.19 / (download) - annotate - [select for diffs], Sat Aug 18 19:58:46 2001 UTC (22 years, 9 months ago) by millert
Branch: MAIN
Changes since 1.18: +16 -7 lines
Diff to previous 1.18 (colored) to selected 1.51 (colored)
If we modify pw_change we cannot pass pw_mkdb() the secureonly flag. We don't need to rebuild the v7 version of the file in this case but we have no way to communicate that to pw_mkdb since we pass in a boolean instead of a set of bit flags.
Revision 1.18 / (download) - annotate - [select for diffs], Thu Aug 16 18:29:27 2001 UTC (22 years, 9 months ago) by millert
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) to selected 1.51 (colored)
extra arg to pw_mkdb
Revision 1.17 / (download) - annotate - [select for diffs], Thu Aug 16 16:14:35 2001 UTC (22 years, 9 months ago) by millert
Branch: MAIN
Changes since 1.16: +6 -4 lines
Diff to previous 1.16 (colored) to selected 1.51 (colored)
At Theo's request only print 'Please wait' if don't get the lock on the first try.
Revision 1.16 / (download) - annotate - [select for diffs], Sat Jul 7 00:10:49 2001 UTC (22 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored) to selected 1.51 (colored)
quiet some -Wall warnings for login_{l,}chpass
Revision 1.15 / (download) - annotate - [select for diffs], Wed Jul 4 17:20:24 2001 UTC (22 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.14: +64 -15 lines
Diff to previous 1.14 (colored) to selected 1.51 (colored)
Move locking of the passwd file *after* we have gotten a new password from the user. Set real/effective/saved uids to 0 and block all signals so the lock cannot be kept longer than necessary. If we cannot lock, try again every 1/4 second for 2 seconds and then ask the user what they wish to do (keep trying, quit).
Revision 1.14 / (download) - annotate - [select for diffs], Mon Jun 18 21:09:23 2001 UTC (22 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.13: +32 -19 lines
Diff to previous 1.13 (colored) to selected 1.51 (colored)
o move passwd.conf variables into login.conf o no longer install passwd.conf (but it is used if it exists and the needed info is not in login.conf) o added passwordtime and minpasswordlen login.conf variables
Revision 1.13 / (download) - annotate - [select for diffs], Tue Dec 12 02:19:58 2000 UTC (23 years, 6 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE,
OPENBSD_2_9
Changes since 1.12: +20 -18 lines
Diff to previous 1.12 (colored) to selected 1.51 (colored)
Minor interface changes to allow code reuse in login_chpass(8) and login_lchpass(8)
Revision 1.12 / (download) - annotate - [select for diffs], Sun Nov 26 01:29:43 2000 UTC (23 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) to selected 1.51 (colored)
Update for pw_mkdb(3) interface change. All but vipw and userdel can specify a username (and thus avoid rebuilding the while database).
Revision 1.11 / (download) - annotate - [select for diffs], Tue Aug 1 22:27:51 2000 UTC (23 years, 10 months ago) by provos
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE,
OPENBSD_2_8
Changes since 1.10: +12 -14 lines
Diff to previous 1.10 (colored) to selected 1.51 (colored)
integrate password quality checking, disallow all digit passwords motivated by Solar Designer. External password checking program can be spawned now, number of password trials configurable. work by me and Bob Beck.
Revision 1.10 / (download) - annotate - [select for diffs], Mon Jul 13 02:15:00 1998 UTC (25 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE,
OPENBSD_2_7,
OPENBSD_2_6_BASE,
OPENBSD_2_6,
OPENBSD_2_5_BASE,
OPENBSD_2_5,
OPENBSD_2_4_BASE,
OPENBSD_2_4
Changes since 1.9: +4 -3 lines
Diff to previous 1.9 (colored) to selected 1.51 (colored)
excessive paranoia
Revision 1.9 / (download) - annotate - [select for diffs], Tue Feb 24 20:46:14 1998 UTC (26 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE,
OPENBSD_2_3
Changes since 1.8: +6 -2 lines
Diff to previous 1.8 (colored) to selected 1.51 (colored)
catch special password "s/key" and refuse it
Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 7 06:43:09 1997 UTC (27 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE,
OPENBSD_2_2,
OPENBSD_2_1_BASE,
OPENBSD_2_1
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored) to selected 1.51 (colored)
Better error message when lookup of getlogin() != uid
Revision 1.7 / (download) - annotate - [select for diffs], Thu Mar 27 00:30:53 1997 UTC (27 years, 2 months ago) by weingart
Branch: MAIN
Changes since 1.6: +8 -7 lines
Diff to previous 1.6 (colored) to selected 1.51 (colored)
Slight cleanup, more needed
Revision 1.6 / (download) - annotate - [select for diffs], Sun Feb 16 20:08:56 1997 UTC (27 years, 3 months ago) by provos
Branch: MAIN
Changes since 1.5: +7 -18 lines
Diff to previous 1.5 (colored) to selected 1.51 (colored)
cleaned up, moved pw_getconf to libutil, removed _'s in option names
Revision 1.5 / (download) - annotate - [select for diffs], Fri Feb 14 23:27:28 1997 UTC (27 years, 4 months ago) by provos
Branch: MAIN
Changes since 1.4: +5 -12 lines
Diff to previous 1.4 (colored) to selected 1.51 (colored)
include blowfish cipher - free config of which cipher to use
Revision 1.4 / (download) - annotate - [select for diffs], Mon Sep 30 01:54:48 1996 UTC (27 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE,
OPENBSD_2_0
Changes since 1.3: +8 -4 lines
Diff to previous 1.3 (colored) to selected 1.51 (colored)
If can't open temp file (and it doesn't already exist) give real error message.
Revision 1.3 / (download) - annotate - [select for diffs], Wed Jun 26 05:37:46 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored) to selected 1.51 (colored)
rcsid
Revision 1.2 / (download) - annotate - [select for diffs], Wed May 22 11:35:27 1996 UTC (28 years ago) by deraadt
Branch: MAIN
Changes since 1.1: +12 -4 lines
Diff to previous 1.1 (colored) to selected 1.51 (colored)
libutil
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:45:54 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.51 (colored)
initial import of NetBSD tree
Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:45:54 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN
Diff to selected 1.51 (colored)
Initial revision