Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
Showing results for 
Search instead for 
Did you mean: 

id cmd gives old uid after uid changes

Go to solution
Steve Blackwell
Occasional Advisor

id cmd gives old uid after uid changes

I need to change the uid of 800 users on a Tru64 4.0F box.

I have written a script that converts the uid's, in short it changes the uid in the passwd file and in the tcb database via edauth. I then use find to change all file ownership.

But after a users id is changed the id command still returns the old id.

Where does the id command get it's information from, I thought it was the passwd file.

Am I missing something? Do I need to update the id command somewhere else?


Michael Schulte zur Sur
Honored Contributor

Re: id cmd gives old uid after uid changes


have you used the mkpasswd after that?


Steve Blackwell
Occasional Advisor

Re: id cmd gives old uid after uid changes

Thanks for the quick response.

That worked, peachy.