invalid user

[root@rc1 ~]# chown oracle:oinstall /u01/app/oracle
chown: `oracle:oinstall': invalid user
[root@rc1 ~]
walkerdbaAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
omarfaridConnect With a Mentor Commented:
try to see the username and group name in /etc/passwd and group

grep oracle /etc/passwd

grep oinstall /etc/group

also, you may switch user to oracle and run command id

su - oracle

id

this will give you userid and groups of than user including login group
0
 
MazdajaiCommented:
It means the user or group you trying to ch-own does not exist in either /etc/passwd or /etc/group.

Have you check if either exists?
0
 
walkerdbaAuthor Commented:
/etc/group helped
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.