Solved

invalid user

Posted on 2013-06-02
3
887 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now