Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 23 Aug 2014, 15:20
All times are UTC - 4
 Forum index » Off-Topic Area » Security
Why I don't like running as root (in Puppy)
Post new topic   Reply to topic View previous topic :: View next topic
Page 9 of 9 [130 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9
Author Message
Testing1.2.3.

Joined: 29 Feb 2012
Posts: 2

PostPosted: Wed 29 Feb 2012, 22:51    Post subject: Solved
Subject description: You don't have to run puppy as root
 

Not sure if this is only for newer distributions, but you can use

Code:
su spot


This will give you user level access to start applications from the terminal...

This is an older post, but I hope that information helps someone.

I read through some of the pages hoping for a solution.
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Thu 01 Mar 2012, 12:29    Post subject: Re: Solved
Subject description: You don't have to run puppy as root
 

Testing1.2.3. wrote:
Not sure if this is only for newer distributions, but you can use

Code:
su spot


This will give you user level access to start applications from the terminal...

This is an older post, but I hope that information helps someone.

I read through some of the pages hoping for a solution.


I don't like " running as root (in Puppy) " either.

(Going derail just to explain. I love that I can run as root
this easily on Puppy but I don't like the added risk of being root okay)

But how can something that simple as

su spot

be the end of many years of futile search for a solution?

Sure I would be very happy if it is the solution but that would be
a surprise? I mean the Dev of Puppy has not accepted it or
should I trust them don't know about it?

We have a thread named Fixing Fido maybe you can help out with that
one using the su fido instead?
http://murga-linux.com/puppy/viewtopic.php?t=71358
Test it and give a description of how it solved things?

Friendly smile

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Fri 09 Mar 2012, 10:54    Post subject:  

Yeah, we know about spot. That lets you run things as a user on a program by program basis. Using 'su spot' is a good way to safeguard a program that might be hacked, e.g. your browser.

But no, it isn't a real solution to the actual problem caused by lack of multi-user, which is: how to securely share the OS among multiple human users. Multi-user is about protecting the other users of your install, not yourself. If there aren't any other users, then there isn't much point - even if you did run as a limited user, the hacker would have no trouble at all reading your data and setting up his code to run as soon as you log in.

The problem with being root is that IF you have other people using the computer, and the root account is compromised, the hacker can access everybody's data, and can bring down the entire OS if he wants. Giving each user his own account means they can't tamper with the OS and they can't tamper with eachother's files. If one of them gets hacked, the rest are still safe (assuming a strong root password and no other exploits leading to root). That is the functionality that multi-user provides. The 'su spot' technique isn't sufficient to provide that.

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
cobelloy


Joined: 23 May 2005
Posts: 193
Location: Nth Dinninup W.Australia

PostPosted: Wed 14 Mar 2012, 06:56    Post subject: what am I doing wrong ??  

hi, trying to run chrome - wont run as root, solutions such as the puppy-chrome script here http://murga-linux.com/puppy/viewtopic.php?search_id=669615217&t=72667 and adding --user-data-dir= option to the google-chrome script will allow it to start but leave it unable to access any google features (gmail, google search etc...) another solution is to edit the binary file /opt/google/chrome/chrome so it no longer checks for superuser status - but I don't know how.

so

I added a user - with a home directory but when I su - user I get permission denied??

uuuggghhhh
please help
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Thu 15 Mar 2012, 14:30    Post subject:  

My guess would be that you forgot to make the new user the owner of his home directory, which could be done like this (adjusting for your own particulars):
Code:
chown -R user:user /home/user

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
cobelloy


Joined: 23 May 2005
Posts: 193
Location: Nth Dinninup W.Australia

PostPosted: Thu 15 Mar 2012, 20:17    Post subject:  

nope - still get same error after running that chown command Sad
Back to top
View user's profile Send private message 
666philb


Joined: 07 Feb 2010
Posts: 1660
Location: wales

PostPosted: Fri 16 Mar 2012, 10:25    Post subject:  

hi cobelloy

google chrome is working for me using iguleders run as root .pet....

gmail googleapps... search all working

_________________
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
LÖVE2d, a collection of 27 lua gameshttp://www.murga-linux.com/puppy/viewtopic.php?t=76739
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11084
Location: The Peoples Republic of California

PostPosted: Sat 17 Mar 2012, 22:51    Post subject:  

Flash wrote:
Anyone could drive a stake through this thread's heart anytime, by actually proving they had a problem which was caused by running Puppy as root. For instance, a computer that was taken over by malware which couldn't have worked if they hadn't been running as root. Until I see proof that it actually caused a problem, I'm not going to worry my pretty little head over running as root. :lol:


I was running as root, then got up and left the computer running. I helped someone move a sofa bed, and I tore a fingernail. It hurt and the pain lasted.

Slow learner which I must be, I'm still running as root. Still having problems such as spilling beverages on the keyboard.

~

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Sun 18 Mar 2012, 07:18    Post subject:  

Above reminds me of...Dirk Gently's Holistic Detective Agency.
Holistic causalgia explains everything.
Running as root can cause really severe holistic consequences.
Be warned....
Back to top
View user's profile Send private message 
linuxbear

Joined: 18 Apr 2009
Posts: 621
Location: Las Vegas, Nevada, USA

PostPosted: Sun 18 Mar 2012, 16:32    Post subject:  

Bruce: Is it possible that the root of your recent problem is not Linux?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 9 of 9 [130 Posts]   Goto page: Previous 1, 2, 3, ..., 7, 8, 9
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Security
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0727s ][ Queries: 12 (0.0065s) ][ GZIP on ]