Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I just installed Ubuntu on my laptop and would like to login as root, but it tells me that the system will not allow me to login as this. I have the password right because i can use it to run updates and use the "su" command when need be, but what do i need to change to allow myself to log on as root interactively?
basically I am just wanting to do it for my own learning purposes. I know the first instance I came to where i needed to do it was moving some files into a directory it said i didnt have rights to. I am always open to alternate means of doing things, but either way, being able to log in to the GUI as root is something i would like to know how to do just for my own learning purposes if nothing else.
From what I understand, Linux or may be i should say those OS built on Linux Kernal, trying to protect Linux from disasters, so basically what they do is to restrict that from GUI, you don't really have a way to delete those files under root so easily, and for me is like hoping people just give up those funny ideas like deleting all files under /usr. haha.
Well, I have ever tried just Shift-Del everything inside the system32 folder of windows, and it works. The next time my roomate start PC...well bascially everything not right.
So, i will feel it is a protection to the system, although minimum. The protection offered is even less than force to enter username and password at starting up.
I don't know how ubuntu "protects" root, but in Mandriva, you can tweak some settings to allow you to log in as root. *However*, many "normal" things appear to be disabled, to prevent you from shooting yourself in the foot.
Face it, there is almost no real need to ever log in as root to the graphical level. I know of only a few rare instances where something couldn't be done from a "su" terminal.
Somewhere in your Gnome menu (thought it was Applications->System Tools) theres a Login Screen Setup... There's a tab for security, with a checkbox "allow Root to login with GDM" or something like that.
That will do the job...
I still don't understand why the whole linuxcommunity is so scared of logging in as root... Okay, you can screw things up, but does that mean you can't with su ? One typo and you're stuck... Does anyone have some examples why it's so bad logging in as root?
Just because something can be done from the commandline doesn't mean it should be. I can do as much damage from the commandline as i can in x (i know theres less chance of it though, but i still can) and having to continually use su is irritating. When not using the internet i quite regularly log in as root to do things, maybe i just like to live dangerously though
If i am logged in as root, does that not mean all processes run by me are run with root priviledges also? if so then that could be why its a bad idea. you don't want some rogue process eating your hd.
By default, Ubuntu doesn't allow root to log in, either from console or a graphical login. Instead, the first user entered into the system is an admin and can use sudo and their password to do anything root can do. In theory Ubuntu did this to increase security, but I have yet to see a rational explanation of how this improves security.
However, if you want a more traditional root account, Ubuntu has an entry in their FAQ that explains how to set it up.