Solved

invalid user

Posted on 2013-06-02
3
1,052 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
centos commands 6 88
Post Clonezilla image restore issue 6 61
Why would ubuntu server 16.04 compress so many small access.log.gz files? 4 33
Linux 3 32
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

685 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