View Full Version : [ubuntu] How do I run as root?
July 22nd, 2008, 05:15 PM
How do I run as root? More importantly, how do I not run as root? I understand that not running as root is the most important aspect of insuring your computers security.
Also, is running as root the same as running as administrator?
Sorry about the stupid questions, but I know very little about computers and even less about Linux.
July 22nd, 2008, 05:17 PM
You only need to run as root when you install programs, update ubuntu or change system wide settings. You should use either gksu or gksudo (press alt-f2).
Use your regular account for all other stuff (browsing, email, printing,e tc).
Running as root is the same as running as admin in windoze world.
July 22nd, 2008, 05:18 PM
You are not root by default. Everything you do is done by the normal user. If it ever asks for your password while trying to run a program then you are root in that program. If you are using the terminal then you are also not root. To become root temporarialy (one command only) then put a sudo infront of that command.
July 22nd, 2008, 05:20 PM
This will give you the root power.
July 22nd, 2008, 05:24 PM
Root is rather different from Admin, but te concepts are basically the same.
to run a command as root(this is probably the most common case)
run this in the command line
eg:- sudo apt-get update
if you want to go into root mode, then type commands,
:KS have fun
July 22nd, 2008, 05:30 PM
Root is locked by default and you will not be able to gain root access like others have said without unlocking it. It is my understanding that there is a policy on the forums that we do not tell people how to unlock root.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.