Superuser Privilege

How will you assign superuser privilege to an ordinary user temporarily?

Questions by jsahoo

Showing Answers 1 - 7 of 7 Answers

thumbeti

  • Mar 22nd, 2011
 

There are 2 to do this.


1) Edit /etc/passwd file by chaning the UID of the required user to "0"
     This makes normal user as superuser

2) Using "sudo", ordinary user can execute any command with superuser privileges.

  Was this answer useful?  Yes

abdas

  • Jul 31st, 2011
 

Command su to be used for Acquiring superuser status
Suppose you are already logged in with a username juliet, you can get the superuser status like below.
$ su
Password: ******** -> root’s password. But this is not temporary.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions