System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

how to make normal user have root purview

 
ykjack
Occasional Advisor

how to make normal user have root purview

it's a workstation
it's hung ,someone get it restart ,then XXX and yyy users get lost.they are not in the /etc/passwd.
now i can only use root login the system.
how can i make an new XXX and YYY users which have right to run oracle?
9 REPLIES
Steven Schweda
Honored Contributor

Re: how to make normal user have root purview

> it's a workstation

Not a very useful description of anything.

uname -a

> [...] users get lost.they are not in the
> /etc/passwd.

Were they before? Evidence? (Actual
commands with actual output?)
Kapil Jha
Honored Contributor

Re: how to make normal user have root purview

if m not wrong in understaning your requirement, you lost the user and now you want to create them again.
If you have inofrmation about those user go ahead and create with useradd.
Or use backup.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
ykjack
Occasional Advisor

Re: how to make normal user have root purview

sorry for the first post
it 's a VISUALIZE C3000 UNIX WORKSTATION

now i have no log
i can only describe it.

XXX and YYY are used to run oracle .

what can i give you the useful infomation?
ykjack
Occasional Advisor

Re: how to make normal user have root purview

Kapil+
i can use useradd XXX to make a new user,but i can not make XXX have right to run oracle
-.-
Kapil Jha
Honored Contributor

Re: how to make normal user have root purview

why not?
user and oracle is entirely different thing.
You can create a user with required group [normally dba] and then user can start the oracle from scripts of from sysdba

BR,
Kapil+
I am in this small bowl, I wane see the real world......
ykjack
Occasional Advisor

Re: how to make normal user have root purview

now i have a L1000
i use
>useradd -g root XXX

i login the system use XXX
use SAM
$ /usr/sbin/sam
Sorry, you must have superuser (root) privilege to enter SAM.

what can i do?
Kapil Jha
Honored Contributor

Re: how to make normal user have root purview

I am not sure what you trying to do

#useradd -g root XXX
this would add a user in root group, does not how root rights.

why u want to sun SAM from XXX??

Add XXX and oracle group and start the oracle.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
ykjack
Occasional Advisor

Re: how to make normal user have root purview

Kapil
i got it
THX
ykjack
Occasional Advisor

Re: how to make normal user have root purview

using useradd command i make it work
THX
BR.