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 Mon 24 Nov 2014, 21:02
All times are UTC - 4
 Forum index » Off-Topic Area » Security
Run As The Root User Account
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 3 [34 Posts]   Goto page: Previous 1, 2, 3
Author Message
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Tue 10 May 2011, 10:32    Post subject:  

SimpleWater wrote:
jpeps wrote:
BTW/ I once DID wipe out an entire partition with rm -r * accidentally. I think it was very late, and I thought I was inside a directory. It happens fairly quickly. It can also happen from within a script if something screws up. In that case, not being in root could really be a blessing.


If using pwd or ls is too much for you, you should consider editing your .bashrc to include your current working directory,


It happened from within a script I was testing. When doing a lot of programing, the chances of screwing things up increases substantially.
Back to top
View user's profile Send private message 
SimpleWater

Joined: 19 Apr 2011
Posts: 95

PostPosted: Tue 10 May 2011, 11:59    Post subject:  

Lobster wrote:
Quote:
If using pwd or ls is too much for you

Do not underestimate the unreasonable capacities of some users . . .
http://clientsfromhell.net/post/4963761018/me-how-can-i-help-you-today-maam-client-is


sounds like my parents Laughing

jpeps, just try and be careful. I have yet to see how it can happen, but then again i have a hard time relating since i know little about programming.
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Tue 10 May 2011, 12:41    Post subject:  

SimpleWater wrote:


jpeps, just try and be careful. I have yet to see how it can happen, but then again i have a hard time relating since i know little about programming.


Linux has evolved via many thousands of users over the years, and there's a reason for most things, such as use of permissions, read-only options, etc., that may not be immediately transparent. Having the correct tools available is precisely the way to "be careful"....that's the point.
Back to top
View user's profile Send private message 
Mechanic_Kharkov


Joined: 24 Jul 2011
Posts: 9
Location: Kharkov, Ukraine

PostPosted: Wed 27 Jul 2011, 03:16    Post subject:  

Hail a holy war! Smile
I agree that if you're programming then there is much more possibilities for you to break the system down. The closer you are to ring0 the closer system crash is. It's mostly about drivers only, but even ring3 progz can hardly damage the system in test runs if being improperly designed.
As for me, I never run as Administrator@Win* or root@*nix if it is not really required. Especially in Windows.
Puppy is running under root by default and there is not much possibly damage if things would go wrong here - it's entirely in RAM, so I don't mean. But if system is on hdd then being a non-root becomes very actual.

And Yes, I really believe that I personally never type a command that will kill my system in command prompt,
.. but I really can't know what will do the prog that I run first time if it is written by somebody else, not me!

_________________
Let's digitize the world to re-compile it to better suit our own needs!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 3 [34 Posts]   Goto page: Previous 1, 2, 3
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.0498s ][ Queries: 12 (0.0044s) ][ GZIP on ]