Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1


    Member Since
    Nov 17, 2011
    Posts
    15
    writing terminal code
    Could somebody please tell me how to write code into terminal that would cause my mac book pro to not accept anything into the external drives when it is logged out?

  2. #2


    Member Since
    Dec 11, 2010
    Location
    Chicago
    Posts
    1,479
    Specs:
    late 2012 mini w/SSD
    I'm pretty sure you mean:
    "Tell me how to execute a Terminal command" ?
    (not the same as writing code - at least, not to me)

    I just looked and my external is owned by root, a member of the group admin! (I'm a member of the admin group, too)
    So I don't think there's an easy and troublefree way to do that.
    Are other potential users admin users? If not, then it's easy.

  3. #3


    Member Since
    Nov 17, 2011
    Posts
    15
    no there are no other user accounts on the computer. I just know a guy that has third party software that would bypass my login screen. I am looking for a way to block him out.

  4. #4


    Member Since
    Dec 11, 2010
    Location
    Chicago
    Posts
    1,479
    Specs:
    late 2012 mini w/SSD
    So, it sounds like the only way he can get into your computer is by using your password. Does he have your password?
    Change your password to something more secure.

  5. #5


    Member Since
    Nov 17, 2011
    Posts
    15
    No, he does not have my password. He has a third-party software disc that he puts into the computer that will hack my administrator account and allow him to change the password.

  6. #6


    Member Since
    Nov 17, 2011
    Posts
    15
    If you do not know any terminal commands, then maybe you could tell me how to rewrite part of the computer's code in the system. I don't really know what to do. I was thinking that I could maybe rewrite the code so that the computer would not accept anything into the external drives when it is logged out. That would keep him from putting in his disc.

  7. #7


    Member Since
    Dec 11, 2010
    Location
    Chicago
    Posts
    1,479
    Specs:
    late 2012 mini w/SSD
    So you're saying that someone else has physical access to your computer, and you can't stop him?

    Then you need a firmware password.
    Setting up firmware password protection in Mac OS X
    for newer Macs that shipped with 10.6,
    10.6: Set a firmware password from the command line - Mac OS X Hints
    for 10.7,
    Setting an EFI Password on Mac Computers (Models Late 2010 or Later) .: JAMF Software Knowledge Base

  8. #8

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Quote Originally Posted by lherriman View Post
    no there are no other user accounts on the computer. I just know a guy that has third party software that would bypass my login screen. I am looking for a way to block him out.
    Quote Originally Posted by lherriman View Post
    No, he does not have my password. He has a third-party software disc that he puts into the computer that will hack my administrator account and allow him to change the password.
    You've got a larger problem here than a simple software issue. As I understand it here, someone is doing something to "hack" your account but to do so, they need access to your machine. The simple answer here is to not let this person use your machine. Second, if they really wanted to access your external HD, they would just take it. I'd suggest that the real issue here is a personal one and not a technical one.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  9. #9


    Member Since
    Nov 17, 2011
    Posts
    15
    Yes, I have a firmware password. He can just bypass that too.

  10. #10


    Member Since
    Nov 17, 2011
    Posts
    15
    You've got a larger problem here than a simple software issue. As I understand it here, someone is doing something to "hack" your account but to do so, they need access to your machine. The simple answer here is to not let this person use your machine. Second, if they really wanted to access your external HD, they would just take it. I'd suggest that the real issue here is a personal one and not a technical one.

    Yes, the person does have access to my computer. I don't have an external HD though. It seems to me like there should be a way to keep him out even if he has access to my computer. If you know of any ways I would really appreciate it.

  11. #11

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Quote Originally Posted by lherriman View Post
    Could somebody please tell me how to write code into terminal that would cause my mac book pro to not accept anything into the external drives when it is logged out?
    If you don't have an external HD, what do you mean by "external drives"?

    Quote Originally Posted by lherriman View Post
    Yes, the person does have access to my computer. I don't have an external HD though. It seems to me like there should be a way to keep him out even if he has access to my computer. If you know of any ways I would really appreciate it.
    It would seem like this person really knows what they're doing assuming they are able to bypass all security measures. Thus (as noted above), the best way to get around this is to simply prevent this person from accessing your machine. You may also want to think of legal action - depending on your jurisdiction, what this person is doing may be against the law (I'm not a lawyer so you'll have to look into this). I'd approach this person first since the legal route should probably be a last resort.

    Who is this person anyway?
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  12. #12

    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,881
    Specs:
    Way... way too many specs to list.
    First and foremost, there is really no way to prevent accessing a machine someone has physical access to. Period.

    Personally, I'd suggest a safe.
    mike
    This machine kills fascists
    Got # ? phear the command line!

  13. #13


    Member Since
    Nov 17, 2011
    Posts
    15
    No, I don't have an external HD. Sorry, I meant into the disc drive or any of the usb ports. Yes, they are pretty smart. But it's all in this disc that he has. He doesn't really do much except put the disc into the drive. And it's just a person that I know. He doesn't use the disc on anyone's computer unless they have forgotten the password or something like that. He's never used it on my computer. I just was wondering if there was a way to stop something like that from happening to my computer.

  14. #14


    Member Since
    Nov 17, 2011
    Posts
    15
    First and foremost, there is really no way to prevent accessing a machine someone has physical access to. Period.

    Personally, I'd suggest a safe.
    That kinda sucks. I mean if there is a way for someone to get into a computer like that then it seems to me that there should be a way to stop it. Thanks for your help though.

  15. #15

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Thanks for providing some clarity. It had sounded as if this person was doing this on a regular basis to you. Who is this person anyway? A friend? IT?

    There's nothing we can do if we don't know what software he's using. I also feel the need to repeat what I said earlier - don't let them get access to your machine. You have a MacBook Pro and you can therefore bring it with you. Again, it seems like the larger issue though is trust. Talk to this person if you know them and if not, like I said, prevent them from getting access to your machine.

    Technically, there are two kernel extensions that control the operation of your optical drive. I suppose that it's possible to disable them somehow upon logging out (unload them, move them, etc) but doing so would require some technical expertise and risks breaking things.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Is it possible to send your programming code to remote server? Through terminal?
    By walkingon2001 in forum OS X - Development and Darwin
    Replies: 3
    Last Post: 02-21-2013, 10:36 PM
  2. Month in Terminal is in Russian - only in Terminal!
    By yoandrew in forum OS X - Operating System
    Replies: 4
    Last Post: 12-29-2012, 09:20 AM
  3. Writing Code
    By Antiquus in forum OS X - Operating System
    Replies: 4
    Last Post: 04-19-2010, 08:08 PM
  4. Terminal Code for auto bcc in Mail
    By mcbiech in forum OS X - Operating System
    Replies: 0
    Last Post: 04-04-2008, 11:57 AM
  5. Replies: 3
    Last Post: 07-02-2004, 09:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •