0
I Use This!
Moderate Activity

Commits : Listings

Analyzed about 21 hours ago. based on code collected 2 days ago.
May 16, 2023 — May 16, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Document the variables used by chpasswd. The definitions are copied from login.defs. I should try to use a less error prone process for this. More... over 16 years ago
* Use <replaceable> for the values set by users. (was sometimes <emphasis remap='I'>) * Use <option> vor the variable names. This makes the manpage much more readable. * (ENCRYPT_METHOD, MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS, SHA_CRYPT_MAX_ROUNDS): Mention that command line option may supersede the system setting. * Document the variables used by chpasswd and chgpasswd. More... over 16 years ago
svn propset svn:keywords Id More... over 16 years ago
* NEWS, lib/getdef.c, man/login.defs.5.xml: New login.defs variable: MAX_MEMBERS_PER_GROUP. Used for the split groups support. * lib/commonio.c, lib/commonio.h: Add an open_hook and close_hook operation. They are called after the database is actually opened and parse, or before it is closed. * lib/groupio.c: Add an open_hook to merge split groups, and an close group to split groups if MAX_MEMBERS_PER_GROUP is set. This fixes gpasswd and chgpasswd when split groups are used. * lib/sgroupio.c, lib/shadowio.c, lib/pwio.c: No open or close hooks for these databases. (unsure about what should be the gshadow behavior for split groups) More... over 16 years ago
* NEWS, src/gpasswd.c: Read the group and shadow groups using gr_locate and sgr_locate. gpasswd write in the file database. Thus it should read information from the file database, not using getgrnam. The change to sgr_locate is just for consistency. This requires opening the group databases (read only) using gr_open/sgr_open. * NEWS: Indicate that manpages should be re-generated if configure option are changed, due to conditions. More... over 16 years ago
* configure.in: SHADOWGRP added to AM_CONDITIONAL for the generation of manpages. * man/generate_translations.mak: Added pam/no_pam condition (like in man/Makefile.am). * man/Makefile.am, man/generate_translations.mak: Added gshadow/no_gshadow condition. * man/gpasswd.1.xml: Use the gshadow/no_gshadow condition to change the manpage depending on the shadow group support. More... over 16 years ago
Remove chunk that should not have been committed. More... over 16 years ago
Updated to 757t. Thanks to Yuri Kozlov <[email protected]>. More... over 16 years ago
Updated to 399t. Thanks to Yuri Kozlov <[email protected]>. More... over 16 years ago
Add support for conditionally including paragraphs. (e.g. to support the documentation of PAM and !PAM features). More... over 16 years ago
* man/newusers.8.xml: Added /etc/gshadow, /etc/group, /etc/shadow, and /etc/passwd to section FILES. * man/newusers.8.xml: Mentions that PAM is not used to set the passwords. * man/chpasswd.8.xml: Added section FILES (/etc/passwd, /etc/shadow, /etc/login.defs). * man/chpasswd.8.xml: Use the same paragraph as in newusers.8.xml to indicate that PAM is not used. * man/chgpasswd.8.xml: Added section FILES (/etc/group, /etc/gshadow, /etc/login.defs). More... over 16 years ago
* Try harder to get the GID equal to the UID. This was not the case when the GID is not specified, and a GID exist with an ID higher than the all the UIDs. * Typo in comment: contrained -> constrained. More... over 16 years ago
Compile fix (related to last commit on src/chgpasswd.c). More... over 16 years ago
If the shadow group file is not present, do not try to locate the group entry from /etc/gshadow, and set the password in /etc/group. More... over 16 years ago
* libmisc/obscure.c, libmisc/salt.c, src/passwd.c: Match DES, MD5, SHA256, and SHA512 exactly (not only the first 3/6 chars). * libmisc/salt.c (SHA_salt_rounds): Set rounds to the specified prefered_rounds value, if specified. * src/gpasswd.c, libmisc/salt.c: Fix compilation warnings (use size_t for lengths). * src/chpasswd.c, src/chgpasswd.c: Add missing parenthesis. More... over 16 years ago
Ignore the generated manpages. Add *.[1358] to the svn:ignore property. More... over 16 years ago
New TODOs. More... over 16 years ago
The -c, -e, and -m options are exclusives. More... over 16 years ago
* man/chpasswd.8.xml, man/chgpasswd.8.xml: Document how the encryption algorithm is chosen for the passwords. Document the new -c and -s options. Add a reference to login.defs(5). * man/login.defs.5.xml: Document the ENCRYPT_METHOD, MD5_CRYPT_ENAB, SHA_CRYPT_MIN_ROUNDS, and SHA_CRYPT_MAX_ROUNDS variables. * etc/login.defs: Indicate that MD5_CRYPT_ENAB is deprecated. Document the relationship with PAM for MD5_CRYPT_ENAB and ENCRYPT_METHOD. More... over 16 years ago
Increase the size of crypt_passwd from 128 to 256 to avoid overflow in case of SHA512 (161 should be sufficient). More... over 16 years ago
Fix typo s/method/crypt_method/ More... over 16 years ago
passwd also use crypt_make_salt(). More... over 16 years ago
* lib/prototypes.h, libmisc/salt.c: Add parameters to crypt_make_salt to force the crypt method and number of rounds. * libmisc/salt.c: Add parameter to SHA_salt_rounds to force the number of rounds. * libmisc/salt.c, lib/getdef.c: ENCRYPT_METHOD and MD5_CRYPT_ENAB are needed also when USE_PAM (e.g. for chpasswd). * src/newusers.c, src/gpasswd.c: Use the new crypt_make_salt prototype. * src/chpasswd.c, src/chgpasswd.c: Add option -c, --crypt-method and -s, --sha-rounds to specify the crypt method and number of rounds in case of one of the SHA methods. The new prototype of crypt_make_salt simplifies the handling of -m, --md5. More... over 16 years ago
Hopefully, I review my commits in the morning... More... over 16 years ago
* libmisc/salt.c: The salt has a random size (between 8 and 16 bytes). * lib/getdef.c, etc/login.defs: Add definitions for SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS. * libmisc/salt.c: Use SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS to add a random number of rounds if needed. More... over 16 years ago
* libmisc/salt.c (MAGNUM): Terminate the array with nul (the array is then used with strcat). * libmisc/salt.c (crypt_make_salt): Initialize result[0] to nul at the beginning (was not initialized when USE_PAM). * libmisc/salt.c (crypt_make_salt): Check that ENCRYPT_METHOD is a valid crypt method. More... over 16 years ago
Fix typo introduced while merging RedHat patch shadow-4.0.18.1-sha256.patch. More... over 16 years ago
Add support for SHA256 and SHA512 encrypt methods. Apply RedHat's patch shadow-4.0.18.1-sha256.patch. Thanks to Peter Vrabec. Hardly no changes except re-indent and changes related to recent modifications (max_salt_len in crypt_make_salt). Changes in lib/defines.h not applied (definition of ENCRYPTMETHOD_SELECT). I will add a configure check or flag. More... over 16 years ago
All the manpages in de, fr, it, pl are auto-generated. More... over 16 years ago
Fix some compilation warnings: * src/login.c: "dereferencing type-punned pointer will break strict-aliasing rules", add a variable indirection: ptr_pam_user. * lib/commonio.c: do not initialize the sb stat structure. * lib/pwio.c, lib/shadowio.c, lib/sgroupio.c, lib/groupio.c: initialize the security context if WITH_SELINUX. * lib/nscd.c: The service argument is not const (used in the exec* parameters). This matches with the prototype definition. * src/groupmems.c: Avoid ++i when i is also used in the same line. * src/newusers.c: i is positive every time it is compared. Add cast to unsigned int. * src/nologin.c: Use a main() prototype with no arguments. * libmisc/getdate.y: Initialize the type and value fields of the terminating entry for each TABLE. * libmisc/tz.c: Use "TZ=CST6CDT" as the default timezone. More... over 16 years ago