[ale] Changing UID for a user

Eric Anderson eric.anderson at cordata.net
Wed Oct 30 08:00:17 EST 2002


On Wed, 2002-10-30 at 07:29, John Wells wrote:
> Is there a way to change an user's UID after the account has been active
> for sometime without creating major havoc?  My fear is that if I change
> the UID for the user, all permissions on that user's files will be hosed. 
> Am I correct in this assumption?

If all their files are located in one directory structure and nobody
else has files in that directory or below it, you always could

chown -R myuser directory_name/

after changing the UID. You will also want this user to not be logged in
since the UID is stored in various structures in memory.

-- 
Eric Anderson

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list