shadow/src
nekral-guest 16362e289b 2010-04-04 Nicolas François <nicolas.francois@centraliens.net>
* src/useradd.c: spool is a constant string.
	* src/useradd.c: Set the new copy_tree's paramater 'copy_root' to false 

2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>

	* src/usermod.c: move_home() is only called if mflg is set.
	* src/usermod.c: Fail is -m is provided but the old home directory
	is not a directory.
	* src/usermod.c: Use the previous improvement of copy_tree to
	provide better error diagnosis.
	* src/usermod.c: When rename() is used, also change the ownership.
	* src/usermod.c: Do not change the ownership of the root directory
	twice.
	* src/usermod.c: When -u is provided, only change the ownership of
	the home directory if it is a directory.
	* src/usermod.c: Also change ownerships when -g is used.

2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/prototypes.h, libmisc/copydir.c: Add the old UID and GID to
	copy_tree to detect when ownership shall be changed.
	* libmisc/copydir.c: Document the behavior when the IDs are set to
	-1.
	* lib/prototypes.h, libmisc/copydir.c (copy_tree): Add parameter
	copy_root.
	* libmisc/copydir.c: error() and ctx can be static.
	* libmisc/copydir.c (copy_hardlink): Remove parameter src.

2010-04-04  Nicolas François  <nicolas.francois@centraliens.net>

	* libmisc/chowndir.c: Dynamically allocate memory to support
	path longer than 1024 characters.
	* libmisc/chowndir.c: Fix typos in documentation.
	* libmisc/chowndir.c: Support and document the behavior when a old
	or new ID is set to -1.
	* libmisc/chowndir.c: Improved error detection when chown fails.
	* libmisc/chowndir.c: Harmonize error handling strategy when an
	error occurs: stop changing ownership as soon as an error was
	detected.
2010-04-04 20:55:46 +00:00
..
.gitignore * .gitignore, man/.gitignore, src/.gitignore: Added .gitignore 2009-06-04 20:08:11 +00:00
.indent.pro [svn-upgrade] Integrating new upstream version, shadow (4.0.8) 2007-10-07 11:46:07 +00:00
chage.c * src/newgrp.c: Limit the scope of variable pid. 2010-03-23 11:26:34 +00:00
chfn.c * src/newgrp.c, src/chfn.c, src/groupmems.c, src/usermod.c, 2009-04-30 21:39:38 +00:00
chgpasswd.c * src/userdel.c, src/lastlog.c, src/gpasswd.c, src/newusers.c, 2009-09-05 22:31:29 +00:00
chpasswd.c * NEWS, src/chpasswd.c, man/chpasswd.8.xml, man/login.defs.5.xml: 2010-03-25 20:35:59 +00:00
chsh.c * src/chsh.c: Even for root, warn if an invalid shell is 2010-03-18 23:21:00 +00:00
expiry.c * lib/prototypes.h, libmisc/age.c, src/expiry.c, src/login.c: A 2009-04-11 18:37:08 +00:00
faillog.c * src/faillog.c: Re-indent. 2010-03-18 00:07:00 +00:00
gpasswd.c * src/userdel.c, src/lastlog.c, src/gpasswd.c, src/newusers.c, 2009-09-05 22:31:29 +00:00
groupadd.c * src/userdel.c, src/lastlog.c, src/gpasswd.c, src/newusers.c, 2009-09-05 22:31:29 +00:00
groupdel.c * src/newgrp.c, src/chfn.c, src/groupmems.c, src/usermod.c, 2009-04-30 21:39:38 +00:00
groupmems.c * src/userdel.c, src/lastlog.c, src/gpasswd.c, src/newusers.c, 2009-09-05 22:31:29 +00:00
groupmod.c * NEWS, src/groupmod.c: Fixed groupmod when configured with 2009-11-05 22:03:36 +00:00
groups.c * src/newgrp.c: Limit the scope of variable pid. 2010-03-23 11:26:34 +00:00
grpck.c * src/pwck.c: Warn if an user has an entry in passwd and shadow, 2009-05-09 21:20:54 +00:00
grpconv.c * src/newgrp.c, src/userdel.c, src/grpck.c, src/gpasswd.c, 2008-09-06 12:51:53 +00:00
grpunconv.c * src/newgrp.c, src/userdel.c, src/grpck.c, src/gpasswd.c, 2008-09-06 12:51:53 +00:00
id.c * src/newgrp.c: Limit the scope of variable pid. 2010-03-23 11:26:34 +00:00
lastlog.c * src/userdel.c, src/lastlog.c, src/gpasswd.c, src/newusers.c, 2009-09-05 22:31:29 +00:00
login_nopam.c * src/newgrp.c: Limit the scope of variable pid. 2010-03-23 11:26:34 +00:00
login.c * src/newgrp.c: Limit the scope of variable pid. 2010-03-23 11:26:34 +00:00
logoutd.c * src/newgrp.c: Limit the scope of variable pid. 2010-03-23 11:26:34 +00:00
Makefile.am * NEWS, configure.in, libmisc/copydir.c, man/useradd.8.xml, 2010-03-30 21:01:27 +00:00
newgrp.c * src/su.c, src/vipw.c, src/newgrp.c: When the child is 2010-03-23 13:05:06 +00:00
newusers.c * src/newusers.c: Prefer #ifdef over #if. 2009-09-08 13:06:57 +00:00
nologin.c * src/nologin.c: Include <stdlib.h> to get EXIT_FAILURE. 2009-05-09 13:14:23 +00:00
passwd.c * src/newgrp.c: Limit the scope of variable pid. 2010-03-23 11:26:34 +00:00
pwck.c * src/pwck.c: Unlock the password and shadow files when there is a 2010-03-18 10:52:52 +00:00
pwconv.c * src/pwconv.c: Only check USE_TCB if configured WITH_TCB. 2010-03-11 22:01:15 +00:00
pwunconv.c * src/pwunconv.c: Only check USE_TCB if configured WITH_TCB. 2010-03-11 22:02:54 +00:00
su.c * src/su.c: shell's name must be -su when a su fakes a login. 2010-03-30 21:32:36 +00:00
suauth.c * libmisc/setugid.c, src/login_nopam.c, src/suauth.c, 2008-09-13 18:03:50 +00:00
sulogin.c * src/newgrp.c, src/chfn.c, src/groupmems.c, src/usermod.c, 2009-04-30 21:39:38 +00:00
useradd.c 2010-04-04 Nicolas François <nicolas.francois@centraliens.net> 2010-04-04 20:55:46 +00:00
userdel.c * src/userdel.c, src/usermod.c, src/vipw.c, src/useradd.c, 2010-03-18 09:21:27 +00:00
usermod.c 2010-04-04 Nicolas François <nicolas.francois@centraliens.net> 2010-04-04 20:55:46 +00:00
vipw.c * src/su.c, src/vipw.c, src/newgrp.c: When the child is 2010-03-23 13:05:06 +00:00