65269966d5
Make sure the process started by su is killed. Avoid messages on, stderr. Make sure the process started by su is actually started when userdel is run.
nekral-guest
2009-05-22 11:46:57 +00:00
86ce147df1
Added tests for userdel.
nekral-guest
2009-05-22 11:44:54 +00:00
d868434939
Updated traps. Avoid removal of files not created by the testsuite
nekral-guest
2009-05-22 11:44:21 +00:00
3e50639cba
Added failure libraries to test rmdir and unlink failures.
nekral-guest
2009-05-22 11:19:38 +00:00
d3a0659e13
Added support for adding files that do not exist on the system. These files are removed later during the cleanup.
nekral-guest
2009-05-22 11:19:10 +00:00
e9b12a545d
Updated to the new version and updated ignore list.
nekral-guest
2009-05-22 11:16:51 +00:00
0d29450314
* New upstream release: - newgrp and sg return the exit status of their child. Closes: #529897
nekral-guest
2009-05-22 11:13:08 +00:00
f596cd113c
* NEWS, src/newgrp.c: Return the exit status of the child. Thanks to Lionel Elie Mamane.
nekral-guest
2009-05-22 11:10:02 +00:00
2e075ad91b
* NEWS, src/newgrp.c: Return the exit status of the child. Thanks to Lionel Elie Mamane.
nekral-guest
2009-05-22 11:08:46 +00:00
fd55bd5d4a
* src/usermod.c: Added warnings for absolute symlinks which could be broken by rename().
nekral-guest
2009-05-22 10:42:51 +00:00
604c7d72d9
* 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.
nekral-guest
2009-05-22 10:41:10 +00:00
738ebc04b9
* 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.
nekral-guest
2009-05-22 10:16:12 +00:00
96432cb7a1
Added an userdel failure test.
nekral-guest
2009-05-21 16:46:43 +00:00
d2a6818f17
Run with set -e.
nekral-guest
2009-05-21 16:12:47 +00:00
c2b51209bb
su now logs a full tty path (/dev/ used to be strip out).
nekral-guest
2009-05-21 16:08:45 +00:00
436996ed07
Updated to the new passwd message.
nekral-guest
2009-05-21 16:07:44 +00:00
3d5b4ce121
* debian/patches/506_relaxed_usernames: usernames with a slash will not only break one option. Move to the discussion on the usernames.
nekral-guest
2009-05-21 15:55:29 +00:00
f121e979bb
* debian/patches/*: Updated patches to the new quilt and shadow versions.
nekral-guest
2009-05-21 15:30:36 +00:00
cb8f35691a
* debian/login.defs: Removed comment about MD5_CRYPT. MD5_CRYPT_ENAB is no more used by chpasswd and newusers.
nekral-guest
2009-05-21 15:19:02 +00:00
9ef58601e0
* The "Chevrotin" release. * New upstream release: - Fixed typo in the French vipw usage. Closes: #528486 - Fixed failure to delete an user (wrongly detected as still logged in). On Linux, userdel checks if the user has some running processes. Otherwise, it still check with utmp if the user is logged in and check if the process indicated by utmp is still running to avoid mis-detection of logged-in users. Closes: #528060
nekral-guest
2009-05-21 15:15:22 +00:00
8dfd253b9c
* man/faillog.8.xml: Minor updates.
nekral-guest
2009-05-21 14:04:53 +00:00
2a08642cdc
* man/faillog.5.xml: Split a long paragraph. Typo fixes.
nekral-guest
2009-05-21 14:01:16 +00:00
3aa2765d59
* man/gpasswd.1.xml: Minor updates.
nekral-guest
2009-05-21 13:54:45 +00:00
39b17ee5d5
* 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.
nekral-guest
2009-05-21 12:02:12 +00:00
37bda83dfc
* src/su.c: Use a boolean instead of 0.
nekral-guest
2009-05-21 11:58:59 +00:00
130e26d582
Added 3 tests for userdel.
nekral-guest
2009-05-20 21:48:16 +00:00
627ebe09ed
* man/groupmod.8.xml: Split the -g option description into smaller paragraphs.
nekral-guest
2009-05-19 22:00:14 +00:00
2adab29e61
* man/usermod.8.xml: Ownership of the mailbox is also changed with the -u option.
nekral-guest
2009-05-19 21:57:04 +00:00
fb41fb8c46
* man/useradd.8.xml: When no passwords are provided, the password is disabled, not the account.
nekral-guest
2009-05-19 21:37:53 +00:00
738eac8669
* 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.
nekral-guest
2009-05-19 21:29:26 +00:00
00694672cd
* man/groupdel.8.xml: Move the warning on filesystems checks to the CAVEAT section.
nekral-guest
2009-05-19 20:31:45 +00:00
fa2afc96ac
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.
nekral-guest
2009-05-19 20:31:02 +00:00
6573e0175f
* man/groupadd.8.xml, man/useradd.8.xml: names may also contain digits.
nekral-guest
2009-05-18 22:43:59 +00:00
96816f495e
* man/shadow.5.xml: What is important in shadow is not the encryption, but that the file is not world readable.
nekral-guest
2009-05-18 22:40:57 +00:00
9f13b4fdaa
* man/po/fr.po: Updated French translation. Thanks to ABBAS Belkacem for the login.defs update.
nekral-guest
2009-05-18 22:39:48 +00:00
5f143879df
* man/usermod.8.xml: Split the CAVEAT section in paragraphs. Updated information on the user_busy check.
nekral-guest
2009-05-18 19:18:29 +00:00
785231657c
* man/userdel.8.xml: Document that -f forces the deletion of a busy user.
nekral-guest
2009-05-18 18:53:23 +00:00
b9ecd1cf42
* NEWS, src/usermod.c: Check if the user is busy when the user's UID, name or home directory is changed.
nekral-guest
2009-05-18 18:37:16 +00:00
4a4549c49b
* 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.
nekral-guest
2009-05-18 18:32:17 +00:00
e3343c1d9b
* 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.
nekral-guest
2009-05-17 16:27:29 +00:00
589a773f7e
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.
nekral-guest
2009-05-16 18:27:13 +00:00
f634cd3e2c
* 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().
nekral-guest
2009-05-16 18:19:24 +00:00
8eaa6f8b4c
* man/login.defs.d/CONSOLE.xml: Document the format of the CONSOLE file.
nekral-guest
2009-05-16 17:08:44 +00:00
9ee294ba70
* src/login.c: Fix failure of non PAM enabled versions when an empty username is entered after a first prompt.
nekral-guest
2009-05-16 15:43:13 +00:00
d945d61e42
* src/passwd.c: Added missing end of line at the end of success messages.
nekral-guest
2009-05-16 15:39:01 +00:00
f8f0886248
* po/fr.po: Fixed typo in the vipw usage string.
nekral-guest
2009-05-16 15:38:00 +00:00
a97b3a382b
* The "Banonet" release. * debian/login.pam: Really ignore pam_selinux.so failures when the module do not exist. Closes: #528673
nekral-guest
2009-05-16 10:15:38 +00:00
f3ef07b8c7
* debian/rules: Install the lintian overrides with dh_lintian. * debian/control: Raised dependency on debhelper (>= 6.0.7~) for dh_lintian. * debian/compat: Raised to 6
nekral-guest
2009-05-14 20:40:43 +00:00
8f4d210b31
Updated to clean the gcov files. Not used on Debian.
nekral-guest
2009-05-14 19:51:55 +00:00
6ff5ab6af4
* debian/login.pam: Ignore pam_selinux.so failures when the module do not exist. A required pam_selinux.so makes login fail when the module does not exist (e.g. on architecture without SE Linux support). Closes: #528673
nekral-guest
2009-05-14 19:11:38 +00:00
cfbe85f1f0
* debian/login.postinst: Install /var/log/faillog during initial installs only. This permits admins to disable failed logins recording. Closes: #488420
nekral-guest
2009-05-12 20:05:53 +00:00
87bb724151
* 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__.
nekral-guest
2009-05-12 20:01:41 +00:00
205e8b5137
* man/userdel.8.xml: The USERGROUPS_ENAB group may not be removed when the group is used by other users, not the user.
nekral-guest
2009-05-12 19:25:26 +00:00
a9b8fdc3c9
* src/userdel.c, man/login.defs.d/USERDEL_CMD.xml: Move the USERDEL_CMD script example from the source code to the documentation.
nekral-guest
2009-05-12 19:23:46 +00:00
321e3ed02c
* man/newusers.8.xml: PAM enabled version: describe how passwords are updated and how newusers behave in case of error.
nekral-guest
2009-05-11 19:29:38 +00:00
36595ad2cd
* debian/control: Standards-Version bumped to 3.8.1. No changes. * debian/control: Changed gnome-doc-utils dependency to >= 0.4.3 (instead of >= 0.4.3-1) * debian/control: Added ${misc:Depends} to the passwd's Depends and login's Pre-Depends.
nekral-guest
2009-05-10 22:30:50 +00:00
88e88fbf27
* debian/securetty.linux: Added some local X displays. See LP #104957. But only a limited set of displays were added.
nekral-guest
2009-05-10 22:01:48 +00:00
f2915bc349
Next upstream release will be 4.1.4.
nekral-guest
2009-05-10 20:05:43 +00:00
63e6dc6b11
* 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.
nekral-guest
2009-05-10 20:02:21 +00:00
fca246813e
Updated patch for the testsuite.
nekral-guest
2009-05-10 19:48:42 +00:00
9292f7b951
Add the username in failures reports. Add support for rounds checking in SHA512 Remove the password to extract the salt for MD5.
nekral-guest
2009-05-10 19:36:36 +00:00
ff0f6c28eb
Added new tests, and tag PAM and non-PAM specific tests.
nekral-guest
2009-05-10 19:29:29 +00:00
c556de2b56
Added newusers tests specific to the PAM version, to replace the one which use the non-PAM specific options.
nekral-guest
2009-05-10 19:27:29 +00:00
7890eab89b
Added PAM configuration files to support the PAM versions of newusers.
nekral-guest
2009-05-10 19:18:25 +00:00
f9aee80330
newusers now sets the lstchg field in shadow.
nekral-guest
2009-05-10 19:15:17 +00:00
d9b8c55516
New release name: Chambérat. Added entries for new translation and sort translations alphabetically.
nekral-guest
2009-05-10 17:12:40 +00:00
fe0a5b6ee3
Added Changelog and NEWS entry for the French and Japanese translations.
nekral-guest
2009-05-10 17:10:44 +00:00
12875d2687
French translation update
bubulle
2009-05-10 16:42:43 +00:00
489432d742
Japanese translation received directly from NAKANO Takeo
bubulle
2009-05-10 16:42:17 +00:00
c3e1c92fa7
# 402 should be merged in 401, but should be reviewed by SE Linux experts first
nekral-guest
2009-05-10 14:10:11 +00:00
750093a3ed
* 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().
nekral-guest
2009-05-10 13:49:03 +00:00
156bd855d4
Since chpasswd is now PAM enabled, the crypt tests are passed with chgpasswd. Do not copy the database which should not change. Directly compare the system files with the files from config/. Update some test descriptions.
nekral-guest
2009-05-09 22:39:12 +00:00
5324b00638
There were changes in the exit codes of gpasswd.
nekral-guest
2009-05-09 22:32:10 +00:00
ba569f80b6
Added tests for passwd which interractively change (or attemptto change) a password.
nekral-guest
2009-05-09 22:30:21 +00:00
d6495cab07
There is no need to use expect for these tests. Only check the stdout/stderr output.
nekral-guest
2009-05-09 22:27:13 +00:00