|
|
Finding out if you are infected
Why is the command to find out if you are infected "sudo ls -l /Users/*/Public/.info"?
In particular, I presume that the sudo is there just in case the permissions on the directory have been changed. (Ordinarily, everyone is allowed to see your Public directory.) However, because the "*" is expanded before sudo is executed, it won't help; if the directory is not readable by the user executing the command, it will never even get passed to sudo. I can't think of a simple way to do this. One can either:
(Make sure to type exit! sudo -s gives you a root shell, which is very dangerous, so you want to exit the shell as soon as you are done.) Or you can write a loop: In tcsh:
In bash: well, I dunno, but I'm sure someone will translate the above script. If see a bunch of error messages, that's good. If you see an actual listing of a file, that is bad.
Finding out if you are infected
Your comment is quite correct: To do it in a single command, use this: Brendan |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks 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.09 seconds |
|