Operating System - Tru64 Unix
1752701 Members
5776 Online
108789 Solutions
New Discussion юеВ

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 2
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