Sudo -S with Terminal - Did something get messed up?

Hey everyone,
I just had a quick question...Today I got my 2011 Macbook Pro from repair. Everything was replaced, so everything on my computer, including applications, was lost. I've been reinstalling them, no worries. I let someone with the proper software install Adobe Creative Suite, but I found out he was using a pirated version he had on an external, and I removed it - the company I work for would obviously not support it. However, after doing a bit of searching, I want to make sure nothing on my computer got screwed up, because when I found out it was pirated and I searched for it, there were some security concerns, specifically with the sudo -s command in terminal.
This is what was done (I think, this was in a "install.txt" file):
Run Osx/disable_activation_osx as root
  if you dont know how to do that, open a terminal window
  then issue sudo -s, a root shell will open
  then simply do "sh disable_activation_osx" w/o the ""
  or ./disable_activation_osx( make it executable chmod 755 disable_activation_osx
  you do that from the folder where disable_activation_osx is. (just copy it anywhere on your hdd)
  Or do it manually
  Add the text below to the bottom of your hosts file. To get to hosts file, type "sudo nano /private/etc/hosts"
# Adobe Blocker
127.0.0.1 lmlicenses.wip4.adobe.com
127.0.0.1 lm.licenses.adobe.com
When I checked the contents of the disable_activation_osx file, I found this:
echo "Do you wish to update your host file ?"
select yn in "Yes" "No"; do
    case $yn in
        Yes ) echo "127.0.0.1     activate.adobe.com" >> /etc/hosts;
          echo "127.0.0.1     practivate.adobe.com" >> /etc/hosts;
              echo "127.0.0.1     lm.licenses.adobe.com" >> /etc/hosts;
              echo "127.0.0.1     lmlicenses.wip4.adobe.com" >> /etc/hosts;
               break;;
        No ) break;;
    esac
done
Is this something I should be concerned about? And if so, should I just basically start with a completely clean version of OSX? Or is this something that is harmless? I wasn't sure because the script files don't seem to have anything but IP Addresses and URLs. But as I said, some websites were saying sudo -s can mess up your whole computer, and I don't want that!
Any help is appreciated!

What is there to be concerned about? The shell file is simply doing what you were instructed to do yourself manually.
By itself sudo -s doesn't screw up anything. It's what you enter next. Just be careful to either type or paste the instructions you were given. Or take it all to your IT people and ask them to fix it all for you.

