tonnerre
c08078c2c3
Restore the good old UNIX behavior of root password changing: only root
...
may change the root password.
(Checked that everybody else's password can be changed without any problem,
and checked that root can still change the root password.)
2009-06-14 23:23:54 +00:00
lukem
ee7c6ab326
sign-compare fixes
2009-01-26 04:01:14 +00:00
mrg
fc9a1e8a64
use LIBDPLIBS+= not =.
2008-10-27 07:57:41 +00:00
mrg
6b767a6846
don't set LIBDPLIBS in libpam/modules/Makefile - it is not necessary
...
and it interferes with the compat lib build. don't use LIB_ROOT_DIR.
2008-10-27 07:48:27 +00:00
jnemeth
74cf788741
PR/30730 force changing password via chsh fails
...
PR/33502 password aging not working
copy old_pwd to new_pwd before modifying
2006-05-30 19:48:07 +00:00
jnemeth
f358706242
Fix Coverity run 5, issue 2498 -- uninitialized variable
...
Fix Coverity run 5, issue 707 -- unreachable code
Approved by Christos.
2006-03-18 10:06:16 +00:00
lukem
01cf9d0263
Safety boots: don't depend upon getpwnam_r() to set pwd to NULL on all
...
failures, especially if we're going to ignore the return result.
2005-04-19 03:40:16 +00:00
christos
2a62e4e1ad
check for pwd != in getpw*_r functions.
2005-04-19 03:15:34 +00:00
thorpej
59cbc9e205
Use getpwnam_r().
2005-03-31 15:11:54 +00:00
christos
99186ebfc8
Clear the authorization token at the entry of each loop, so that
...
we get a chance to re-enter.
2005-03-17 01:13:59 +00:00
thorpej
4251f117ba
Merge PAM20050226.
2005-02-26 15:57:57 +00:00
wiz
cbc550d45c
Drop trailing whitespace.
2005-02-26 15:39:50 +00:00
wiz
9b82a3d7c1
Bump date for previous.
2005-02-26 15:39:23 +00:00
thorpej
28836513c3
Remove references to local_pass and nis_pass. Add description of
...
passwd_db option of the password management module.
2005-02-26 15:33:24 +00:00
thorpej
2f6bdc4a7b
Minor wording consistency nit.
2005-02-26 15:11:26 +00:00
thorpej
0a40f744b4
Make sure to set yppwd.oldpass.
2005-02-26 02:57:32 +00:00
wiz
9086769d81
Fix Xref.
2005-02-20 19:39:09 +00:00
christos
c9cb0c3bbd
adapt to pw_gensalt() change.
2005-01-12 03:36:12 +00:00
christos
1a791fa81d
eliminate the third copy of pwd_gensalt.
2005-01-11 23:23:33 +00:00
lukem
157353df26
Set NOxxx before including <bsd.own.mk>; we can't rely upon ../mod.mk
...
in this situation.
2005-01-03 06:15:02 +00:00
lukem
178fb7b023
Use LIBDPLIBS to provide the list of libraries for the modules to depend
...
upon, because:
* it's MUCH quicker; no need to calculate the OBJDIRS of every library
we might require in every subdir.
(make obj drops from 21s to 3s on my system.)
* it's more robust when building to a fresh DESTDIR.
2004-12-29 15:04:06 +00:00
christos
bfc0dd3a06
Link with libraries from the source build directory.
2004-12-29 04:16:17 +00:00
christos
e7d22a2e64
- NetBSD build glue
...
- Warning fixes
- RCSID's
2004-12-12 08:18:42 +00:00
christos
bb62ec41f1
- NetBSD specific fixes.
...
- Changes from Jason to use our YP stuff.
2004-12-12 08:17:56 +00:00
christos
6f11bdf15c
- Import freebsd's version of libpam as of today (20041212).
...
- Did not import opie, passwdqc, tacplus. We need to decide what to do
with them.
- Imported radius and ssh, although they will not work until we
import libradius and re-structure our tree to install libssh.
2004-12-12 06:45:21 +00:00