First, let me state, this was an IT goof up. They deleted an account, went "oops" and created a new account with the same credentials. I can't fathom why.

Regardless, I've got a Linux (Ubuntu Server 10.04) box authenticating against an active directory server, and users logging in have local home directories and such.

I'm stuck with one user name having a new UID (or SID in AD jargon). Over and above chowning his home directory, what other interventions should I do?

  • I think you meant chown, rather than chmod. – Steven Monday Nov 24 '10 at 16:03
  • @Steven: Yes, I did mean chown. Thanks. – Jamie Nov 24 '10 at 16:16

Search for files/directories owned by the old UID:

find / -user <old-uid>

Change them if necessary.

| improve this answer | |
  • Your describing a method; I'm looking for problems (if any) that doing (something like that) that could create. – Jamie Jan 6 '11 at 1:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.