|
A question of security
|
| Author |
Message |
Phillip J Fry
Unregistered
|
A question of security
Hey guys, I got a few questions about security risks for any Linux desktops.
1 Is it a bad idea to use chmod in file managers such as mc (Midnight Commander) as super user just to change file permissions so that you could use that program in WINE (Window's Emulator)?
2 Another question involving mc, I notice that a directory within the dev directory has been modified since today, this folder is under /dev/.udev/links/. Should I be concerned about it? I'd had a program called rootkithunter find suspicious files in this folder before and think my system may have been cracked into.
3 If I did do something stupid chmod and my system has been compromised, does anyone know a site where I can learn better security or a book I should read? I've heard this many times since using Linux that I should go"RTFM" but my ubuntu system didn't come with anything about security, nor do I know where to find any manuals on the subject. So your guy's input would be much appreciated, thank you
|
|
| 02-28-2012 07:19 AM |
|
 |
Gareth
Administrator
      
Posts: 11,496
Group: Administrators
Joined: Jul 2004
Status:
Offline
|
RE: A question of security
Hey guys, I got a few questions about security risks for any Linux desktops.
1 Is it a bad idea to use chmod in file managers such as mc (Midnight Commander) as super user just to change file permissions so that you could use that program in WINE (Window's Emulator)?
You don't need to do that, just type "wine whatever.exe", but doing "chmod +x whatever.exe" won't really cause any issues.
2 Another question involving mc, I notice that a directory within the dev directory has been modified since today, this folder is under /dev/.udev/links/. Should I be concerned about it? I'd had a program called rootkithunter find suspicious files in this folder before and think my system may have been cracked into.
This is normal
3 If I did do something stupid chmod and my system has been compromised, does anyone know a site where I can learn better security or a book I should read? I've heard this many times since using Linux that I should go"RTFM" but my ubuntu system didn't come with anything about security, nor do I know where to find any manuals on the subject. So your guy's input would be much appreciated, thank you
Doing something with chmod, no matter how stupid, will not allow a remote attacker to get access to your system unless you have a webserver running AND you share /etc/passwd, but that would be 2 unique types of stupidity and would require active effort.


“Lanie, I’m going to print more printers. Lots more printers. One for everyone. That’s worth going to jail for. That’s worth anything.” - Printcrime by Cory Doctrow
|
|
| 02-28-2012 12:12 PM |
|
 |
Phillip J Fry
Unregistered
|
RE: A question of security
Oh okay thanks Just one more question though, would you need to know any kind of maths to be able to program? To be honest I only have a 5th grade understanding of maths cause of different circumstances while in high school and was wondering if I needed to learn algorithmic algebra or anything like that ?
|
|
| 02-29-2012 01:12 AM |
|
 |
Gareth
Administrator
      
Posts: 11,496
Group: Administrators
Joined: Jul 2004
Status:
Offline
|
RE: A question of security
You need to understand algebra, yes - since programming basically IS algebra


“Lanie, I’m going to print more printers. Lots more printers. One for everyone. That’s worth going to jail for. That’s worth anything.” - Printcrime by Cory Doctrow
|
|
| 02-29-2012 01:55 AM |
|
 |
Kapkao
Unregistered
|
RE: A question of security
pfffffffffttttttttttt Algebra is stupid easy.
Calculus is what makes a difference in today's IT world.
|
|
| 02-29-2012 06:57 AM |
|
 |
Gareth
Administrator
      
Posts: 11,496
Group: Administrators
Joined: Jul 2004
Status:
Offline
|
RE: A question of security
Specifically lambda calculus


“Lanie, I’m going to print more printers. Lots more printers. One for everyone. That’s worth going to jail for. That’s worth anything.” - Printcrime by Cory Doctrow
|
|
| 02-29-2012 09:47 AM |
|
 |
Kapkao
Unregistered
|
RE: A question of security
Specifically lambda calculus
Sure... whatever you say.
However... calculus (in general) is literally what makes the world go round and round.
|
|
| 02-29-2012 09:52 AM |
|
 |
Phillip J Fry
Unregistered
|
RE: A question of security
I need to also brush up on long division through algebra while I'm on it... @ Gareth I heard of calculus but never heard of Lambda Calculus
|
|
| 02-29-2012 05:53 PM |
|
 |
Gareth
Administrator
      
Posts: 11,496
Group: Administrators
Joined: Jul 2004
Status:
Offline
|
RE: A question of security
You can get away with not studying the mathematical basis of the whole thing and still write plenty of good code so don't worry


“Lanie, I’m going to print more printers. Lots more printers. One for everyone. That’s worth going to jail for. That’s worth anything.” - Printcrime by Cory Doctrow
|
|
| 02-29-2012 06:49 PM |
|
 |
Phillip J Fry
Unregistered
|
RE: A question of security
Oh okay gotcha What would the math part of programming be for anyways ?
|
|
| 02-29-2012 10:25 PM |
|
 |
Lestat
Posts: 3,402
Group: Registered
Joined: Apr 2006
Status:
Offline
|
RE: A question of security
I'd been wondering something similar. I'm so severely dyscalculic doing very basic addition/subtraction is about it, and more basic still multiplication.
And want to learn to program. (pascal, using delphi), but really not sure where to start.
The light blinds
So behold darkness as our new light
In our darkness we can see
So with others blindness
We take flight.
|
|
| 03-01-2012 03:13 AM |
|
 |
Kapkao
Unregistered
|
RE: A question of security
Oh okay gotcha  What would the math part of programming be for anyways ?
CPU instructions (VERY difficult but fun to explain)
Imagine a "byte" as a rectangle with 8 squares within it.
Then, imagine that every 'square' is something called a "bit", or a binary unit, and is represented with a 1 or 0 (kind of like an on/off switch.)
Still following me? Haven't lost your interest? Ok, then.
Most "instructions" are supremely complex algebra forms like "XOR" or "DWORD". (press Ctrl-F to find "DWORD" in the page)
There's also this larger computational concept called "bitwise operation"; which is the concept that includes all others in electrical microchip computing. 
You don't have to understand how these things work (necessarily), merely that they do.
Surely you must be bored by now!
Which is why I'm moving on to the collective 'fun' of desktop/laptop programming: programming languages.
What are they? They are the basic architecture of source coding.
How do you choose them? Well... try "python". It's Gareth-recommended.
What are it's merits? It's free. (being the most important part )
edit; moderate dyslexia 
edit2; forgot a link :/
|
|
| 03-01-2012 05:44 AM |
|
 |
Kapkao
Unregistered
|
RE: A question of security
|
|
| 03-01-2012 05:53 AM |
|
 |
Phillip J Fry
Unregistered
|
RE: A question of security
|
|
| 03-01-2012 08:00 PM |
|
 |
Kapkao
Unregistered
|
RE: A question of security
<--- Does not particularly like Linus Torvald's vision of future operating systems, but understands it from the perspective of 'rebelling against Microsoft and closed source programming'.
|
|
| 03-01-2012 08:28 PM |
|
 |
|
|