-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 04/06/2010 08:34 AM, Jakub Hrozek wrote:
On 04/01/2010 01:41 PM, Stephen Gallagher wrote:
> Ok, but I still think that if the killall returns a nonzero error code,
> we should still emit a warning that there may still be live processes
> owned by this user.
Sorry I just realized I sent the reply to Stephen only before -
resending for clarity.
Sorry, I hate to say this, but I realized that killall returns nonzero
if there are no processes running by that user name. So this warning is
going to look wrong if we run the userdel command on a system where the
user isn't logged in. I withdraw my request for this warning.
Also, we probably need to do 'killall -9' rather than simply killall, as
SIGTERM doesn't terminate shell processes (which are the most important
ones to kill if we need to kick a user)
- --
Stephen Gallagher
RHCE 804006346421761
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org/
iEYEARECAAYFAku7RnIACgkQeiVVYja6o6OXYgCfRI/j/RM++xb2Y34oOIQHzNu5
z6AAn39IzsOQAQFKoU34qoMlF6OZfxhH
=u4kU
-----END PGP SIGNATURE-----