View Full Version : [ubuntu] How to login as root user?
ankur.trapasiya
January 11th, 2011, 05:44 PM
when installing ubuntu i created one user account named myself but it sometimes doesnot allows me to copy or run some files. It simply says "Permission Denied".
I know i can run that files and scripts using sudo command but i want to login as a root user which has all the required permissions by default...
How to do that ???
Polar Humenn
January 11th, 2011, 05:46 PM
Ankur,
Use the "sudo -s" command. That will get you a root shell.
Cheers,
-Polar
Rubi1200
January 11th, 2011, 05:49 PM
By default the root account is locked in Ubuntu and we do not provide support regarding how to log in to the account.
See here for more details:
https://help.ubuntu.com/community/RootSudo
On that note, what exactly are you trying to run that is giving these errors?
For graphical applications you need to use gksu/gksudo
If you tell us more perhaps we can help you.
EDIT: @Polar Humenn (http://ubuntuforums.org/member.php?u=1019382); the correct command to use is
sudo -i
see here for why:http://ubuntuforums.org/showpost.php?p=6188826&postcount=4
ankur.trapasiya
January 11th, 2011, 05:58 PM
i want to one file from one location to another location... but it is saying "permission denied" ...
so i need to be root user.... now how can i copy that file without using terminal ???? This is the exact problem which i am facing...
JOHNNYG713
January 11th, 2011, 06:18 PM
In terminal, sudo nautilus This will open root nautilus and you can do what you need to there, It is the same as regular nautilus but with root permissions !
Rubi1200
January 11th, 2011, 06:23 PM
In terminal, sudo nautilus This will open root nautilus and you can do what you need to there, It is the same as regular nautilus but with root permissions !
Again, with all due respect, but the correct command for graphical applications is to use either gksu or gksudo.
Thus,
gksudo nautilus
Beware, you can truly mess up your system copying/moving files like this so please understand what you are doing.
JOHNNYG713
January 12th, 2011, 12:21 AM
Again, with all due respect, but the correct command for graphical applications is to use either gksu or gksudo.
Thus,
gksudo nautilusBeware, you can truly mess up your system copying/moving files like this so please understand what you are doing.
Yes I stand corrected ! gksudo !
9000cse
July 8th, 2011, 03:29 PM
Thanks guys, I give it a try.
Andy
nithin111
July 8th, 2011, 06:19 PM
May be this thread will help
http://techtimely.forumotion.net/t5-how-to-gain-unlock-root-power-in-ubuntu-1104
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.