Similar Messages

  • Ipod nano 5th is unrecognized and rejected after downloading new itunes on Windows 8. Everything works on both- can use ipod and charge, but no recognition, no sync. Whassup? Did something get lost in the itunes update?

    Ipod nano 5th is unrecognized and rejected after downloading new itunes on Windows 8. Everything works on both- can use ipod and charge, but no recognition, no sync. Whassup? Did something get lost in the itunes update?

    I'm having the same problem. I wish someone could respond with a solution for this! I've paid money for new songs and can't listen to them because of this! WTH APPLE?!?!?!?!

  • I dropped my iphone on the floor with the otterbox? did something get damage on the inside of my iphone?

    is something damage?

    An Otterbox is a very good case.
    If your iPhone is not damaged in any obvious manner (broken screen for example) then it is fine. Nothing will arise in the future as a result of having dropped it.

  • Routing ppp togheter with NFS, did I get it all right?

    Hi,
    I am new to archlinux and network routing so I was just woundering if someone could take a look and se if I made this correct.
    Setup:
    I have a small server, I want all traffic (except the one going through NFS to another computer on my local network) to go  through my VPN tunnel.
    For VPN I followed the guide "Microsoft VPN client setup with pptpclient" at https://wiki.archlinux.org/index.php/Mi … pptpclient. Works great!
    For NFS I followed the guide "NFS" at https://wiki.archlinux.org/index.php/NFS.
    I have not automated anything yet, wanted to make sure it works at is should first.
    Well, this is what it looks like:
    When I start up my server.
    [root@arch ~]# ip addr
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
    valid_lft forever preferred_lft forever
    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether 00:0c:6e:4a:e1:fb brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.139/24 brd 192.168.1.255 scope global eth0
    inet6 fe80::20c:6eff:fe4a:e1fb/64 scope link
    valid_lft forever preferred_lft forever
    [root@arch ~]#
    [root@arch ~]# ip route
    default via 192.168.1.1 dev eth0 metric 202
    192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.139 metric 202
    [root@arch ~]#
    Then I start my VPN tunnel with "/etc/rc.d/ipredator start"
    [root@arch ~]# ip addr
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
    valid_lft forever preferred_lft forever
    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether 00:0c:6e:4a:e1:fb brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.139/24 brd 192.168.1.255 scope global eth0
    inet6 fe80::20c:6eff:fe4a:e1fb/64 scope link
    valid_lft forever preferred_lft forever
    3: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1496 qdisc pfifo_fast state UNKNOWN qlen 3
    link/ppp
    inet 93.182.130.114 peer 93.182.130.2/32 scope global ppp0
    [root@arch ~]#
    [root@arch ~]# ip route
    default via 192.168.1.1 dev eth0 metric 202
    93.182.130.2 via 192.168.1.1 dev eth0 src 192.168.1.139
    93.182.130.2 dev ppp0 proto kernel scope link src 93.182.130.114
    192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.139 metric 202
    [root@arch ~]#
    Now I want to route everything through VPN(ppp0) and open for NFS to 192.168.1.135.
    [root@arch ~]# ip route add default dev ppp0
    [root@arch ~]# ip route add 192.168.1.135 dev eth0
    [root@arch ~]# ip route
    default dev ppp0 scope link
    default via 192.168.1.1 dev eth0 metric 202
    93.182.130.2 via 192.168.1.1 dev eth0 src 192.168.1.139
    93.182.130.2 dev ppp0 proto kernel scope link src 93.182.130.114
    192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.139 metric 202
    192.168.1.135 dev eth0 scope link
    [root@arch ~]#
    Now I believe everything except traffic to 192.168.1.136 is going through my VPN.
    NFSv4 is also forking great, speed up to 10MiB/s
    I feel quite happy with archlinux, tried to do this with outer distros but no luck.
    Feedback and comments most welcome.
    Best regards,
    /Christer

    OK, thank you.
    Do you have any suggestion on were routing in linux is explained in a easy newbie friendly way?
    Great, then it feels like I got it all up and running.
    But just the outer day I discovered that the routing changed for some reason, the server has just been running.
    The VPN tunnel, rtorrent, screen, tmux and htop that is it.
    When I started.
    [christer@arch ~]$ ip route
    default dev ppp0 scope link
    default via 192.168.1.1 dev eth0 metric 202
    93.182.180.2 via 192.168.1.1 dev eth0 src 192.168.1.139
    93.182.181.2 via 192.168.1.1 dev eth0 src 192.168.1.139
    93.182.181.2 dev ppp0 proto kernel scope link src 93.182.181.134.134
    192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.139 metric 202
    [christer@arch ~]$
    But then the day after.
    [christer@arch ~]$ ip route
    default via 192.168.1.1 dev eth0 metric 202
    93.182.153.2 via 192.168.1.1 dev eth0 src 192.168.1.139
    93.182.153.2 dev ppp0 proto kernel scope link src 93.182.153.68
    93.182.180.2 via 192.168.1.1 dev eth0 src 192.168.1.139
    93.182.181.2 via 192.168.1.1 dev eth0 src 192.168.1.139
    192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.139 metric 202
    [christer@arch ~]$
    I suspect that it can have been due to new ip for the VPN. I did not have 93.182.153.2 when I started.
    Any idea what can happen?
    Any way to keep "default dev ppp0  scope link"
    Thank you,
    Regards,
    /Christer

  • VIDEO IPOD BATTERY HELP OR DID I GET MESSED OVER AGAIN

    Hello boys and girls
    my original ipod that i had for several years was stolen....after some debate and penny pinching i decided to buy an IPOD 30gig video ...great i thought..now i can have my music and meditations when i work out again
    there is a radio shack nearby so i got it there...i also ..very cleaverly i thought... checked to make sure all the other stuff i had spent good money on ...docking station...fm transmitter for car...Altec speakers [great sound by the way] other stuff would work with it and the new video ipod fit perfectly into the docking station
    JOY TO THE WORLD...Mother Apple had been kind to me and i was going to have music again and had told that this IPOD was much easier to use then the one i had for 4 years that got swiped..
    THE JOY ENDED WHEN I GOT HOME...
    First of all I discovered that the FIREWIRE card i had bought for the first IPOD was no more good...now i have to have USB 2 which of course i didn't have
    since i work at night and go to school trapsing across town to get a USB 2 card and the appox $30 for it taxed me a little and reduced the sleep i got...however i was antcipating being able to use my ipod that night when i worked out
    WELL....that's when the nightmare started...
    To be scientific and logical about this let me list what happened and is happening...
    1. Initially when i hooked the IPOD to a USB 1 port the coputer recognized it for about 5 sec then lost the connection. Pretty sure that was because the batteries weren't real charged
    2. i put the ipod back in the old docking station and plugged it into the old now useless FIREWIRE card...Ipod is happy it says it is charging...it charged all night an d still said it was charging
    must be a very hungry iopd!! well i have lots of electricity to feed it
    3. i hooked it up to the ac adapter..still charging but FINALLY got full
    4. except now when i disconnect it from the ac adapter it goes dead...will not wake up when i connect it to the new USB 2 card Mother Apple said i needed and i staid awake to get
    5. SO NOW...am i stuck waiting FOREVER while it maybe gets repaired..unless i've just done some dumb things and can get it up and running without sending it in...
    6. will radio shack just give me another one that works...i only bought it two days ago
    7. that has been a pain you know where fromt he beginning
    8. guess i have to call Apple ..probably monday..sure they're not open today...and guess what ..it will be when i normally would be asleep 'cause i work at night
    will try to post this more concisely in next msg if you read this God Bless you

    I'm sorry about your troubles with your ipod , and i would imagine that radioshack would take it back , if not then send it back to apple since that kind of problem is not abuse or anything and it should be covered in the warranty.

  • Did something change with IOS6 and photo stream

    Seems photo stream stopped working with IOS6, did something change?

    I'm having this same issue, and after ruling out other possible factors limiting iCloud backup, I've concluded that the issue IS in fact the Xfinity Arris TG862 (Comcast wireless router). There is a section on Comcast's website that aknowledges a software issue with the router, and a software update will be pushed out at some point, but if you don't want to wait, you can request to have your router replaced, for free. Visit http://mydeviceinfo.comcast.net to see a full list of devices, then find your device, and if the text is in red (which would currently be the Arris TG852 and TG862 models), then you can either wait for a software fix, or request a new router at http://forums.comcast.com/t5/Connectivity-and-Modem-Help/bd-p/5
    Hope I could help!

  • Everything on my screen, Mac Pro, shrunk!  Gmail, bookmark pane, task bar menu, even the password sign in. I'm sure I did something with the fingers thing. How do I get back to defaule

    Everything on my screen, Mac Pro, shrunk!  Gmail, bookmark pane, task bar menu, even the password sign in. I'm sure I did something with the fingers thing. How do I get back to default.  The font is tiny, tiny.  My operationg system is Mavericks.

    Thank you for the list, I will print and keep it handy.
    Contol F3 makes my whole screen larager or smaller. 
    Command option 8 does nothing that I can see.
    Command  option + or -  will zoom in or out on the page I am on but if I change windows it reverts.
    But bookmarks pane, the task bar, the password sign in and even the post I am writing (actually every printed word), are a font so small I almsost need a magnifiying glass.  This includes web pages too!
    I am using Mavericks. 
    Trying to retrace my steps when this happened.  Nothing unusual, I was using airplay to watch a You Tube segment on the tv.  I don't think that is related.
    I really appreciate your help and comments on this.  I can usualy google and find and answer, but to no avail with this one!

  • DId I really mess something up with my preferences folder?

    A few days ago I was having trouble with my computer and read somewhere to try and move the preferences folder (user/library/preferences) to my desktop. Well, I did this, but then before doing anything else quickly UNDID (using the undo function) this move, as I wasn't sure this was the best thing to do.
    My question is, did I possibly mess up my computer moving the preference folder to the desktop like I did? AND, even if the undo function didn't actually "undo" anything? Please let me know. Thanks!

    You can move that folder to the Desktop for troubleshooting. Moving it back should put everything back to normal.
    Dave M.
    MacOSG Founder/Ambassador  An Apple User Group  iTunes: MacOSG Podcast
    Macsimum News Associate Editor  Creator of 'Mac611 - Mobile Mac Support'

  • When I start firefox, i get this message ( The instruction at "0x7b9c77a9" referenced memory at "0x7b9c77a9". The memory could not be "read" ) hs anyone any idea why? I have scanned with AVG and something simply called 'Trojan Remover' and they both fin

    when I start firefox, i get this message ( The instruction at "0x7b9c77a9" referenced memory at "0x7b9c77a9". The memory could not be "read" ) hs anyone any idea why? I have scanned with AVG and something simply called 'Trojan Remover' and they both find nothing.... any advice would be greatly welcomed.. thanks
    == This happened ==
    Every time Firefox opened
    == this morning 22/07/10

    Lyall,
    I have seen this before, a long time ago (several years), and I cannot
    remember how/if we resolved it.
    If this is an impotant issue to you, I suggest that you open a case with
    BEA support.
    Regards,
    Peter.
    Got a Question? Ask BEA at http://askbea.bea.com
    The views expressed in this posting are solely those of the author, and BEA
    Systems, Inc. does not endorse any of these views.
    BEA Systems, Inc. is not responsible for the accuracy or completeness of
    the
    information provided
    and assumes no duty to correct, expand upon, delete or update any of the
    information contained in this posting.
    Lyall Pearce wrote:
    The title says it all really.
    I see other posts getting replies.
    This is a rather important issue, I have seen another post with a similar problem.
    While not being a show-stopper it certainly raises concerns.
    The application works ok until the application exits (in both development and
    executable form)
    Apparently this did not happen with Tux 7.1
    It does with 8, I do not have 7.1 so I have no workaround.
    ..Lyall

  • Did something change in Adobe Reader X with xfdf files?

    Has something changed with Reader X and how to print .xfdf files?  For several previous versions my program would use reader to print pdf forms with data filled in via .xfdf files.  Once someone updates to ReaderX  then the pdf's print but no data is filled in from the .xfdf files.
    So did something change with ReaderX or what it expects in xfdf file?
    Thank you,
    Steve

    Sorry, I cannot find any non-sensitive file for the moment.  I will get into trouble if I upload any of them.
    And you're correct: I can't find those strings when I open it in a hex editor.  Is there any utility to let me remove some texts without changing file headers and other properties?
    For all my invoice files, they are all generated by the same company.  It's "Free Telecom", an ISP and mobile phone company in France.  But not all invoice files have this issue.  This issue only happens recently, and only happens to invoice generated for ISP, but not for mobile phone.
    Here are some more technical info:
    If I open the files in PDF-XChange Viewer, I can view some properties.
    I have
    PDF Producer:  PDF::API2 0.73 [linux]
    The following image shows some remaining properties which are too much to type:
    Hope this helps

  • Please Help!  My 7 year old did something with my display!

    My son was using the computer and did something with the keyboard. This left my display with the areas that should be white...to black. My desktop image and ALL computer images have the graphic look of a "sketch" and what should be red, is blue. the apple logo is orange. When I use my mouse, it creates "boxes" around the icons. I have tried changing resolution, both in display preferences and in the safe mode. When I reboot the computer, I get what the display should be for a moment, then it changes. I have also tried calibrating. Please advise.
    TIA for your time!

    Open the Universal Access pane of System Preferences, click on Seeing, drag the Contrast slider all the way to the left and turn off the other options, except for those at the bottom.
    (31465)

  • I have a mac air. I stupidly did something to it. Don't even know myself but I lost everything and cannot get the Mountain Lion back. Am up a creek and have to buy what was given to me when I purchased the machine?

    I have a Mac Air. I stupidly did something that wiped out the machine and I managed (wow) to get the system back only with the old operation system that was a free upgrade at the time I bought this. Help! Do I have to purchase a new one now? Thanks

    If you paid for OS 10.8 at any time, you can get it again at no cost from the App store. You will need to use the same Apple id that you used for the purchase.

  • How do I delete terminal from my dock, it won't let me open a download. What is terminal and how did I get it on my dock?

    How do I delete terminal from my dock, it won't let me open a download. What is terminal and how did I get it on my dock?

    Just drag it off the Dock and it will go "poof"
    Look at the Options... when you click on it. Unless it got set to stay there, something you did or an app did caused it to be open.
    Are there any windows open attached to it?
    Is it set to "open on login"?
    I use it but I do not have it or keep it on my Dock. It is found in /Applications/Utilities and installers may need to use it.

  • My child got ahold of my mac book. She did something and now there is a "dialogue box" that is constantly displayed and it essentially narrates all of my actions, telling what I am doing and viewing etc. help me get rid of this, please.

    My child got ahold of my mac book. She did something and now there is a "dialogue box" that is constantly displayed and it essentially narrates all of my actions, telling me what I am doing and viewing etc. Along with it every icon I click shows a box arond it . Help me get rid of this, please.

    Choose system preferences, then under 'Personal' choose 'Universal Access''
    You will see a checkbox called 'Voice Over'' (under the seeing tab). Switch this to off.
    Good luck
    Max

  • I have a old firefox account and I cannot sign on too. I made new account just to ask a question. I tried to sign in with old emails, but did not get any reset information back. How can I recover old information?

    I have a old firefox account and I cannot sign on too. I made new account just to ask a question. I tried to sign in with old emails, but did not get any reset information back. How can I recover old information?

    Backing up and restoring your Profile should have included your bookmarks.
    https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles
    https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile
    That looks like a JSON bookmarks backup file, from 11-01-2012. Did you try '''restoring''' that file?
    https://support.mozilla.org/en-US/kb/restore-bookmarks-from-backup-or-move-them#w_using-a-bookmark-backup-file
    Never messed with JSON files other than viewing them on a few occasions out of curiosity. There are no line breaks which make them very difficult to read.
    As far as working with that file in {like} NotePad goes:
    A. use Find / Search for each indecent of a '''"uri"''' string, then "copy and paste" the uri into another text file, and then move on to the next "uri" string.
    B. use a text program where a filter can be set for the "uri" field in the JSON file for a line break or to "scrape out" the "uri"s only for display or export to a list of uri's.
    Or try using an online JSON editor like this, to try to display only the "uri" field.
    https://www.jsoneditoronline.org/

