LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-10-2009, 09:19 AM   #1
DGeeez
LQ Newbie
 
Registered: Mar 2009
Posts: 17

Rep: Reputation: 0
Are there any Thought Police on this site?


EDIT:


Some things I need to make clear on:

I never MADE, nor promoted any tuturials. I linked one which I was working from as something paramount to questions which I was seeking clarification on.

My INTENT was simply to clarify certain questions which I had, and to challenge those who give answers like "don't touch it, stupid noob" to be more rational i their answers, or at least show that they really know why something is or isn't dangerous. Practicality and freedom are, inexorably, that which get traded for security.

I did NOT post with any political agenda, as some have accused me. There are some who would accuse me of attacking the rights of the forum owner to set his own rules - LOL! All I have to say is whether it's wrong or right, foolish or wise, to excercise such rights in some certain ways in a medium which is inexorably controlled by the democratic process, no matter who owns it, and I'm interested in the opinions of others who use such forums.

THIS HAS NOTHING TO DO WITH ANYTHING ILLEGAL - Its' so that I can actually use effectively the system which I own.

If I were to post my original forum again from start, it would have gone more like this:

I had trouble viewing non-system partitions on my drive through nautilus, and gksudo nautilus has never displayed links to these other partitions without me browsing them through nautilus first. That sounds strange, maybe dumb, but that's what I was getting, and for some reason I just wasn't able to get any response at all when I clicked the icons which Nautilus displayed. gksudo, or sudo nautilus do not display as quite the same browser guis, and some of the icons and buttons displayed in nautilus are either nonexistent or they yield errors (the Computer button is an example of the latter).

The only cause which I could consider at the time was my non-root status, and that maybe nautilus (which at least gave some indication that it knows my other partitions exist, in displaying the icons which I can't see in gksudo nautilus) may give the full access which I needed on my own machine if I was able to run that specific gui while logged in as root. I run Jaunty,

The solution which I tried was not my own idea, and it's nothing I or most (so it seems) would recommend. I cannot post links here, and wouldn't want the apearance of promoting it here anyway, but what I did was simply change the AllowRoot=False line in my gdm.conf file to AllowRoot=True. This fix would implicitly allow the root to login after a reboot. Well, I don't know if this ever did cause me to run a root session, but when, after saving the change and rebooting, I was able to view, but not write to those partitions in question through nautilus, and after opening them for viewing, I could get full access to them through gknautilus (which previously didn't even indicate they existed) - this is why I thought at first that the change must have worked, and I had logged in as user.

Well, there's something else. At some point a few months ago, I decide that I didn't like logging in to my home PC, so I took the option to make the process automatic. Now I have my AllowRoot variable set to true, and I wonder if that could possibly have allowed my root user to log in at system startup without any input from me, or even my seeing it, and then if it failed to do so then I wouldn't have known that either. So, I suppose I should disable the automatic login, if I can dig up how to do that. Still, my nautilus access, which changed after I changed one variable from false to true, and did not change back after I reset that variable back to false. Also, I had to use sudo to save changes while I thought that I was in root mode. So, maybe root access has nothing to do with the failure of nautilus to display or provide access to certain media.

In summary, my two questions are

1. Is AllowRoot=True in the gdm.conf file effective in Jaunty?
and
2. If it isn't root access, or lack of it which caused my partition access problems (they are ext3), then what else may cause this?

I would much appreciate some clues here on what really makes the root login so dangersous, and what makes sudo (a certain sort of password known by everyone) so much safer. Also, if you know of other factors than security clearance which affect the performance of nautilus - please help if you can!

Thanks for your consideration of this issue, and any which it can raise.[/QUOTE]


END OF EDIT


When I logged onto this site just now, at the top of the main page displayed the message "Welcome to Linux Questions - a friendly and active community", and that is what I hope to be true, because there is something decidedly UNfriendly about the policies at the official Ubuntu forum. Without any warning whatsoever, a mod there slapped me with an "infraction" for posting a certain how-to which was paramount to the questions I was asking in that post, which I believed to be more than valid. It told me two things about such people who moderate the Ubuntu official forum, and may be Ubuntu developers as well:

