Admin permission Unix
If you trying to acquire admin permission in Ubuntu you could use below command but be careful before using it. Once your work is complete log out from admin(root) user immediately.
$ sudo bash
- To log back in to the user javahonk use command:
$ sudo su -l javahonk
- You can also use:
$ sudo su
- Just for information: Optionally you could also use below command. Using this command you could acquire admin(root) privileges but you can not navigate directorates:
$ sudo su –
$ sudo -i
- For more information please refer Unbuntu manual here