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.
Hey, how do you login to root with Debian Linux (specifically Phlak)? I think I'm not logged in correctly, because it's not showing the contents of my other partitions in the file manager. Thanks. Please be nice, I'm a newbie.
I'm pretty much having the same issue, i need to change permissions to my normal user to access ntfs partitions, i tried search in forums but nothing works for me. i have 2 ntfs partitions which i cannot format bcs i need them that way and therefore i need to access them from all my OSes, i can indeed mount them as supersuser from terminal, but i cannot access the folder via visual, which is what i want to do... if there's no need to do it and you know a way, would be great if you can post it here...
Do NOT login as root. If you need to have root do something, use the "sudo" command in a termal, or if you need to have it done by a GUI, run the GUI program with "gksu" (I assume kde has something similar). But, DO NOT login to your X session as root. If you do, you will eventually pay a very big price due to lost files, broken file systems, and/or borked permissions. Don't Do It.
Indeed, i know that's very dangerous, so i'm still trying to find a way in order not to.
I'm using debian, so i don't really use sudo, i become superuser whenever i need to do something that needs to, but i still can't add the permissions to my NORMAL user to access the folder where i mounted the ntfs partition visually in my file manager, any suggestions?
My mistake for not looking at the date on the original post. Please do not open up old threads and steal them for your own. Open an new thread and I will try to help you. I will not respond further in this thread.
Last edited by Quakeboy02; 06-05-2009 at 03:56 PM.
The line in red is where i mount automatically the HD into a folder, and it mounts it without any probs, the only thing i don't know, is how to grant permissions (to my normal user, in this case kiki) to access that folder, when i try to open it in nautilus, says:
The folder contents could not be displayed.
You do not have the permissions necessary to view the contents of "Files".
I also added my user to sudoers file in order to use sudo... but still don't know how to grant the permissions to the user from terminal.
"If you're a newbie you don't want to be logged
in as root, particularly not in a graphical environment,
and specially not in any kind of file-manager."
I am new to this forum but I wanted to respond to this particular thread. I see over and over on the web dire warnings all the time from "old" linux gurus about logging in as root and how you may damage the system and use SU instead ad infinitum. I would like to point something out. Many of us out here in puter land have multiple systems to play with. These pc's are not production computers but are merely toys with which to learn. I have several pc's here at the house and I use some of them for new linux distros in order to learn. It does not matter whether or not the system gets hosed, I will rebuild it again if I screw it up. In fact, I learn a lot that way. All the dire warnings get tiresome. The little box next to me as I type was recently loaded with the latest Debian/Gnome and when I am done with it I may load something else entirely. I just wanted to point this out. I think when "newbies" post a question about how to login as root, it would be better to provide the explanation followed by a "not so dire" warning.
Thanks, just my 2 cents.
Now, that being said, the easiest way is to reconfigure the login screen to allow administrator logins. Reboot, at the login prompt, click on Actions (bottom of screen). Choose "Configure Login Manager". Enter the root password. Scroll to where it says Security and put a check mark next to "Allow Local System Administrator Login". Close. Now log in as root. Disregard the warning. Hack away. If you blow it up, try another distro, I suggest Zorin.
I just installed Debian in my desktop as secondary OS. The reason is to learn how to use Linux.
I totally agree with your point of view, as it is my responsibility if i f*&k up my system.This forum as the most of them on internet are to provide suggestions on how to solve problems that people like me (newbies) are dealing with.
That said, I would like to thank you for your solution. It worked perfectly for me.
And last I would like to point out that I most probably f&@ked it up. But this is the joy of learning.
Thank you and I would like to thank all the people that are sharing their knowledge with us the newbies.
In one way, I guess that warning persons not to log in as root indicates how far Linux has come. Used to be, you couldn't get it working unless you could log in as root to tweak everything up. But . . . .
[RANT MODE ON]
Logging in as root is not inherently dangerous. It is unwise, in that, if you get an intrusion while logged in as root, the intrusion has the run of the computer, but it is not dangerous in and of itself.
It's doing stupid stuff that is inherently dangerous. If you do your homework and take advantage of the resources available on line and, if you have a local LUG, in person, you can avoid stupid stuff.
One of the things that really irritates me about some Linux distributions, including distros that I use quite well thank you, is that they make logging in as root difficult or impossible. They are ipso facto assuming that their users are not competent.
Sorry, my computer belongs to me, not to the distro.
elamigo2004, install Slackware. It will let you log in as root. Upon installation, it forces you to create a root password. Once you boot the computer and login as root, use adduser [username] to add a regular user. Use root to do root stuff and user to do user stuff (like posting at LQ).
If you learn your way around Slackware, no other distro will ever intimidate you.
Learn and enjoy.
Last edited by frankbell; 11-20-2010 at 10:00 PM.