1. they have a policy of repressing certain information on the workings of their system, and

2. there are some questions which they will deal with in this way so that they won't have to answer them.

My questions for the community of this forum, and for the moderators here are:

1. Is it your policy to repress certain technical how-tos which do not necessarily cover any illegal, or perceivedly unethical activity, or do you leave it for the users on this forum to decide what to do with the information disseminated here?

and

2. Do you believe that my questions below, testy as they may be in tone, are valid questions deserving an answer?

I don't want to raise any hackles here, so I removed the link to that controversial how-to from the text of my original post below:


Quote:
You have an infraction at Ubuntu Forums

Reason: Log in as root tutorial
-------
It's against the forum rules to post instructions to log in as root:
(link removed)
-------

This infraction is worth 1 point(s) and may result in restricted access until it expires. Serious infractions will never expire.

Original Post:
[sorry, had to remove]
Quote:
Ubuntu (system) policy is to inhibit anyone from logging in as root, leaving root tasks to the use of sudo. Sudo isn't so useful if you like to browse your files on secondary partitions with the GUI, like Nautilus. This link (sorry, but it looks like some would complain if I posted it) shows how to make Nautilus every bit as useful for browsing other partitions as it is for files on your root partition, but the issue which was raised in the comments is that it logs you in, permanently, as the root, and that's so baaaaaaad (I could just see the wool flying through the air as the heads shook). Alright, guess you would be right to call one who's been using Linux for less than six months arrogant to comment like this, but I and many more frustrated new users need to understand that those who advocate any security devices and restrictions have a realistic understanding of their impact on system security, and the (actual) trade-offs they cause for system usability. While most of the answers we get ring more of superstition than anything else, we have already learned that the most useful system is never, ever the most secure, and I wouldn't mind knowing why my secondary partitions have higher security clearance than some parts of my system partition!

I decided to try the above fix (editing the gdm.comf file) just to see if it works, and it did. I'm not dense, I was a little concerned that I need not be logged in as root after making my transactions with other partitions, so I went to set bact the "AllowRoot=" command to "false". Even though I was already logged in as root, the system refused to save my changes! I had not used sudo when I opened the file for editing, thinking that I wouldn't need to, but as it turns out you do need to use sudo to make certain changes, whether you are logged in as the user or the root. Therefore, what differences for security does it really make whether you are logged in as the user or the root? Conversely, how does the sudo sytem really make a system any more secure (when everybody knows the word "sudo", who is it really locking out)?

Thanks for your input.
All the best,
Ubuntu Forums
Thanks for your consideration of this issue, and any which it can raise.

Last edited by DGeeez; 08-10-2009 at 04:18 PM.
 
Old 08-10-2009, 09:27 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
If what you say is true then I don't agree with that rule, but rules are rules. Have you read the rules here?
 
Old 08-10-2009, 09:41 AM   #3
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
http://www.linuxquestions.org/questi...debian-745036/

@ Dgeeez

Welcome to LQ

You may find that the link I posted here addresses (to some degree) the sentiment you will typically get, if you were to post a thread about a similar topic here at LQ. I think I can safely say, you would not have received an infraction from LQ for posting a tutorial about logging in as root.

That said, it's a good idea when making such a post or tutorial, to include the appropriate "dire warning" about the possible consequences of doing so, so that the reader will understand how easy it is to bork his/her system by making a wrong move as root. Of course, the same applies with ANY distro, not just Ubuntu.

Also, as per the LQ Rules, posting anything illegal is of course prohibited.

Enjoy LQ, and if you have any further comment or questions about LQ, feel free to inquire.

Cheers!
Sasha
 
Old 08-10-2009, 09:59 AM   #4
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
Although running a system as root isn't illegal or unethical, it is extremely stupid (I say this with 14+ years of Linux use and almost 30 years of a computer background). As such, giving advice on how to accomplish it is not something that should be encouraged. Do I think your post deserved an infraction point? Not really because as you said, you are not encouraging the use of the information, just pointing out something that describes your question. I would think a warning would suffice, but then again, 1 point may be simply what the moderators consider to be a warning.

