code problem

Asked by Amir on 2008-07-21

I had went to the following link: http://brainstorm.ubuntu.com/idea/485/
and i used the code sudo apt-get install menu-xdg .After that had apperes a option Debian in menu of applications.I would like know does this code harms?In general how we can find out a code is not harmful?and how we can check our system security?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Bhavani Shankar
Solved:
2008-07-21
Last query:
2008-07-21
Last reply:
2008-07-21
Thor K. H. (nitrolinken) said : #1

menu-xdg is a package of an open source application. If you're interested in
knowing whether it's harmful, download the source code and see for yourself.

Best Bhavani Shankar (bhavi) said : #2

Hello

If it's on a Canonical Repo, I'm fairly certain it's free of malicious code.

Any third-party repos, I'd suggest only using those that are trusted.

Other than that, use common sense prior to adding any unknown or unfamiliar repos and installing software from them

and AFAIK Ubuntu comes with no warranty at all, you use it at your own risk.
Most of the software in the repositories has been there for years, it would be foolish to add malicious code to a program and then publish it. It won't take long until someone notices it.... :)

You can check for system integrity after package has been downloaded

http://packages.ubuntu.com/hardy/debian-installer/system-integrity-check

sudo apt-get install system-integrity-check

more info read the man pages

man system-integrity-check

regards

Amir (amireazad) said : #3

Thanks for your inteligente solution!! I asked particullary about this package and genereally for other code how to finds out whether is harmful or not and u said to see myself!!

always download software from trusted repositeries like official ones

Amir (amireazad) said : #5

Thanks Bhavani Shankar, that solved my question.