The following command fails with an error:
$ dpkg -i libmotif*i386.deb dpkg: error: requested operation requires superuser privilege
How do I become a superuser? I thought I was the superuser?
In all Unix systems, including Linux a Superuser is the system user who has all permissions to be able to perform administrative tasks. This can be the user
The Ubuntu way to perform admistrative tasks is to temporarily gain superuser privileges by putting the command
Then you will be asked for your password (which is identical to your login password):
Note that you don't see anything in terminal while typing this passoword (not even asterixes).
Users that are allowed to be administrators on creation of their account are put on a list of
For further reading and alternative ways on how to become superuser or root see:
Please also note that you can seriously harm your system when running a bad command as superuser. Sometimes you will not even be able to repair it. Therefore be careful what you do as superuser, and think twice before you press enter.
Running this command would prompt you for your password. Type the password for your user account and press Enter. You won't see the characters as you type your password (not even asterisks *).
For more information on
Just do this If you are on Ubuntu
Then you will now be a root user and can do anything
Be careful. If you set a password for root user then it asks you the same for landing to root.Else it will just make you superuser.