How can you find out what launches / runs something else?

In poking around with my system trying to get it to run things for all users, at some point in the past I did something which causes a script to run when ever I log in.
This script is located in the application directory, and if I put any script called Login.sh there, it runs. It runs for any user too.
I have no idea what I did to cause this and I can't figure out a way to find out who is launching it.
I looked in the loginwindow.plist files, the com.apple.loginwindow.plist files, the ttys file in /etc and in the RC files too.
Is there an easy way to find out (maybe by putting something in that login.sh script) what is running it? I know it is the 'root' user.
I thought maybe if I could search all files on my HD for the word "Login.sh" I could find the culprit. I do not know how to do that though.
Any ideas?

You look up the process in the same output and find out what the parent process is. (after crossing your fingers and hoping it's not something generic like launchd)

Similar Messages

  • How can I find out what is running in the background and running my batterie down

    How can I find out what is running in the background

    Hi simpbarby,
    Welcome to the Support Communities!
    The links below will help you understand what apps are running on your iPhone.  You can quit the ones that you aren't using.
    iOS: Understanding multitasking
    http://support.apple.com/kb/ht4211
    This link will provides tips to conserving battery life:
    Apple - Batteries - iPhone
    http://www.apple.com/batteries/iphone.html
    Optimize Your Settings
    Depending on how they are set, a few features may decrease your iPhone battery life. The tips below apply to an iPhone running iOS 7.0 or later.
    Enable Wi-Fi: Having Wi-Fi enabled helps consume less power when doing activities that access data. Go to Settings > Wi-Fi and log in to a Wi-Fi network.
    Adjust brightness: Dim the screen or turn on Auto-Brightness to extend battery life. Turning on Auto-Brightness allows the screen to adjust based on lighting conditions.
    Fetch new data less frequently: The more frequently email or other data is fetched, the quicker your battery may drain. To fetch data manually: Go to Settings > Mail, Contacts, Calendars > Fetch New Data and tap Manually.
    Turn off push notifications: Apps with Push Notification alert you of new data, which may impact battery life. To disable, go to Settings > Notifications, choose the app you want to disable, and do the following:
    Change Alert Style to None.
    Turn Badge App Icon off.
    Turn Sounds off.
    Note: New data will be received when you open the app.
    Minimize use of location services: Apps that actively use location services, such as Maps, may reduce battery life. You can see which applications have recently used location services by going to Settings > Privacy > Location Services.
    Use Airplane Mode in low- or no-coverage areas: Your iPhone always tries to maintain a connection with the cellular network, which may use more power in low- or no-coverage areas. Turn on Airplane Mode to increase battery life in these situations.
    Viewing Usage StatisticsKnowing and understanding your iPhone usage can help you better manage your battery life. To view your iPhone usage statistics, go to Settings > General > Usage. Under “Time since last full charge”:
    Usage: Amount of time iPhone has been awake and in use since the last full charge. iPhone is awake when you’re on a call, using email, listening to music, browsing the web, or sending and receiving text messages, or during certain background tasks such as auto-checking email.
    Standby: Amount of time iPhone has been powered on since its last full charge, including the time the phone has been asleep.
    I hope this information helps ....
    Have a great day!
    - Judy

  • How can you find out what generation your iPod touch is?

    How can you find out what generation your iPod touch is?

    Hi,
    Here is help for the operating system:
    If you are locked to iOS 3 then you have an iPod Touch 1st Gen.
    If you are locked to iOS 4 then you have an iPod Touch 2nd Gen.
    If you are locked to iOS 5 then you have an iPod Touch 3rd Gen.
    If you are locked to iOS 6 then you have an iPod Touch 4th Gen.
    If you can get iOS 7 and have an iPhone 5 sized screen [bigger] you have the current iPod Touch 5th Gen.
    I assume since it says you have iOS 5.1.1 you have an iPod Touch 3rd Gen.
    Also, you may want to sync it so iTunes can tell you or you can look at the model number on the back.
    Hope this helped.

  • HT4211 how can you find out what kb are being used by what apps

    how can you find out what kb are being used by what apps there is always alot of kb being used even when I don't use my phone

    Go into settings , general, usage and it tells you what the apps use. If your refering to the memory storage of the apps.

  • How can you find out what time you were on a website on on your iPod?

    How can you find out what time and day you were on a certain website on your iPod?

    You can find the day in Safari's History, but not the time.
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
     In Memory of Steve Jobs 

  • How can I find out what's running in the background?

    Hi All -
    This has been happening for quite some time and I just can't seem to figure it out.
    It seems as though my machine is constantly processing something.  I can hear it "chugging away".  Even when no applications are running.  So far I have tried the following:
    Deleting all applications I no longer use (including all of their hidden files)
    Turned off applications such as Google Drive and Drop Box (in case it was the continual syncing)
    Checked the Activity Monitor and Installed something called iStat Pro - neither of which I understand how to read.
    Can anyone give me any more suggestions? My next step would be to reformat, but we all know how cumbersome and time-consuming that can be!  Perhaps I just need more memory or storage.
    Thanks so much in advance
    S7

    Did you uninstall CleanMyMac according to the developer's instructions: How to Uninstall CleanMyMac Classic ... - MacPaw
    To verify that you've eliminated all of the files associated with CYM download and run Find Any File to search for any files with "the application's' name"  and the "developer's name" in the file name.  For example for CleanMyMac you'd do two searches:
    1 - Name contains "cleanmymac"
    2 - Name contains "macpaw"
    Any files that are found can be dragged from the search results window to the Desktop for deletion.
    FAF can search areas that Spotlight can't like invisible folders, system folders and packages.
    Download and run Etrecheck.  Copy and paste the results into your reply. It's a diagnostic tool that was developed by one of the most respected users here in the ASC to help identify the more obvious culprits.

  • How can you find out what number comment you are on within the comments list?

    Hi everyone,
    I have looked around but I cannot seem to find an answer to what seems a very simple request.
    I have a PDF with over a hundred comments on it and I am making (slow) progress through the comments list. I would like to estimate how long this job will take me to complete by looking at the time I have spent on the job and a which comment number I am at (e.g. I am currently at comment 60 of 120 - half way through).
    I cannot seem to find a way to do this without manually counting the number of comments I have been through already - which seems a watse of my time.
    Is there an easy way to do this? I am sure I am missing something simple here.
    Thanks in advance,
    twordz

    Sorry, I guess I mis-spoke. I thought that it will be numbered sequentially
    for the entire document, but I guess it's per page.
    The problem with numbering comments is that their internal order does not
    necessarily correspond to their physical location in the file. The internal
    order is based on the order in which they were created. Having said that,
    it is possible to generate a summary of the comments with sequential
    numbers for the entire file (not just page by page), but it would require a
    custom-made script.

  • How can you found out what computers you are home sharing so you can delete some, How can you found out what computers you are home sharing so you can delete some

    How can you find out what computers you are sharing with so you can delete some

    Oh, have you brought up so many good points. Not to take us off-topic, but I could rant all day about Eloqua consulting firms who let low-level employees (Eloqua skill-wise) loose on clients projects. Just not fair for either the employee or client. There was one company that did this to me a few years ago, and since then dozens of people have asked me about them for a reference.  Needless to say, they never get a good one from me, and have likely lost hundreds of thousands of dollars in projects because of this. Not worth it in the long-run to cut corners.
    Back to the topic at hand....
    You really hit the nail on the head in so many ways. It really all does come down to one thing: hard work. There are no shortcuts. Always keep learning. Embrace every Eloqua challenge you can, and never say never.  Never be fearful of being wrong by asking something 'silly', or 'looking stupid'. I remember several times that I've submitted Eloqua support tickets, or tickets to other related vendors about things that I was convinced were bugs/major issues. Turned out to be my mistake. But that's ok. You brush off, stand back up, and learn from them.
    And finally, be modest.  You will never know everything about Eloqua. Be willing to learn from others, and know that there actually may be a better way to do something than you may have spent days or weeks working on.

  • How can i find out what or why mac is running so slow ?

    My Mac is running as slow as a week in jail , how can i find out what is causing it , I have 1TB memory , using 635 of it at the moment. i'm using version 10.7.1 , lion. It just seems so slow to respond to anything , start up , open an app , go from one song to another in iTunes , go from one event to another in iPhoto , everything is slow . any ideas out there folks ? I'd appreciate the help.
    Thanks .

    Here is all the information i can muster , I still can't find RAM .
    Processor  3.2 GHz Intel Core i3
    Memory  4 GB 1333 MHz DDR3
    Graphics  ATI Radeon HD 5670 512 MB
    Software  Mac OS X Lion 10.7.1 (11B26)

  • How can I find out what is eating up my data?

    This is my second month with Verizon and with my old service plan we only use to use 5GB per month.  Now we are over 7GB.  How can I find out what I am using that is eating up my data?  I still do same things I did 3 months ago.

    I Assume you may have more than one, new device.  You can check in each devices settings, under cellular/mobile data to see which applications are using the most data. 
    YOu can then change many of the applications to use wifi only by turning cellular data off.
    email and social media apps have settings within the apps to restrict cellular use, like not showing video of images.
    restrict application from running in the background by closing apps before leaving home wifi or letting your phone "sleep" at home, while not connected to power.  (To save battery your phone switches off wifi, reverting to cellular, not a desirable feature, but it is supposed to save battery)
    ** to close apps, double click home button and swipe up to close app.  Leaving YouTube, Games, Maps, Social media apps open in the background can use mobile data.
    clear the "outbox" in email.  Cases of massive data use have occurred when an email continues to fail and sits in the out box of the Mail app.
    IN General, a newer phone does use more data for the same functions as older phones.
    FFor more help with your iPhone, please visit Apple support, community forums or a Genius Bar.  I find them very helpful.
    if you do go in to Genius Bar, back up your device.  In some cases, replacing or a complete restor are the only solutions.
    Official Apple Support
    GOod luck!

  • I have two iPhones on my iTunes account. How can I find out what apps go to which phone?

    I have two iPhones on my iTunes account. How can I find out what apps go to which phone?

    I don't believe that there is a way to do that.  I would sugest using automatic downloads to keep your apps synced across both phones.  You might also want to note that just about any app you have ever download will be available for free download via icloud.
    Wish I could be more help.

  • I am trying to add my sons email address to our family apple id but it says that it already associated with another apple id. How can i find out what the apple id is and take his email address off that one?

    I am trying to add my sons email address to our family apple id but it says that it already associated with another apple id. How can i find out what the apple id is and take his email address off that one?

    You may be able to find your Apple ID at Look up your old and forgotten Apple ID

  • How can I find out what calendars are in my .mac account?

    A simple question, but I am struggling with the answer.
    I have used ical since it first came out and have found it brilliant and very easy to use and access both from the office and also from home. However because I have used it for so long I have had various changes in staff. I am keen to find out if there are any 'other' calendars created by anyone who has/had access to ical via my .mac account.
    The calendars must be stored somewhere online? How can I find out what calendars I am hosting?

    Hello, chunnyb. 
    Thank you for visiting Apple Support Communities. 
    Here are the steps on how to view your purchase history in iTunes. 
    iTunes Store: See your purchase history and web order numbers
    http://support.apple.com/kb/ht2727
    If you need to report and issue with a purchase, see the article below. 
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase
    http://support.apple.com/kb/ht1933
    Cheers,
    Jason H. 

  • HT5622 I think my granddaughter bought a $3.99 app after I put the password in for a free app.  How can I find out what she purchased?  Can I get credit for it?  I just got an email from my credit card confirming the purchase.

    I think my granddaughter bought a $3.99 app after I put the password in for a free app.  I just got an email from my credit card confirming the purchase.  How can I find out what she purchased?  Can I get credit for it? 

    The password is good for 15 minutes to make purchases. You should receive a receipt in 24 to 48 hours for the purchases. There is a link to Report an issue. You could use that to start a conversation with iTunes Support about a refund.
    Apple considers all sales final. But has been known to offer a one time refund. So the question is, do you want to use your one time refund on this purchase or one more expensive in the future?

  • After burning a successful DVD in iDVD out of FCPX, how can I see the settings it used?   So I finally burned a DVD out of a Apple Pro Res file into iDVD in PAL format. My question now is how can I find out what the exact burn properties were so that I ca

    After burning a successful DVD in iDVD out of FCPX, how can I see the settings it used?
    So I finally burned a DVD out of a Apple Pro Res file into iDVD in PAL format. My question now is how can I find out what the exact burn properties were so that I can apply the same burn properties to a project in Compressor 4?
    Is it possible to see what iDVD did?

    I don't know any way you can interrogate iDVD to reveal settings to the extent that you can in a Compressor project. What you could do is open up the show's VOB in MPEG STreamclip, go to File and Reveal Stream Information; that will at least give you some rudimentary info like average bit rate. Perhaps someone, with more iDVD experience, can chime in here.
    The broader question is why use Compressor at all if your current workflow is doing the job to your satisfaction?
    The value of Compressor is that it gives you control over the many parameters that affect size quality.  and playability. The Compressor presets can give you a starting point for DVD delivery, Web, etc. From those presets, people typically experiment by adjusting the parameters until they get the desired results for their specific show. It's a little bit science and a little bit art. After experimenting, you may be able to get slightly better quality for the project you've successfully burned in iDVD by using Compressor and something likeToast…or maybe not.
    Good luck.
    Russ

Maybe you are looking for

  • FM/BAPI for changing the inspection plan

    Hi, I need to change the inspection plan. Can anyone suggest any FM or BAPI please. When I am trying to use BAPI  BAPI_INSPECTIONPLAN_CREATE for this purpose, I am getting the below mentioned errors: E  BAPI                001 A CPCL               00

  • Resizing photos...annoying!!

    i cant understand why iphoto doesnt have a simple yet effective way to increase the size of a photo. I just want little points on the corners that let me make a photo bigger or smaller, while keeping the scale. i mean, microsoft word and powerpoint h

  • Info-package setting: Data selection tab

    Hi, I have to give selection conditions in info-package. The need is to restrict the values of a particular field to start with BP and BQ. i.e i need only values starting with BP and BQ. I gave from and to values in the selection screen of info-packa

  • Canon MX870 B200 error, how to use scan only?

    I have Canon MX870 which I only use it for scan. When I'm turning the printer on at the booting process it give me B200 error and STOP to work completely.I have to open and close cartridge door couple times at the startup to can skip the B200 error a

  • Submitting first in-app purchase - when to publish??

    If I submit my first In-App purchase to Apple today, but I don't want the new folio to appear in my app until the 14th January, how do Apple review it? Am I still OK to make my publication date in DPS '2012-01-14' or do I have to publish it now so th