Post Reply  Post Thread 
Pages (6): « First [1] 2 3 4 5 Next > Last »
A question of security
Author Message
Phillip J Fry
Unregistered


Post: #1
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
Quote this message in a reply
Gareth
Administrator
*******


Posts: 11,496
Group: Administrators
Joined: Jul 2004
Status: Offline
Post: #2
RE: A question of security

marioLuvsbowser Wrote:
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.

Quote:
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

Quote:
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
Find all posts by this user Quote this message in a reply
Phillip J Fry
Unregistered


Post: #3
RE: A question of security

Oh okay thanks Big Grin 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
Quote this message in a reply
Gareth
Administrator
*******


Posts: 11,496
Group: Administrators
Joined: Jul 2004
Status: Offline
Post: #4
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
Find all posts by this user Quote this message in a reply
Kapkao
Unregistered


Post: #5
RE: A question of security

pfffffffffttttttttttt Algebra is stupid easy.


Calculus is what makes a difference in today's IT world. Wink

02-29-2012 06:57 AM
Quote this message in a reply
Gareth
Administrator
*******


Posts: 11,496
Group: Administrators
Joined: Jul 2004
Status: Offline
Post: #6
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
Find all posts by this user Quote this message in a reply
Kapkao
Unregistered


Post: #7
RE: A question of security

Gareth Wrote:
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
Quote this message in a reply
Phillip J Fry
Unregistered


Post: #8
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
Quote this message in a reply
Gareth
Administrator
*******


Posts: 11,496
Group: Administrators
Joined: Jul 2004
Status: Offline
Post: #9
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 Smile




“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
Find all posts by this user Quote this message in a reply
Phillip J Fry
Unregistered


Post: #10
RE: A question of security

Oh okay gotcha Big Grin What would the math part of programming be for anyways ?

02-29-2012 10:25 PM
Quote this message in a reply
Lestat



Posts: 3,402
Group: Registered
Joined: Apr 2006
Status: Offline
Post: #11
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
Find all posts by this user Quote this message in a reply
Kapkao
Unregistered


Post: #12
RE: A question of security

marioLuvsbowser Wrote:
Oh okay gotcha Big Grin 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. Cool

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 Wink)

edit; moderate dyslexia Tongue

edit2; forgot a link :/

03-01-2012 05:44 AM
Quote this message in a reply
Kapkao
Unregistered


Post: #13
RE: A question of security

A moderately useful "list of Python software"

My favorite part: Civilization IV gets an honorable mention. Tongue

03-01-2012 05:53 AM
Quote this message in a reply
Phillip J Fry
Unregistered


Post: #14
RE: A question of security

Lol Actually that is one of my "Special interests" Big Grin I love reading how the machine works... And Lestat if your running Linux, then some sort of Pascal programming document should come as a package download, if you can't find one, just do a google search for "Free Pascal programming pdf download/s. Here's a link to a 174 pg free Pascal download Programmer's Guide -Free Pascal
And here's on using C in Pascal How to use C in free Pascal projects
And here's one for Object Pascal Language Guide Object Pascal Language Guide
If non of these works for you here's a link to the 2nd result page for the search terms I used on Google Big Grin

www.google.com 2nd results page for Pascal programming

I hope these links help you Lestat Big Grin

03-01-2012 08:00 PM
Quote this message in a reply
Kapkao
Unregistered


Post: #15
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
Quote this message in a reply
Pages (6): « First [1] 2 3 4 5 Next > Last »
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: