Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

john.robe

macrumors newbie
Original poster
Jun 4, 2010
4
0
Hello, I work as a programmer with many young programmers that like to hack :mad:. So I was wondering, is there a way to lock my terminal, so if one of them tried to do something, they would have to enter my password.

Thanks in advance.
 
Your best bet is to keep your system physically secure. If someone is technically adept, they can get around pretty much anything you can do, if they have physical access to your computer.
 
What about putting Terminal into a password protected disk image (created via Disk Utility)?

What about creating a user account for your friends, where Terminal is not available from them?

Why do you give access to your computer after all?
 
I don't really have a choice.

Although I could bring the laptop with me anywhere i go in the place i work, it would be very inconvenient. Also, it isn't exactly a workplace, so when the head programmer asks me to get, say, a keyboard. I would go get a keyboard, and leave my laptop. Thus giving access to my computer. But thanks anyway. I'm going to try to get a applescript to open every time terminal opens, that asks for a password, and disables terminal to open without it... Maybe that will work.
 
Just lock your computer when you step away. Easiest way is from Keychain Access > Preferences > check "Show status in menu bar" Then from the menu bar item there's a lock screen option.
 
Question for the real gurus: Could Terminal be installed onto an account rather than in the HD/Applications/Utilities Folder?
 
Question for the real gurus: Could Terminal be installed onto an account rather than in the HD/Applications/Utilities Folder?

One could drag it out of Applications / Utilities into the account's home folder I guess.

I just did, I dragged Terminal to my Desktop and it vanished from the Utilities folder and I was able to open Terminal.
 
Ok then! (didn't want to try it myself!) OP can just create a place for it in the Home folder of a password-protected account. Is it that simple? What will happen when the OS is updated?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.