Now, to answer your question. By using sudo, you are only running as root those actions that explicitly require root level permissions to run, and after they are done, you go back to being a normal user. Everything else, you are running with user level permissions. If there is a bug in any of the software that you run, the potential is there for the program to fail into a system shell with the permissions of the user it is running at. If you run something as root, then a bug gives the potential to overwrite anything on the system, stop/start other apps or services as root, etc. If exploited by a cracker, then they are now able to make any program on your system be replaced with one of their own. If you run as a normal user, you are limiting what can be overwritten to things that you own, typically limited to things in your home directory. The less things that you run as root, the less possibility there is for a software bug to be exploited to gain root level access.

I hope that answers your question.

Forrest
 
Old 08-10-2009, 10:56 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Ubuntu does seem to be on an evangelical mission with regard to the root account, but I am really surprised that they would be so controlling in their forums....did you send them soem kind of (polite) communication asking why they have this policy?

As already stated, check the rules for yourself, but I think you will find that we allow anything that is legal and not offensive in some way.
 
Old 08-10-2009, 02:32 PM   #6
magikraven
Member
 
Registered: Feb 2009
Location: Florida USA
Distribution: Debian, Vector, Puppy
Posts: 53

Rep: Reputation: 20
..actually, I've heard of this happening several times (at least) before. Ubuntu just doesn't care to have the "sudo" thing changed (or any info given out to the contrary). To each their own, I guess. Sorry to hear about what happened to you,...

On the same note,..Puppy Linux runs as root,..but they really don't care if someone posts about a "howto" to do otherwise. Each distro has their own policies.
 
Old 08-10-2009, 03:22 PM   #7
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
I would never have guessed that there would be a rule about *possibly* bad advice. I didn't see anything in http://www.linuxquestions.org/linux/rules.html that prohibits what you did. Are there specific forum rules written down for each forum that I'm missing? Just want to know before I get warned about bad advice I give occasionally... unintentionally.

Last edited by mostlyharmless; 08-10-2009 at 03:27 PM.
 
Old 08-10-2009, 03:59 PM   #8
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
We have many postings here about how to log in as root and how to use single to reset the root password. As long as you aren't overtly discussing cracking/black hat techniques (and everything is on a case by case basis) you are fairly ok.

And for those of you who say there are no thought police here, what am I, chopped liver? Retraining Camps for all of you!
 
Old 08-10-2009, 04:03 PM   #9
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I've never been accused of "giving bad advice" when I told someone how to enable the root account on Ubuntu.

Here at LQ, I'm not sure I can recall anyone getting disciplined for giving bad advice. (harassed, yes, but not disciplined.....) What is most common is that someone jumps on an obvious mistake, so that the OP doesn't stay on the wrong track for very long.

I suppose that if someone started posting consistently wrong or ill-advised solutions, they might get some input from the management.
 
Old 08-10-2009, 04:07 PM   #10
DGeeez
LQ Newbie
 
Registered: Mar 2009
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by forrestt View Post
Although running a system as root isn't illegal or unethical, it is extremely stupid (I say this with 14+ years of Linux use and almost 30 years of a computer background). As such, giving advice on how to accomplish it is not something that should be encouraged. Do I think your post deserved an infraction point? Not really because as you said, you are not encouraging the use of the information, just pointing out something that describes your question. I would think a warning would suffice, but then again, 1 point may be simply what the moderators consider to be a warning.

Now, to answer your question. By using sudo, you are only running as root those actions that explicitly require root level permissions to run, and after they are done, you go back to being a normal user. Everything else, you are running with user level permissions. If there is a bug in any of the software that you run, the potential is there for the program to fail into a system shell with the permissions of the user it is running at. If you run something as root, then a bug gives the potential to overwrite anything on the system, stop/start other apps or services as root, etc. If exploited by a cracker, then they are now able to make any program on your system be replaced with one of their own. If you run as a normal user, you are limiting what can be overwritten to things that you own, typically limited to things in your home directory. The less things that you run as root, the less possibility there is for a software bug to be exploited to gain root level access.

