]> granicus.if.org Git - shadow/log
shadow
15 years agore-indent.
nekral-guest [Fri, 22 May 2009 13:32:26 +0000 (13:32 +0000)]
re-indent.

15 years ago * man/po/fr.po: Updated some strings.
nekral-guest [Fri, 22 May 2009 13:31:18 +0000 (13:31 +0000)]
* man/po/fr.po: Updated some strings.

15 years ago * NEWS, src/newgrp.c: Return the exit status of the child. Thanks
nekral-guest [Fri, 22 May 2009 11:10:02 +0000 (11:10 +0000)]
* NEWS, src/newgrp.c: Return the exit status of the child. Thanks
to Lionel Elie Mamane.

15 years ago * NEWS, src/newgrp.c: Return the exit status of the child. Thanks
nekral-guest [Fri, 22 May 2009 11:08:46 +0000 (11:08 +0000)]
* NEWS, src/newgrp.c: Return the exit status of the child. Thanks
to Lionel Elie Mamane.

15 years ago * src/usermod.c: Added warnings for absolute symlinks which could
nekral-guest [Fri, 22 May 2009 10:42:51 +0000 (10:42 +0000)]
* src/usermod.c: Added warnings for absolute symlinks which could
be broken by rename().

15 years ago * NEWS, src/userdel.c: Report errors to remove the user's mailbox.
nekral-guest [Fri, 22 May 2009 10:41:10 +0000 (10:41 +0000)]
* NEWS, src/userdel.c: Report errors to remove the user's mailbox.
* NEWS, src/userdel.c: When USERGROUPS_ENAB is enabled, remove the
user's group when the user was the only member. This is still not
complete, as the user could have been specified twice in the
members.
* NEWS, src/userdel.c: Do not fail when -r is used and the home
directory does not exist.

15 years ago * libmisc/copydir.c: Added warning for relative symlinks.
nekral-guest [Fri, 22 May 2009 10:16:12 +0000 (10:16 +0000)]
* libmisc/copydir.c: Added warning for relative symlinks.
* libmisc/copydir.c (remove_tree): There is no need to check if
the root argument exist. opendir() will report this.

15 years ago * man/faillog.8.xml: Minor updates.
nekral-guest [Thu, 21 May 2009 14:04:53 +0000 (14:04 +0000)]
* man/faillog.8.xml: Minor updates.

15 years ago * man/faillog.5.xml: Split a long paragraph. Typo fixes.
nekral-guest [Thu, 21 May 2009 14:01:16 +0000 (14:01 +0000)]
* man/faillog.5.xml: Split a long paragraph. Typo fixes.

15 years ago * man/gpasswd.1.xml: Minor updates.
nekral-guest [Thu, 21 May 2009 13:54:45 +0000 (13:54 +0000)]
* man/gpasswd.1.xml: Minor updates.

15 years ago * man/gshadow.5.xml: Updated documentation.
nekral-guest [Thu, 21 May 2009 13:53:56 +0000 (13:53 +0000)]
* man/gshadow.5.xml: Updated documentation.

15 years ago * man/usermod.8.xml, man/userdel.8.xml, man/useradd.8.xml:
nekral-guest [Thu, 21 May 2009 12:02:12 +0000 (12:02 +0000)]
* man/usermod.8.xml, man/userdel.8.xml, man/useradd.8.xml:
Harmonize formatting of login.defs and default/useradd variables.
Use an <option> tag.
* man/usermod.8.xml: Added reference to gshadow(5).
* man/login.defs.d/USERDEL_CMD.xml: Shorten the lines of the
USERDEL_CMD example.

15 years ago * src/su.c: Use a boolean instead of 0.
nekral-guest [Thu, 21 May 2009 11:58:59 +0000 (11:58 +0000)]
* src/su.c: Use a boolean instead of 0.

15 years agomsgcat + leave Jean-Luc as translator
bubulle [Wed, 20 May 2009 05:40:31 +0000 (05:40 +0000)]
msgcat + leave Jean-Luc as translator

15 years agoFrench translation update
bubulle [Wed, 20 May 2009 05:39:40 +0000 (05:39 +0000)]
French translation update

15 years ago * man/usermod.8.xml: Fixed typos.
nekral-guest [Tue, 19 May 2009 22:28:34 +0000 (22:28 +0000)]
* man/usermod.8.xml: Fixed typos.

15 years ago * configure.in: Next version will be 4.1.4.1.
nekral-guest [Tue, 19 May 2009 22:19:41 +0000 (22:19 +0000)]
* configure.in: Next version will be 4.1.4.1.

15 years ago * man/newusers.8.xml: Added notes regarding the ownership of
nekral-guest [Tue, 19 May 2009 22:17:55 +0000 (22:17 +0000)]
* man/newusers.8.xml: Added notes regarding the ownership of
files.

15 years agoAdded FIXMEs.
nekral-guest [Tue, 19 May 2009 22:12:27 +0000 (22:12 +0000)]
Added FIXMEs.

15 years ago * man/groupmod.8.xml: Split the -g option description into smaller
nekral-guest [Tue, 19 May 2009 22:00:14 +0000 (22:00 +0000)]
* man/groupmod.8.xml: Split the -g option description into smaller
paragraphs.

15 years ago * man/usermod.8.xml: Ownership of the mailbox is also changed with
nekral-guest [Tue, 19 May 2009 21:57:04 +0000 (21:57 +0000)]
* man/usermod.8.xml: Ownership of the mailbox is also changed with
the -u option.

15 years ago * man/useradd.8.xml: When no passwords are provided, the password
nekral-guest [Tue, 19 May 2009 21:37:53 +0000 (21:37 +0000)]
* man/useradd.8.xml: When no passwords are provided, the password
is disabled, not the account.

15 years ago * man/newusers.8.xml, man/chpasswd.8.xml, man/useradd.8.xml,
nekral-guest [Tue, 19 May 2009 21:29:26 +0000 (21:29 +0000)]
* man/newusers.8.xml, man/chpasswd.8.xml, man/useradd.8.xml,
man/groupadd.8.xml, man/usermod.8.xml, man/chgpasswd.8.xml,
man/groupmod.8.xml: Added warning: passwords set with these tools
may not respect the password policy.

15 years ago * man/groupadd.8.xml: Fixed formatting issue.
nekral-guest [Tue, 19 May 2009 20:32:48 +0000 (20:32 +0000)]
* man/groupadd.8.xml: Fixed formatting issue.

15 years ago * man/groupdel.8.xml: Move the warning on filesystems checks to
nekral-guest [Tue, 19 May 2009 20:31:45 +0000 (20:31 +0000)]
* man/groupdel.8.xml: Move the warning on filesystems checks to
the CAVEAT section.

15 years agoThis was meant for the previous man/userdel.8.xml commit:
nekral-guest [Tue, 19 May 2009 20:31:02 +0000 (20:31 +0000)]
This was meant for the previous man/userdel.8.xml commit:
* man/userdel.8.xml: Added warning for files that could remain
owner by the removed user.

15 years ago * man/useradd.8.xml: Fix formatting typo.
nekral-guest [Tue, 19 May 2009 20:26:56 +0000 (20:26 +0000)]
* man/useradd.8.xml: Fix formatting typo.

15 years ago * man/groupdel.8.xml: Move the warning on filesystems checks to
nekral-guest [Tue, 19 May 2009 20:26:28 +0000 (20:26 +0000)]
* man/groupdel.8.xml: Move the warning on filesystems checks to
the CAVEAT section.

15 years agoAdded missing return value.
nekral-guest [Mon, 18 May 2009 22:46:13 +0000 (22:46 +0000)]
Added missing return value.

15 years ago * man/login.defs.d/GID_MAX.xml: Fixed typo. useradd was specified
nekral-guest [Mon, 18 May 2009 22:45:39 +0000 (22:45 +0000)]
* man/login.defs.d/GID_MAX.xml: Fixed typo. useradd was specified
twice.

15 years ago * man/groupadd.8.xml, man/useradd.8.xml: names may also contain
nekral-guest [Mon, 18 May 2009 22:43:59 +0000 (22:43 +0000)]
* man/groupadd.8.xml, man/useradd.8.xml: names may also contain
digits.

15 years ago * man/shadow.5.xml: What is important in shadow is not the
nekral-guest [Mon, 18 May 2009 22:40:57 +0000 (22:40 +0000)]
* man/shadow.5.xml: What is important in shadow is not the
encryption, but that the file is not world readable.

15 years ago * man/po/fr.po: Updated French translation. Thanks to ABBAS
nekral-guest [Mon, 18 May 2009 22:39:48 +0000 (22:39 +0000)]
* man/po/fr.po: Updated French translation. Thanks to ABBAS
Belkacem for the login.defs update.

