AJScott

Q: Unauthorized use

Is there a way, that I can be notified when ever someone turns on my IMac on or logs under my  username?? I preferred being notified through my SMS on my iPhone??

 

 

Thanks

iMac (Retina 5K, 27-inch, Late 2014), OS X El Capitan (10.11.5)

Posted on May 25, 2016 6:13 AM

Close

Q: Unauthorized use

  • All replies
  • Helpful answers

  • by dominic23,

    dominic23 dominic23 May 25, 2016 6:24 AM in response to AJScott
    Level 8 (41,778 points)
    Mac OS X
    May 25, 2016 6:24 AM in response to AJScott

    There is no way to do that at present.

     

    Turn FileVault on  for security.

    Entrust the recovery key with Apple.

  • by AJScott,

    AJScott AJScott May 25, 2016 6:36 AM in response to dominic23
    Level 1 (4 points)
    Desktops
    May 25, 2016 6:36 AM in response to dominic23

    So your telling me that we have iMessage that is built into the iMac. That no one has bothered to make a program or a script to preform tthat task??

  • by Meg St._Clair,

    Meg St._Clair Meg St._Clair May 25, 2016 6:40 AM in response to AJScott
    Level 9 (59,182 points)
    iPhone
    May 25, 2016 6:40 AM in response to AJScott

    If you put a password on your user account, no one can log into it without that.

  • by AJScott,

    AJScott AJScott May 25, 2016 6:48 AM in response to Meg St._Clair
    Level 1 (4 points)
    Desktops
    May 25, 2016 6:48 AM in response to Meg St._Clair

    im pretty sure that they know my password. the whole point is to catch them in there act. True I could just look at the logs but if I'm out of state. Then, I won't be able to see if anyone gets on.

  • by cdhw,

    cdhw cdhw May 25, 2016 6:49 AM in response to AJScott
    Level 4 (2,668 points)
    Servers Enterprise
    May 25, 2016 6:49 AM in response to AJScott

    You may be able to achieve what you want with a 'login script'. Such matters are discussed in this forum

     

         Mac OS X Technologies

     

    You can also use the 'last' command in Terminal.app to list the dates and times of logins and logouts.

     

    The best method to deal with your problem is as suggested by dominic23, i.e. encrypt your hard drive and change your password to one that only you know. You can use the standard sharing and permissions mechanisms to grant controlled access to your files by others.

     

    C.

  • by Meg St._Clair,

    Meg St._Clair Meg St._Clair May 25, 2016 7:18 AM in response to AJScott
    Level 9 (59,182 points)
    iPhone
    May 25, 2016 7:18 AM in response to AJScott

    AJScott wrote:

     

    im pretty sure that they know my password. the whole point is to catch them in there act. True I could just look at the logs but if I'm out of state. Then, I won't be able to see if anyone gets on.

    Change the password.

  • by BobTheFisherman,

    BobTheFisherman BobTheFisherman May 25, 2016 7:19 AM in response to AJScott
    Level 6 (15,428 points)
    May 25, 2016 7:19 AM in response to AJScott

    AJScott wrote:

     

    im pretty sure that they know my password. the whole point is to catch them in there act. True I could just look at the logs but if I'm out of state. Then, I won't be able to see if anyone gets on.

    Change your password. Lock up your computer while you are out of state.

  • by VikingOSX,

    VikingOSX VikingOSX May 25, 2016 7:34 AM in response to AJScott
    Level 7 (21,061 points)
    Mac OS X
    May 25, 2016 7:34 AM in response to AJScott

    The simplest thing that you can do is change your password, and not use something that is easily guessed. Then don't give it to anyone, and don't store it on a piece of paper that can be discovered on the refrigerator, or under your keyboard.

     

    If they are a family member, create a separate, non-Administrator account, and if they are a juvenile, make it a parental controls account.

     

    No scripts to write and test. No text messages necessary. No one but you accessing your account.

  • by VikingOSX,

    VikingOSX VikingOSX May 25, 2016 7:38 AM in response to cdhw
    Level 7 (21,061 points)
    Mac OS X
    May 25, 2016 7:38 AM in response to cdhw

    A script like this.

     

    From Terminal: mylog.sh May

    #!/bin/bash

     

     

    month="$@"

    user="$(whoami)"

     

     

    # suppress printing columns 2 and 3 of last command output

    # sort date time elapsed time fields

    last | grep ${user} | awk -v m=${month} '$4 ~ m {$2=$3="";print $0 | "sort -k10,37"}' | more

    exit 0

  • by AJScott,

    AJScott AJScott May 25, 2016 8:08 AM in response to VikingOSX
    Level 1 (4 points)
    Desktops
    May 25, 2016 8:08 AM in response to VikingOSX

    Very nice  

    Only question is:

    Can you tie that into iMessage?

  • by AJScott,

    AJScott AJScott May 25, 2016 11:03 AM in response to AJScott
    Level 1 (4 points)
    Desktops
    May 25, 2016 11:03 AM in response to AJScott

    Not too sure if Apple released the API for iMassage. If not, would a Third party SMS work?