System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

id cmd gives old uid after uid changes

SOLVED
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?

Cheers

Steve
2 REPLIES
Michael Schulte zur Sur
Honored Contributor
Solution

Re: id cmd gives old uid after uid changes

Hi,

have you used the mkpasswd after that?

greetings,

Michael
Steve Blackwell
Occasional Advisor

Re: id cmd gives old uid after uid changes

Thanks for the quick response.

That worked, peachy.

Steve