openhub.net
Black Duck Software, Inc.
Black Duck Open Hub
Follow @
OH
Sign In
Join Now
Projects
People
Organizations
Tools
Blog
BDSA
Projects
People
Projects
Organizations
Forums
Shadow Tool Suite
Settings
|
Report Duplicate
0
I Use This!
×
Login Required
Log in to Open Hub
Remember Me
Moderate Activity
Commits
: Listings
Analyzed
about 21 hours
ago. based on code collected
2 days
ago.
May 16, 2023 — May 16, 2024
Showing page 111 of 116
Search / Filter on:
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.
nekral-guest
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.
nekral-guest
More...
over 16 years ago
svn propset svn:keywords Id
nekral-guest
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)
nekral-guest
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.
nekral-guest
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.
nekral-guest
More...
over 16 years ago
Remove chunk that should not have been committed.
nekral-guest
More...
over 16 years ago
Updated to 757t. Thanks to Yuri Kozlov <
[email protected]
>.
nekral-guest
More...
over 16 years ago
Updated to 399t. Thanks to Yuri Kozlov <
[email protected]
>.
nekral-guest
More...
over 16 years ago
Add support for conditionally including paragraphs. (e.g. to support the documentation of PAM and !PAM features).
nekral-guest
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).
nekral-guest
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.
nekral-guest
More...
over 16 years ago
Compile fix (related to last commit on src/chgpasswd.c).
nekral-guest
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.
nekral-guest
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.
nekral-guest
More...
over 16 years ago
Ignore the generated manpages. Add *.[1358] to the svn:ignore property.
nekral-guest
More...
over 16 years ago
New TODOs.
nekral-guest
More...
over 16 years ago
The -c, -e, and -m options are exclusives.
nekral-guest
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.
nekral-guest
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).
nekral-guest
More...
over 16 years ago
Fix typo s/method/crypt_method/
nekral-guest
More...
over 16 years ago
passwd also use crypt_make_salt().
nekral-guest
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.
nekral-guest
More...
over 16 years ago
Hopefully, I review my commits in the morning...
nekral-guest
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.
nekral-guest
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.
nekral-guest
More...
over 16 years ago
Fix typo introduced while merging RedHat patch shadow-4.0.18.1-sha256.patch.
nekral-guest
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.
nekral-guest
More...
over 16 years ago
All the manpages in de, fr, it, pl are auto-generated.
nekral-guest
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.
nekral-guest
More...
over 16 years ago
←
1
2
…
107
108
109
110
111
112
113
114
115
116
→
This site uses cookies to give you the best possible experience. By using the site, you consent to our use of cookies. For more information, please see our
Privacy Policy
Agree