Will an Active Directory account with the same name as a local Unix account take over the local user account files and folders once the local account gets removed?
Unix-like operating systems identify a user by a value called a user identifier, often abbreviated to user ID or UID. The UID, along with the group identifier (GID) and other access control criteria, is used to determine which system resources a user can access.
This UID number is - under standard conditions - unique to each users. Quest Authentication Services has different parameters to generate unique UID values when Unix-enabling an Active Directory Account.
If a local user account is removed, the Active Directory account with the same name will not take over the files and folders from the local user because both accounts while having the same name, do not have the same UID value.
The local system files and folders will be orphaned for an Administrator to do housekeeping tasks.
A system administrator may use for security purposes the
# userdel -r username