Hello folks,
I am facing a weird issue on one of the red hat linux 5 box. There is an oracle id which i want to change the primary group. Currently the primary group id is 16600, I did changed it to 16601 using below command:
usermod -g 16601 oracle
But it did not changed. I have tried multiple times. Then I changed the /etc/passwd file itself with group 16601 for user oracle. I have deleted the group 16600 too. Then it took in effect after sometime. I see it changed to correct group 16601.
Now here is the issue:
But again, after sometime somehow the previous GID (16600) is showing up when i run
id oracle
Also the /etc/passwd file has previous entry restored back.
This is happened 2-3 times. not sure what is exactly happening. I have changed the /etc/nsswitch.conf as well to lookup for "files". The group 16600 also not exists at all. Please assist.