April 26, 2024, 08:32:59 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: How to make an oradinary user as a root user  (Read 4357 times)

Offline pankaj4664

  • New Member
  • Posts: 1
How to make an oradinary user as a root user
« 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

Offline cyberjun

  • Linux Noob !
  • *
  • Posts: 4
How to make an oradinary user as a root user
« Reply #1 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

Offline unixmen

  • Linux Noob !
  • *
  • Posts: 24
Re: How to make an oradinary user as a root user
« Reply #2 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