I hope that answers your question.

Forrest
So then, if I think that I am running in root, and the command which I try to run gets held up by a root priveleges issue, then does it necessarily mean that I am not running root? You see, I was under the impression that the AllowRoot=True (modidfied from false in gdm.conf would change my default login, although a harder look at that idea would make the system design as stupid than the user if that was possible. I had my system set to log in automatically, feeling safe in my own home where I wish to live free of hassles, yadaya. What I was trying to accomplish was to fix a nautilus-related problem which may or may not have had anything to do with security status. If I could redo the original post, it would be like this:

Last edited by DGeeez; 08-10-2009 at 10:01 PM. Reason: My apologies to any who saw what I had intended to add to my thread post and went WTF - not sure how it happened!
 
Old 08-10-2009, 04:51 PM   #11
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
If you login as root you have absolutely full access to the whole system and any screwups can either trash your system or leave you vulnerable. Using sudo means that you have to so it as your user so you can restrict access to commands and if anything does go wrong you can trace who screwed up - being root means you only know that root did it.
 
Old 08-10-2009, 09:50 PM   #12
DGeeez
LQ Newbie
 
Registered: Mar 2009
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by GrapefruiTgirl View Post
http://www.linuxquestions.org/questi...debian-745036/

@ Dgeeez

Welcome to LQ

You may find that the link I posted here addresses (to some degree) the sentiment you will typically get, if you were to post a thread about a similar topic here at LQ. I think I can safely say, you would not have received an infraction from LQ for posting a tutorial about logging in as root.

That said, it's a good idea when making such a post or tutorial, to include the appropriate "dire warning" about the possible consequences of doing so, so that the reader will understand how easy it is to bork his/her system by making a wrong move as root. Of course, the same applies with ANY distro, not just Ubuntu.

Also, as per the LQ Rules, posting anything illegal is of course prohibited.

Enjoy LQ, and if you have any further comment or questions about LQ, feel free to inquire.

Cheers!
Sasha
Thanks!
 
Old 08-11-2009, 05:37 AM   #13
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Here is the official Ubuntu forum policy about logging in as root:
http://ubuntuforums.org/showthread.php?t=716201
Enabling the root account in Ubuntu is not recommended:
https://help.ubuntu.com/community/RootSudo
DGeeez,
You are not the only one to receive an infraction from the Ubuntu forum police about a root tutorial. I have seen other well meaning people chastised in the Ubuntu forums for telling someone how to enable the root account. I don't agree with this either; and I suspect that many people in the Ubuntu forums would agree that this is uncalled for. (Notice how the thread on the root policy that I linked to was closed after 2 of the moderators posted to it; and no one else was permitted to post there).
Although the root account is not recommended in Ubuntu, everyone can run their system any way they want. As long as you include the usual caveats about logging in as root, I don't think you should receive an infraction for posting a tutorial about the root account.

Last edited by tommcd; 08-11-2009 at 05:48 AM.
 
Old 08-11-2009, 05:45 AM   #14
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Quote:
FAQs
I don't want to be "educated." I know the risks and want to enable the root account. Why can't I run my computer the way I want?
You can run the way your computer the way you want the same way we can run these forums the way we want. We do not want to support you in subverting Ubuntu's security model. If you want to find help outside of these forums, you're welcome to do so.
My emphasis.

This is the pertinent bit - in any forum, the admins/mods can make whatever rules they like and anyone who signs up implicitly agrees to follow those rules. I would imagine that it is set up this way so that the forums can adhere to/parallel Ubuntu's policies. Some forums are more restrictive than others, but them's the breaks I'm afraid.
 
  


Reply



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
police hackers sycamorex General 40 01-11-2009 09:02 AM
police rights in the usa ungua General 26 10-03-2006 02:09 AM
Does the US ARMY/police use Windows? colinstu General 6 04-12-2006 03:56 AM
Shell Police VGA aka Shiva Red Hat 2 04-12-2005 04:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:28 AM.

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