|
|
About OS X 'trojan horses'
Apple should not do anything about it, MHO.
About OS X 'trojan horses'
If you replace rm -rf with /bin/rm -rf in above example you are back to square one. In addition your alias will have to defined regardless of the shell the malicious script will use. Therefore, an alias is only a very weak protection in this case.
About OS X 'trojan horses'
As a user the protection is simply to alias 'rm' to 'rm -i'How do you do that?
About OS X 'trojan horses'
actually, i tried aliasing rm to "rm -i"; it works as long as you use rm without arguments, and will ask for permission. however, if you use rm -f, it bypasses the permissions, and just deletes the file. is it just me?
About OS X 'trojan horses'
You're correct.
About OS X 'trojan horses'
-i cancel PREVIOUS f, so if you created alias like rm -i and use it like
About OS X 'trojan horses'
This is so funny. This is nothing more than a basic unix command. It is on EVERY UNIX-LIKE OS and has been for years and years.
About Mac OS X ‘trojan horses'
I'm as non-plused about this warning as I was about the last one from Intego, about another ‘exploit' that has been known about for years. I half expect them to breathlessly announce that there is a dangerous feature in Mac OS X whereby you can (gasp!) empty the trash without warning, and potentially delete important files!
About OS X 'trojan horses'
I am new to Unix. Can you pl tell me how to alias "rm" to "rm -i". |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.15 seconds |
|