15 years ago * man/usermod.8.xml: Split the CAVEAT section in paragraphs.
nekral-guest [Mon, 18 May 2009 19:18:29 +0000 (19:18 +0000)]
* man/usermod.8.xml: Split the CAVEAT section in paragraphs.
Updated information on the user_busy check.

15 years ago * man/userdel.8.xml: Document that -f forces the deletion of a
nekral-guest [Mon, 18 May 2009 18:53:23 +0000 (18:53 +0000)]
* man/userdel.8.xml: Document that -f forces the deletion of a
busy user.

15 years ago * NEWS, src/usermod.c: Check if the user is busy when the user's
nekral-guest [Mon, 18 May 2009 18:37:16 +0000 (18:37 +0000)]
* NEWS, src/usermod.c: Check if the user is busy when the user's
UID, name or home directory is changed.

15 years ago * src/userdel.c, libmisc/user_busy.c, libmisc/Makefile.am,
nekral-guest [Mon, 18 May 2009 18:32:17 +0000 (18:32 +0000)]
* src/userdel.c, libmisc/user_busy.c, libmisc/Makefile.am,
lib/prototypes.h: Move user_busy() to libmisc/user_busy.c.
* NEWS, libmisc/user_busy.c: On Linux, do not check if an user is
logged in with utmp, but check if the user is running some
processes. If not on Linux, continue to search for an utmp record,
but make sure the process recorded in the utmp entry is still
running.

15 years ago * man/usermod.8.xml: Document the -m/--move-home option.
nekral-guest [Mon, 18 May 2009 18:28:06 +0000 (18:28 +0000)]
* man/usermod.8.xml: Document the -m/--move-home option.

15 years ago * src/userdel.c (user_busy): Check if the process registered in
nekral-guest [Sun, 17 May 2009 16:27:29 +0000 (16:27 +0000)]
* src/userdel.c (user_busy): Check if the process registered in
utmp is still running. This avoids rejecting the removal of an
user when UTMP was not updated and indicate that the user is still
logged in.

15 years agore-indent.
nekral-guest [Sun, 17 May 2009 16:02:35 +0000 (16:02 +0000)]
re-indent.

15 years agoDocument the changes in 4.1.4.1:
nekral-guest [Sat, 16 May 2009 18:27:13 +0000 (18:27 +0000)]
Document the changes in 4.1.4.1:
- login
  * Fix failures with empty usernames on non PAM versions.
  * Fix CONSOLE (securetty) support on non PAM versions.

15 years ago * libmisc/console.c (console): Remove the leading /dev/ from the
nekral-guest [Sat, 16 May 2009 18:19:24 +0000 (18:19 +0000)]
* libmisc/console.c (console): Remove the leading /dev/ from the
tty before comparing with the lines specified by CONSOLE.
* src/su.c: Do not remove the /dev/ prefix since it is done by
console().

15 years ago * man/login.defs.d/CONSOLE.xml: Document the format of the CONSOLE
nekral-guest [Sat, 16 May 2009 17:08:44 +0000 (17:08 +0000)]
* man/login.defs.d/CONSOLE.xml: Document the format of the CONSOLE
file.

15 years ago * src/login.c: Fix failure of non PAM enabled versions when an
nekral-guest [Sat, 16 May 2009 15:43:13 +0000 (15:43 +0000)]
* src/login.c: Fix failure of non PAM enabled versions when an
empty username is entered after a first prompt.

15 years ago * src/passwd.c: Added missing end of line at the end of success
nekral-guest [Sat, 16 May 2009 15:39:01 +0000 (15:39 +0000)]
* src/passwd.c: Added missing end of line at the end of success
messages.

15 years ago * po/fr.po: Fixed typo in the vipw usage string.
nekral-guest [Sat, 16 May 2009 15:38:00 +0000 (15:38 +0000)]
* po/fr.po: Fixed typo in the vipw usage string.

15 years ago * libmisc/shell.c: Removed invalid code that executed the user's
nekral-guest [Tue, 12 May 2009 20:01:41 +0000 (20:01 +0000)]
* libmisc/shell.c: Removed invalid code that executed the user's
shell as a shell script when the direct execution of the user's
shell failed with ENOEXEC and the user's shell has a shebang. The
interpreter might not be the right one.  Executing the user's
shell with sh -c might be better, but I'm not sure we should try
harder when there is a failure. Note: The removed code was only
included #ifndef __linux__.