Maybe you are looking for

  • IPod with colour display frozen in 'hold' mode

    My iPod with colour display has frozen whilst in 'hold' mode. Toggling 'hold' does not unlock 'hold'. Screen remains frozen despite following reset steps and searching he forums. Anyone got any suggestions or links for me to check out please ? Thanks

  • How can I avoid to get hot my Mac when i use Windows an Revit 2013 app.?

    I' m a Arquitecture Student, and I should use Revit and this application is just for windows, an autorized apple technician Install windows, when I use the app Revit, after 20 to 30 minuts, my mac strart to get hot, and I can keep working. Stop and t

  • POF serialization testing

    hi I would like to write an integration test for POF serialization. Is it possible to make Coherence to serialize all objects I put into named cache ? Or I need to start two nodes (in two classloaders) in my test ?

  • Hide button while running!?!?!:-0 :-x

    Can anybody show me how to do this? May be u'll use JButton(swing), that's OK,too! But if u can, show me how to do that in Button(awt)!!!:-) Thanks in advance!!! Please help me!!!:-x

  • Getting operational ldap attributes using amSDK

    Is there any way to get operational ldap attributes of a user? I am trying to get "passwordexpirationtime" attribute. amUser.getStringAttribute("passwordexpirationtime"); does not return anything.. no exceptions. tried getAttributesFromDataStore, tha