Solved

invalid user

Posted on 2013-06-02
3
1,179 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
Suggested Courses

623 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