15 years ago * man/userdel.8.xml: The USERGROUPS_ENAB group may not be removed
nekral-guest [Tue, 12 May 2009 19:25:26 +0000 (19:25 +0000)]
* man/userdel.8.xml: The USERGROUPS_ENAB group may not be removed
when the group is used by other users, not the user.

15 years ago * src/userdel.c, man/login.defs.d/USERDEL_CMD.xml: Move the
nekral-guest [Tue, 12 May 2009 19:23:46 +0000 (19:23 +0000)]
* src/userdel.c, man/login.defs.d/USERDEL_CMD.xml: Move the
USERDEL_CMD script example from the source code to the
documentation.

15 years ago * man/newusers.8.xml: PAM enabled version: describe how passwords
nekral-guest [Mon, 11 May 2009 19:29:38 +0000 (19:29 +0000)]
* man/newusers.8.xml: PAM enabled version: describe how passwords
are updated and how newusers behave in case of error.

15 years ago * NEWS, configure.in: New release will be 4.1.4.
nekral-guest [Sun, 10 May 2009 20:02:21 +0000 (20:02 +0000)]
* NEWS, configure.in: New release will be 4.1.4.
* po/shadow.pot, man/po/shadow-man-pages.pot: Regenerated.
* po/*.po, man/po/*.po: Updated PO files.

15 years agoFix compilation warnings.
nekral-guest [Sun, 10 May 2009 18:26:33 +0000 (18:26 +0000)]
Fix compilation warnings.

15 years ago * libmisc/copydir.c: Added prototype of readlink_malloc(), and
nekral-guest [Sun, 10 May 2009 18:21:58 +0000 (18:21 +0000)]
* libmisc/copydir.c: Added prototype of readlink_malloc(), and
readlink_malloc() changed to static.

15 years ago * src/su.c: Avoid redeclaration of root_pw.
nekral-guest [Sun, 10 May 2009 18:20:41 +0000 (18:20 +0000)]
* src/su.c: Avoid redeclaration of root_pw.

15 years agoAdded Changelog and NEWS entry for the French and Japanese translations.
nekral-guest [Sun, 10 May 2009 17:10:44 +0000 (17:10 +0000)]
Added Changelog and NEWS entry for the French and Japanese translations.

15 years agoFrench translation update
bubulle [Sun, 10 May 2009 16:42:43 +0000 (16:42 +0000)]
French translation update

15 years agoJapanese translation received directly from NAKANO Takeo
bubulle [Sun, 10 May 2009 16:42:17 +0000 (16:42 +0000)]
Japanese translation received directly from NAKANO Takeo

15 years ago * lib/commonio.c: Avoid PATH_MAX. On glibc, we can use realpath
nekral-guest [Sun, 10 May 2009 13:49:03 +0000 (13:49 +0000)]
* lib/commonio.c: Avoid PATH_MAX. On glibc, we can use realpath
with a NULL argument.
* src/useradd.c: Replace PATH_MAX by a fixed constant. The buffer
was not meant as a storage for a path.
* src/useradd.c, src/newusers.c, src/chpasswd.c: Better detection
of fgets errors. Lines shall end with a \n, unless we reached the
end of file.
* libmisc/copydir.c: Avoid PATH_MAX. Support file paths with any
length. Added readlink_malloc().

15 years ago * src/pwck.c: Warn if an user has an entry in passwd and shadow,
nekral-guest [Sat, 9 May 2009 21:20:54 +0000 (21:20 +0000)]
* src/pwck.c: Warn if an user has an entry in passwd and shadow,
and the password field in passwd is not 'x'.
* src/grpck.c: Warn if a group has an entry in group and gshadow,
and the password field in group is not 'x'.

15 years agoFix typo.
nekral-guest [Sat, 9 May 2009 13:38:51 +0000 (13:38 +0000)]
Fix typo.

15 years agoAdded notes about updated translations.
nekral-guest [Sat, 9 May 2009 13:16:17 +0000 (13:16 +0000)]
Added notes about updated translations.

15 years ago * man/login.defs.d/ENCRYPT_METHOD.xml,
nekral-guest [Sat, 9 May 2009 13:16:10 +0000 (13:16 +0000)]
* man/login.defs.d/ENCRYPT_METHOD.xml,
man/login.defs.d/MD5_CRYPT_ENAB.xml,
man/login.defs.d/SHA_CRYPT_MIN_ROUNDS.xml: Updated note for PAM
enabled versions. These variables are only used for group
passwords in this case.

15 years ago * man/chpasswd.8.xml: Sorted options alphabetically.
nekral-guest [Sat, 9 May 2009 13:16:03 +0000 (13:16 +0000)]
* man/chpasswd.8.xml: Sorted options alphabetically.

15 years ago * NEWS, src/newusers.c, src/Makefile.am: Added support for
nekral-guest [Sat, 9 May 2009 13:15:57 +0000 (13:15 +0000)]
* NEWS, src/newusers.c, src/Makefile.am: Added support for
changing the passwords with PAM.
* src/newusers.c: Split the usage string in smaller parts to
allow enabling single parts.
* man/newusers.8.xml: Indicate the options and configuration
variables valid for PAM and non-PAM versions.
* man/newusers.8.xml: Added pointer to /etc/pam.d/chpasswd.

15 years agoSort entries alphabetically.
nekral-guest [Sat, 9 May 2009 13:15:51 +0000 (13:15 +0000)]
Sort entries alphabetically.

15 years ago * src/userdel.c: Remove duplicate definitions of exit codes.
nekral-guest [Sat, 9 May 2009 13:15:44 +0000 (13:15 +0000)]
* src/userdel.c: Remove duplicate definitions of exit codes.

15 years agoFix typos.
nekral-guest [Sat, 9 May 2009 13:15:38 +0000 (13:15 +0000)]
Fix typos.

15 years agoFix typo.
nekral-guest [Sat, 9 May 2009 13:15:32 +0000 (13:15 +0000)]
Fix typo.

15 years ago * libmisc/non_interactive_pam_conv.c,
nekral-guest [Sat, 9 May 2009 13:15:25 +0000 (13:15 +0000)]
* libmisc/non_interactive_pam_conv.c,
libmisc/pam_pass_non_interractive.c, libmisc/Makefile.am: Renamed.
* libmisc/pam_pass_non_interractive.c, lib/prototypes.h:
non_interactive_password and non_interactive_pam_conv do not need
to be externally visible.
* libmisc/pam_pass_non_interractive.c: Added declaration of
ni_conv.
* libmisc/pam_pass_non_interractive.c: Only compile ifdef USE_PAM.
* libmisc/pam_pass_non_interractive.c, lib/prototypes.h:
Added do_pam_passwd_non_interractive().
* src/chpasswd.c: Use do_pam_passwd_non_interractive().

15 years ago * libmisc/pam_pass.c: Removed comment regarding pam_misc. This is
nekral-guest [Sat, 9 May 2009 13:15:17 +0000 (13:15 +0000)]
* libmisc/pam_pass.c: Removed comment regarding pam_misc. This is
checked by configure.in.

15 years ago * man/login.defs.5.xml: PAM enabled chpasswd do not use any
nekral-guest [Sat, 9 May 2009 13:15:10 +0000 (13:15 +0000)]
* man/login.defs.5.xml: PAM enabled chpasswd do not use any
configuration variable from login.defs.

15 years ago * man/passwd.1.xml: Differentiate the files used for PAM and
nekral-guest [Sat, 9 May 2009 13:15:03 +0000 (13:15 +0000)]
* man/passwd.1.xml: Differentiate the files used for PAM and
non-PAM versions.

15 years ago * man/chpasswd.8.xml: Describe how chpasswd in case of error.
nekral-guest [Sat, 9 May 2009 13:14:56 +0000 (13:14 +0000)]
* man/chpasswd.8.xml: Describe how chpasswd in case of error.
* man/chpasswd.8.xml: Describe the PAM enabled chpasswd behavior.
* man/chpasswd.8.xml: Differentiate the files and configurations
needed for PAM and non PAM versions.

15 years ago * src/login.c: failcount does not need to be signed.
nekral-guest [Sat, 9 May 2009 13:14:50 +0000 (13:14 +0000)]
* src/login.c: failcount does not need to be signed.

15 years ago * src/Makefile.am: PAM enabled chpasswd now needs to be linked to
nekral-guest [Sat, 9 May 2009 13:14:44 +0000 (13:14 +0000)]
* src/Makefile.am: PAM enabled chpasswd now needs to be linked to
the PAM library, even if --enable-account-tools-setuid is not
used.

15 years ago * src/chpasswd.c: Added the line number when an error is reported
nekral-guest [Sat, 9 May 2009 13:14:37 +0000 (13:14 +0000)]
* src/chpasswd.c: Added the line number when an error is reported
instead of only the username.
* src/chpasswd.c: PAM enabled chpasswd do may change the password
database (for the user where the password update succeeded) even
if there were a failure for one user. Do not indicate that changes
were ignored.

15 years ago * src/passwd.c: Exit immediately when unlocking a password would
nekral-guest [Sat, 9 May 2009 13:14:31 +0000 (13:14 +0000)]
* src/passwd.c: Exit immediately when unlocking a password would
result in a passwordless account. This avoid printing a success
message after the warning.

15 years ago * src/nologin.c: Include <stdlib.h> to get EXIT_FAILURE.
nekral-guest [Sat, 9 May 2009 13:14:23 +0000 (13:14 +0000)]
* src/nologin.c: Include <stdlib.h> to get EXIT_FAILURE.

15 years agoRussian completed
bubulle [Sat, 9 May 2009 05:57:18 +0000 (05:57 +0000)]
Russian completed

15 years agoRussian translation update
bubulle [Fri, 8 May 2009 17:22:15 +0000 (17:22 +0000)]
Russian translation update

15 years agoCompleted German translation
bubulle [Fri, 8 May 2009 17:19:15 +0000 (17:19 +0000)]
Completed German translation

15 years agoGerman translation update
bubulle [Thu, 7 May 2009 17:48:51 +0000 (17:48 +0000)]
German translation update

15 years ago * NEWS, configure.in: Fix build failure on non-PAM enabled system
nekral-guest [Sun, 3 May 2009 22:46:26 +0000 (22:46 +0000)]
* NEWS, configure.in: Fix build failure on non-PAM enabled system
when --without-pam is not specified.

15 years ago * lib/commonio.c: Ignore teh return values of fclose() and
nekral-guest [Thu, 30 Apr 2009 21:53:54 +0000 (21:53 +0000)]
* lib/commonio.c: Ignore teh return values of fclose() and
unlink() in case of failure of fopen_set_perms() or
create_backup().
* lib/commonio.c: Should the backup file be unlink'ed in case of
failure of create_backup()?

15 years ago * lib/getulong.c: Added splint annotations.
nekral-guest [Thu, 30 Apr 2009 21:44:35 +0000 (21:44 +0000)]
* lib/getulong.c: Added splint annotations.

15 years ago * src/newgrp.c, src/chfn.c, src/groupmems.c, src/usermod.c,
nekral-guest [Thu, 30 Apr 2009 21:39:38 +0000 (21:39 +0000)]
* src/newgrp.c, src/chfn.c, src/groupmems.c, src/usermod.c,
src/userdel.c, src/chpasswd.c, src/grpck.c, src/gpasswd.c,
src/groupdel.c, src/chgpasswd.c, src/vipw.c, src/useradd.c,
src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c,
src/groupadd.c, src/chage.c, src/login.c, src/faillog.c,
src/sulogin.c, src/chsh.c, src/pwconv.c: Added splint annotations.
* src/userdel.c, src/pwconv.c, src/lastlog.c, src/grpck.c,
src/vipw.c, src/groupmod.c, src/passwd.c, src/pwck.c, src/login.c,
src/sulogin.c, src/usermod.c: Use return instead of exit at the
end of main().
* src/gpasswd.c, src/passwd.c, src/faillog.c: Use the exitcodes.h
exit codes.
* src/chpasswd.c: Added missing ||.
* src/nologin.c: Do not include exitcodes.h.
* src/nologin.c: Added brackets.
* src/nologin.c: Avoid assignments in comparisons.

15 years ago * libmisc/getgr_nam_gid.c, lib/get_gid.c, lib/get_pid.c,
nekral-guest [Thu, 30 Apr 2009 21:12:33 +0000 (21:12 +0000)]
* libmisc/getgr_nam_gid.c, lib/get_gid.c, lib/get_pid.c,
lib/get_uid.c: Added splint annotations.

15 years ago * lib/exitcodes.h: Define E_SUCCESS as EXIT_SUCCESS. Added FIXMEs.
nekral-guest [Thu, 30 Apr 2009 21:08:49 +0000 (21:08 +0000)]
* lib/exitcodes.h: Define E_SUCCESS as EXIT_SUCCESS. Added FIXMEs.
* libmisc/chowntty.c, libmisc/rlogin.c, libmisc/sub.c,
src/newusers.c, libmisc/sulog.c, libmisc/system.c, src/logoutd.c,
src/groups.c, src/id.c, lib/encrypt.c, libmisc/audit_help.c,
libmisc/limits.c: Return EXIT_FAILURE instead of 1, and
EXIT_SUCCESS instead of 0.
* libmisc/audit_help.c: Replace an fprintf() by fputs().
* libmisc/audit_help.c: Remove documentation of the audit_logger
returned values. The function returns void.
* libmisc/system.c: Only return status if waitpid succeeded.
Return -1 otherwise.

15 years agoFix some splint warnings.
nekral-guest [Tue, 28 Apr 2009 22:01:20 +0000 (22:01 +0000)]
Fix some splint warnings.
Rmove debug code.

15 years agoRestore string.
nekral-guest [Tue, 28 Apr 2009 21:46:06 +0000 (21:46 +0000)]
Restore string.

15 years ago * NEWS, src/chpasswd.c: Added support for changing the passwords
nekral-guest [Tue, 28 Apr 2009 21:45:38 +0000 (21:45 +0000)]
* NEWS, src/chpasswd.c: Added support for changing the passwords
with PAM.
* src/chpasswd.c: Split the usage string in smaller parts to
allows enabling single parts.
* src/chpasswd.c: Do not set a global lock on the password files.
This is done by PAM each time a password is updated.

15 years ago * lib/defines.h: Include <utmpx.h> and <utmp.h> to define
nekral-guest [Tue, 28 Apr 2009 21:01:20 +0000 (21:01 +0000)]
* lib/defines.h: Include <utmpx.h> and <utmp.h> to define
USER_NAME_MAX_LENGTH.

15 years ago * src/login.c: Change a snprintf() to strncpy(). There are no
nekral-guest [Tue, 28 Apr 2009 20:59:31 +0000 (20:59 +0000)]
* src/login.c: Change a snprintf() to strncpy(). There are no
format.

15 years agoRe-indent, reformat #ifndef blocks.
nekral-guest [Tue, 28 Apr 2009 20:55:10 +0000 (20:55 +0000)]
Re-indent, reformat #ifndef blocks.

15 years ago * src/passwd.c: Harmonize status report at the end of passwd.
nekral-guest [Tue, 28 Apr 2009 20:46:35 +0000 (20:46 +0000)]
* src/passwd.c: Harmonize status report at the end of passwd.
Prefix the messages with "passwd: ", only indicate a password
change if the password was actually changed, and password
properties changed otherwise.

15 years ago * src/chgpasswd.c, src/newusers.c: There is no need to test for 0
nekral-guest [Tue, 28 Apr 2009 20:10:18 +0000 (20:10 +0000)]
* src/chgpasswd.c, src/newusers.c: There is no need to test for 0
after getopt_long. No options have flag != NULL.

15 years ago * src/newusers.c: There is no need to test for 0 after
nekral-guest [Tue, 28 Apr 2009 20:08:30 +0000 (20:08 +0000)]
* src/newusers.c: There is no need to test for 0 after
getopt_long. No options have flag != NULL.

15 years ago * libmisc/Makefile.am, lib/prototypes.h,
nekral-guest [Tue, 28 Apr 2009 20:07:24 +0000 (20:07 +0000)]
* libmisc/Makefile.am, lib/prototypes.h,
libmisc/non_interactive_pam_conv.c: Added
non_interactive_pam_conv() and non_interactive_password.

15 years ago * lib/prototypes.h: Replace #if by #ifdef
nekral-guest [Tue, 28 Apr 2009 20:06:46 +0000 (20:06 +0000)]
* lib/prototypes.h: Replace #if by #ifdef
* lib/prototypes.h, libmisc/non_interactive_pam_conv.c: Added
non_interactive_pam_conv() and non_interactive_password.

15 years ago * libmisc/utmp.c, src/userdel.c, src/logoutd.c: Replace #if by #ifdef
nekral-guest [Tue, 28 Apr 2009 20:03:23 +0000 (20:03 +0000)]
* libmisc/utmp.c, src/userdel.c, src/logoutd.c: Replace #if by #ifdef