Login to ROOT with Debian?
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. :newbie:
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.
If you need to become root (to install a program or something) do so (as Tinkster said) NOT in the GUI, but through the terminal using su.
At the command line you would:
[enter root password]
BAM, you are now root. Only use root when you need it, as it is hazardous to your system.
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.
Sorry, you're right. Here it goes:
# /etc/fstab: static file system information.
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda1 / ext3 errors=remount-ro 0 1
/dev/sda4 /home/kiki/Files ntfs defaults 0 2
/dev/sda5 none swap sw 0 0
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
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.
aptitude install ntfs-3g
follow the examples in the debian wiki to create a proper /etc/fstab entry and mount the partition
As Quakeboy said, you really should start a NEW thread for each issue you are working on, rather than resurrecting a really old thread, which in this case is 5 years old..
Sorry, but the title and everything was pretty much what i wanted to say, so instead of duplicating i thought it would be better just to enlarge it a little...
"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.
I am going to second what glent said.
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.
[RANT MODE OFF]
I started with Slackware.
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.
This thread was started in 2004. I doubt the OP cares any more..
|All times are GMT -5. The time now is 02:34 AM.|