Solved

invalid user

Posted on 2013-06-02
3
1,008 Views
Last Modified: 2013-06-03
[root@rc1 ~]# chown oracle:oinstall /u01/app/oracle
chown: `oracle:oinstall': invalid user
[root@rc1 ~]
0
Comment
Question by:walkerdba
3 Comments
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39215235
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
 
LVL 40

Accepted Solution

by:
omarfarid earned 500 total points
ID: 39215284
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
 

Author Closing Comment

by:walkerdba
ID: 39215446
/etc/group helped
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question