Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Others => Miscellaneous => Topic started by: pankaj4664 on November 23, 2005, 10:33:34 AM

Title: How to make an oradinary user as a root user
Post by: pankaj4664 on November 23, 2005, 10:33:34 AM
I am having one user name oracle.

I want to pass all the permissions and rights to this user.
All the rights as root is having.
or I want to make this user as good as root.

Please write the correct procedure to do so.

Thanks

Pankaj
Title: How to make an oradinary user as a root user
Post by: cyberjun on November 24, 2005, 09:32:03 AM
hmm....can't understand why this is needed, but....you can change the user id to 0.

In /etc/passwd change the id of oracle to 0.


cheers,
--cyberjun
Title: Re: How to make an oradinary user as a root user
Post by: unixmen on January 07, 2009, 10:08:39 AM
Other  way is  to  add this  user to  Sudoers    vi  /etc/sudoers

and  add the  line  under the    root   line  with     user   ALL=(ALL)


Regards
      www   net      Team