1822781 Members
3986 Online
109645 Solutions
New Discussion юеВ

unknown user id oracle

 
mahipal singh
Occasional Contributor

unknown user id oracle

when i login as a oracle user ,it's not showing username as oracle instead of id as file description of oracle user.


The output of ll command , showing oracle id(700)instaed of oracle as user.

-rw-r--r-- 1 700 oinstall 0 Sep 12 14:32 st

If i am trying to change ownership of any file , prompt error "chown: unknown user id orale"

Please help me how to fix it.

Thanks in advance for your help.

Database is up and running .
7 REPLIES 7
Dennis Handly
Acclaimed Contributor

Re: unknown user id oracle

Are you using NIS? You need to stop and restart.
Vihang.
Trusted Contributor

Re: unknown user id oracle

Hi Mahipal,

What does "grep oracle /etc/passwd" say? Has anyone removed the oracle user from /etc/passwd file? If its not listed under /etc/passwd, then you probably need to recreate. This solution is assuming you dont have a trusted system.


Regards,
Vihang.
Sandeep_Chaudhary
Trusted Contributor

Re: unknown user id oracle

is the directory NFS mount.
if yes then uid and username should match with the syetm exporting that filesystem.
TTr
Honored Contributor

Re: unknown user id oracle

Look at the passwd file entry for oracle. Is the user ID for the oracle account 700? If not you have to either change it to 700 or change the user owner of all oracle files to the new oracle id. You have to do it as root.

Other things to look for are the permissions of /etc and /etc/passwd.
SKR_1
Trusted Contributor

Re: unknown user id oracle

Check /etc/passwd file for oracle user.

grep oracle /etc/passwd.

You may need to recreate the oracle user. Or check for the uid of oracle user.

Thanks

SKR

Trng
Super Advisor

Re: unknown user id oracle

check the permission of /etc/passwd file and compare with working setup
administrator
mahipal singh
Occasional Contributor

Re: unknown user id oracle

Same has been resolved by changing permission of /etc/passwd.
It seems somebody has changed permission for that file.