Avatar of snb2
snb2
 asked on

How do I grant su to root for a normal user and also sudo access

I need to grant su access to root for a user named 'oracle' on solaris 8. Can anyone help me with it?

Also how do I grant sudo access to root for another user?


Thanks
Bill
Unix OS

Avatar of undefined
Last Comment
Otetelisanu

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
foxtrotzulu

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Otetelisanu

If you make su (as Oracle user)  you have
enviroment from oracle as root (printenv, or set)

If you make su - (as Oracle user) you have
enviroment from root becose with - log as root
(printenv, or set)
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck