LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-03-2007, 03:56 PM   #1
Bootshoe
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Rep: Reputation: 0
just a single user linux?


I wan't a "Single User Linux" is there such a thing?

I am the only one on my computer, no chance anyone will be on it, I bought it, it is mine.
it i get i'm not authorized to view the FREE file I put on MY computer message again, I will puke.
sorry,

and yes. If I am dumb enought to type something that causes my computer to blow up in my face.
Then I want it to blow up. not some freaking cant do it message.

sorry, mad as im writting, please excuse.

it seemes it would be much simpler for someone like me to have the multiuser part just taken out.

I hear about a linux for everyone, why not this then?
 
Old 04-03-2007, 04:05 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if you want to pretend that's a good idea, just use ubuntu.
 
Old 04-03-2007, 06:07 PM   #3
Zention
Member
 
Registered: Mar 2007
Posts: 119

Rep: Reputation: 16
Edit /etc/passwd (vipw) as root and change the first two numbers to 0 on your user name line.

Your security will drop as you have just removed the escalation of privilege step for a box takeover but you will be able to wander around your system with freedom but not impunity


Most get used to the idea of being a user and switching to root when administrating the system though.

su -
xhost +localhost

are two good commands to remember.
 
Old 04-03-2007, 06:36 PM   #4
Bootshoe
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Original Poster
Rep: Reputation: 0
acid, I do use Ubuntu, How can it not be a good idea for a single user?

zention, I do still need security from the internet (firewall?), will doing what
you said hurt that?

and Thanks )
 
Old 04-03-2007, 07:39 PM   #5
Zention
Member
 
Registered: Mar 2007
Posts: 119

Rep: Reputation: 16
If security is of any concern to you, then you never run as root when introducing foreign activity on the system.

That is the benefit of multiuser systems, and it is also a good reason why there have been very few worms for unix systems. Worms aim for root this allows easier propagation of the malware by controlling all the host.

With security there is always a inverse relationship to access, so I would advise you just su - (though of course if you are on ubuntu they have that rather annoying sudo business, you can get round it though or just change distro).

Does a firewall protect you if root is compromised, say through an exploit through the browser, well the answer is no, it does not. If they can run code at root privileges all your defenses are vulnerable.

I personally am in the camp of trying to hinder the power of root as much as possible - but of course ultimately there will always be one form of top level control.

The reason why compromising a window's box has been so prolific is in major part due to the fact that windows allows easy access that is their/was/still is their computing paradigm.

Amusingly Stallman himself took freedom to mean easy access, I think he was leaving an open relay on his systems,.

Most in the unix world understand the need to have a separate account for everyday use and one for the hallowed root, it is not really about being anal but just a sane first layer for defense.
 
Old 04-03-2007, 07:40 PM   #6
oskar
Senior Member
 
Registered: Feb 2006
Location: Austria
Distribution: Ubuntu 12.10
Posts: 1,142

Rep: Reputation: 49
get used to the root / user idea
seriously.
You'll pull all your hair out much faster if you don't.

After some time you don't even notice, you automatically write sudo when you know you need it. Just my 2 cents. Of course you're free to blow yourself up and find out yourself :P
 
Old 04-03-2007, 08:05 PM   #7
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Rep: Reputation: 164Reputation: 164
The same as Zention said, I recommend that you learn to use your system under a normal user, then switch to root only when required. Experience in the Windows world has shown me that it is NOT a good idea to run your system as administrator or root. One wrong, albeit unitentional, could destroy your system and all of your data.

However, if you really want to be all-powerful, I also believe Ubuntu allows this by default.
 
Old 04-04-2007, 01:40 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
everyone always thinks that they're the first to quesion a multi user environment. in my experience they either give up with linux completely or soon agree it's a very good thing...
 
Old 04-04-2007, 09:34 AM   #9
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
Just my two cents:

I believe that people who have been Windows users trying Linux for the first time get very frustrated when they see a lot of "permission denied" messages. They're too used to having full access to the entire system. They don't understand that, in Windows, they've been using Administrator rights all the time because that's the way the system was setup and they didn't know it. Then they try Linux as a user, try to copy a file or install a program and see "permission denied". Rather than change their way of thinking and have to learn a new system they stick with what they know. For them, comfort in the hands of a bulls-eye is better than the protection of freedom.

Quote:
Originally posted by Oskar
After some time you don't even notice, you automatically write sudo when you know you need it.
It's true!

BTW: Another single-user linux is Puppy.
 
Old 04-04-2007, 09:55 AM   #10
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Manjaro
Posts: 963

Rep: Reputation: 36
if you use linux as root all the time it will not stop you doing anything totally stupid atall,

you can delete your entire system without any prompting or second chances, a normal user will not be able to do this.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Preventing Linux from booting in Single User Mode LinuxSeeker Linux - Security 8 08-28-2009 07:12 AM
Linux Single user mode fw12 Fedora 3 03-30-2007 02:39 PM
I can't run Firefox from my single user(only from a super user) nightrider Linux - Newbie 14 10-24-2006 08:35 PM
Best Linux release for Single User... audibel Linux - Newbie 4 10-29-2004 10:15 AM
linux single user mode and lilo installed failed ckamheng Slackware 1 11-27-2003 01:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:09 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