logging in as root
Is there a policy on this forum about not discussing how to login as root on ubuntu. I wish to do this for private reasons, mostly because I've been told in the Ubuntuforums.org that it is not allowed to even discuss this topic. So if this is your policy too, I want to be aware of it. I know all the arguments against it but I want to do it anyway.
Thanks, Paul |
Okay, I have never even come near Ubuntu, but I'd like to ask an honest question here. You have to go through a special procedure to login as root in Ubuntu? WTF? Are you not simply presented with a login screen where you have the option of logging in as whomever you wish?
|
It is allowed to ask that on this forum. But I doubt that you fully understand the reasons why it is not encouraged to login as root to a GUI for everyday use, otherwise you wouldn't want to do it.
But anyways, at first you have to unlock the root-account, since Ubuntu hasn't the root account enabled by default. You can do that with Code:
sudo passwd root Edit: Quote:
|
|
Yet another thing that makes me thankful to be a slacker...
|
With out setting up a root account you can log in as root by booting to recovery and logging in there and then, at the prompt;
Code:
sudo su Code:
startx It is still a rather silly thing to do. I do it on occasion though as there are things it is easier to set up that way. Just don't for get where you are and break something. |
Quote:
Quote:
Code:
sudo passwd |
Quote:
|
Quote:
I find this strange. Ubuntu is where I have worked in the gui the most as root. In testing you run into times, occasionally, where the user config files are really screwy and will not let you get to the desktop. I am lazy and booting as root will let you edit those files easily. It is not something I think is a good idea, just a lazy solution to some problems. Certainly would not do that on a production OS. |
Thanks for all your posts! i find this a more user friendly forum than the other. Over there it's mostly the mods I guess. If you don't think like they do and run Ubuntu as the way they want you to, then they really don't want you. Ad that's alright with me. I like Ubuntu, I've installed a bunch of software and I don't really want to do it all over again, but I'll stick with this forum from now on.
|
there is almost NO reason to need to boot into root
now starting nautilus or dolphin AS root every now and then that is a bit different . if you NEED to boot into root use the single user mode that said . almost all the time just starting a session of dolphin as root will give you a gui as root . just do not use it all the time . ps fedora also disables root login by default the not recommended hack also is not recommended , bad side affects |
Quote:
Thanks, Paul |
before unsubscribing
we do not care about your computer we care about OURS when yours is rooted and turns into a zombie for a bot herder when your choice causes US harm THEN ..... |
If you are using Nautilus as your file browser you need to install 2 packages;
nautilus-open-terminal which gives you an option in the right click menu to open a directory in a terminal (no need to "cd"). nautilus-gksu which gives you a right click menu option to open a directory as root. You are asked for your password and then nautilus opens another window in super user mode, in the directory chosen. You can navigate from there to anyplace else you may want to go though. |
I downloaded and installed the two packages but I can't see any difference in my right-click menu. Here is what I have now when I right-click:
Create Folder > Create Document > Scripts > Arrange Items > Organize By Name Paste Zoom In Zoom Out Normal Size Properties As you see, there are no options to open terminal here or to change to root. Paul |
All times are GMT -5. The time now is 05:04 PM. |