Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 04-14-2007, 06:17 AM   #1
LQ Newbie
Registered: Mar 2007
Posts: 21

Rep: Reputation: 15
Question Root Account Access Security

as stated numerous times in various posts, I am new to Linux. Hi, my name is Andy and I've been a Linaholic for six months. (Welcome Andy!) Thanks for all the posts on the 'awk' command usage, I really appreciate it, it increased my understanding at least 15% (might not seem big but it's efficient. I have yet another question for you professionals, I'm struggling with the root account. Most Linux distros seem to have made a much secure process the accessing and usage of the actual root account. I've already used the command allowrootlogin=true; thus far it still will not allow me to login as root, unless I use the ctrl-alt-f2 method. Yet, even when in this terminal, a lot of root permissions such as changing ownership of various directories are returning with the message, "chown /root could not be completed: you do not have permission to edit"; and the same goes for viewing the root account in an F7 terminal, or modifying other directories such as sbin and bin. Can someone help me to fully!! activate my root account? I'm sure it would be laborious, or perhaps just a few fingerpoints to another URL.

Old 04-14-2007, 06:56 AM   #2
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
Are you using Gentoo by any chance? To su to root, your user needs to belong to the group "wheel". This isn't exclusive to Gentoo, but it's one of the main distros I know of that doesn't put your account in wheel by default.

A word of warning though: be very careful about changing permissions/deleting things! Why would you want to chown /root? /root is root's home directory: if the permissions are set wrong, root will not be able to write to it. You should not be writing to it as any other user. Likewise, why do you need to modify system directories such as sbin and bin? They are disabled for writing by non-root users for good reasons. If you need to install new programs, I strongly suggest using your distro's package manager whenever possible. It's much less likely to break things that way.
Old 04-14-2007, 02:17 PM   #3
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Rep: Reputation: 31
#1. Don't make a recap of all your post on the forum with each thread you start. This board has most likely thousands of members and a good deal of them have never seen any of your previous posts. And who knows how many of those who did and even helped you still remember who exactly they helped, with what and when. And what about the chances of someone who happens to remember is viewing this thread as well? I hope you get my point. It's redundant, and it's a bit of a time waster for those of us who are just looking for your question and see if we can help.

#2. I believe you are trying to make KDM allow you to log in as root and not succeeding, is this true? What distribution/version are you using? And with what username are you logging in on the terminal you're accessing via CTRL+ALT+F2 ?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can not access directory from user account - only root walterbyrd Linux - General 1 03-04-2005 11:23 PM
Can root access be gained from regular user account without password? jdruin Linux - Security 5 11-22-2004 10:20 AM
How do I access root account in Mandrake 10? dbz Linux - Security 4 04-03-2004 11:00 AM
Can Access Sites with root but not user account Obelus Linux - Networking 4 12-21-2003 03:28 PM
FTP access using root account - restrictions alaerte Linux - Software 7 04-03-2003 01:33 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration