Does deleting/removing a user automatically remove the user from all groups the user was a member in?
migrated from stackoverflow.com Nov 29 '12 at 11:46
This question came from our site for professional and enthusiast programmers.
Yes it does.
Check out man pages for userdel command for more info, for example here.
Additionally, pay attention to this part: