-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/24/2010 10:09 PM, Stephen Gallagher wrote:
In other words:
On platforms that support get_uid_table():
If the user is not logged in:
1) Delete the user.
If the user is logged in:
1) Delete the user.
2) Print a message stating that the user (with uid N) was logged in
when you deleted it.
3) (Optional) Add a --kick flag to sss_userdel that disables the
user's password, then invokes 'killall -u <username>' and then
delete the user (to avoid race conditions where a user might
log back in immediately after being kicked)
On platforms that do not support get_uid_table():
1) Delete the user.
2) (Optional) Add a --kick flag to sss_userdel that disables the
user's password, then invokes 'killall -u <username>' and then
delete the user (to avoid race conditions where a user might
log back in immediately after being kicked)
A patch that implements the above is attached.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org/
iEYEARECAAYFAkuzLh8ACgkQHsardTLnvCU8+ACdE8UXFF+DdLj8Qq4m5JrIGfoP
oI0An3r7DB9502DFhyBMH9W8eOiNJfJC
=UqAG
-----END PGP SIGNATURE-----