C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 12-28-2003, 02:35 PM   #1
Registered User
 
Machewy's Avatar
 
Join Date: Apr 2003
Posts: 42
How secure is Linux's secured files?

I notice that in windows I can pretty much...
open any file I want to
read any file I want to
write to any file I want to
delete any file I want to

However, I notice that Linux is very secure with it's files that it doesn't grant permission for one to examine. Of course, me being very ambitious, I had to find a way to override it.

I programmed like 45 different programs, and none of them worked.

Here is the situation:

I am located at: /home/matt
My sister's is at: /home/lizardbreath

Let's say that I want to access a text file called mybigsecret.txt

How in the world is it promatically possible, without me just typing in my root password?
Note: it's my computer!

Does anyone know if it is?

Best Regards,
Matt.
__________________
"All things come to an end"
Machewy is offline   Reply With Quote
Old 12-28-2003, 02:44 PM   #2
C++ Developer
 
XSquared's Avatar
 
Join Date: Jun 2002
Location: UWaterloo
Posts: 2,718
>>How secure is Linux's secured files?
How secure are Linux's secured files?

I doubt that it's possible without root access. If there were flaws like that, the open-source community probably would have patched them up pretty darn quick.
__________________
Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie
XSquared is offline   Reply With Quote
Old 12-28-2003, 03:39 PM   #3
Registered User
 
linuxdude's Avatar
 
Join Date: Mar 2003
Location: Louisiana
Posts: 926
if you want to open it you should become root and chmod it or chown it or chgrp it man those three for info. If Linux let you do stuff like that then it would be as secure as Microsoft
If you want to open/read/write any file you want just become root and run around as that(JUST KIDDING HIGHLY UNSTABLE) You could accidently delete something you don't want to. Here is what I accidently did while I ran around as root(learned my lesson) I had a file called / on accident. Naturally I did
rm / -rf. Of course that deletes root directory. I sould've done
rm \/ -f Always being root is not a good thing. Why do you think it is so secure
linuxdude is offline   Reply With Quote
Old 12-30-2003, 06:58 AM   #4
Me
 
-=SoKrA=-'s Avatar
 
Join Date: Oct 2002
Location: Europe
Posts: 448
>>without me just typing in my root password?
Try a local root exploit that would give you root-level access. That's just a way around the su'ing into root, since you are really the superuser.
__________________
SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
I say what I say, I mean what I mean.
IDE: emacs + make + gcc and proud of it.
-=SoKrA=- is offline   Reply With Quote
Old 12-30-2003, 09:24 AM   #5
still a n00b
 
Jaguar's Avatar
 
Join Date: Jun 2002
Posts: 187
Note that you also need "excute bit on" for the directory, files reside. Kinda "drwxrwxrwx".
[edit] If you are not a root
__________________
slackware 10.0; kernel 2.6.7
gcc 3.4.0; glibc 2.3.2; vim editor
migrating to freebsd 5.4
Jaguar is offline   Reply With Quote
Old 01-11-2004, 09:13 AM   #6
Registered User
 
Join Date: Jan 2004
Posts: 20
This is Something I was Wondering...

How in the world is it possible that an OPEN SOURCE OS has so much security... Means when it is possible to HACK a Closed SOurce.. then why in this world, an Open SOurce still prevails UNHACKED...

When the whole Source is known to a person, can't he find a way out of getting access to the files..I suppose that is possible..

The key aspect of the whole security of Linux is probably just a myth that LINUX is most Secured OS in the World... although I am sure that it offers a higher level of security than does a CLosed Source like WINDOWS.

A really amusing aspect...

Don't u guys Agree with me...
__________________
Just b Crazy abt Life and Programming.....
thecrazycoerian is offline   Reply With Quote
Old 01-11-2004, 11:00 AM   #7
C++ Developer
 
XSquared's Avatar
 
Join Date: Jun 2002
Location: UWaterloo
Posts: 2,718
>>When the whole Source is known to a person, can't he find a way out of getting access to the files..I suppose that is possible..
No, because when most people find an exploit like that, they patch it up, and let the community know.
__________________
Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie
XSquared is offline   Reply With Quote
Old 01-11-2004, 03:06 PM   #8
Registered User
 
linuxdude's Avatar
 
Join Date: Mar 2003
Location: Louisiana
Posts: 926
Quote:
Originally posted by thecrazycoerian
When the whole Source is known to a person, can't he find a way out of getting access to the files..I suppose that is possible..
If you mean look at the source and figure a way into root then that is impossible. Or if you mean look at the encryption algorythm and figure out how to decrypt it, then you are wrong again. Not every encryption has a decryption. Linux is the most secure OS nothing around it
linuxdude is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Create Copies of Files Kanshu C++ Programming 13 05-09-2009 07:53 AM
Reading .dat files from a folder in current directory... porsche911nfs C++ Programming 7 04-04-2009 09:52 PM
Batch file programming year2038bug Tech Board 10 09-05-2005 03:30 PM
reinserting htm files into chm help files verb Windows Programming 0 02-15-2002 09:35 AM


All times are GMT -6. The time now is 12:05 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22