Operating System - Tru64 Unix
1751968 Members
4753 Online
108783 Solutions
New Discussion юеВ

Re: 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