That little prompt you get when you go through the apple menu at the top left and hit shut down. It gives you 60 seconds, etc... I want to know how to initiate that from the terminal. I keep apcupsd running on my mac mini server, and if the power goes out, i want it to tell my machines to shut down. I already have a growl message setup letting me know when the power goes out (forwarded to my iphone over prowl, etc etc). I can ssh into the systems via bash scripting and issue the command, that's np. I just have no idea wtf the command is to throw that prompt.
I'm running Snow Leopard. If I have a couple of Terminal sessions running and I try to quit both of them via the Quit Terminal entry in the Terminal menu, I get a dialog box with the following message: You have 2 windows with running processes. Do you want to review these windows before quitting? I don't ever recall getting this message under Leopard, so I assume it's a new feature under Snow Leopard. I want to disable this dialog. Is there a property setting for the Snow Leopard version of Terminal which controls this?
Until recently, Terminal 2.1.1 under Mac OS X 10.6.3 worked just fine for me. But now it has just stopped loading the prompt. I can open new Terminal windows but they are blank. I have tried logging out and in to my user account but this has not fixed it. I have made minor changes to my .bash_profile (see below) but all long before this problem began. I have not changed the directory structure so it should be able to CD to Dropbox/Drominay. I have not changed any preferences in Terminal other than those related to colour etc. In particular, it's still set to load the default login shell at startup.
From time to time, my terminal shell prompt gets hijacked and set to something useless by another program or process. For example, it currently reads: "qtsoftware >" , probably from a QuickTime update, but I can't say for sure. Anyway, when this happens, I'm unable to reset the prompt to a customized version via .tcshrc -- instead, the unwanted garbage gets prepended to whatever I configure via .tcshrc. Restarting Terminal doesn't help. This obviously isn't the end of the world, but it's intensely annoying since, when I do need to use Term, I usually use about ten windows at once, and prompts matter.
my .tcshrc setting: set prompt = "%m [%/] What you say?" my prompt: qtsoftware [/Users/kathleenduke] What you say?
NM - "Friend" playing a small joke by renaming my computer.
Quote:
Currently connected to my home's secure WiFi (WPA2). I ran Terminal on my MacBook Air and this came up: Last login: Sun Aug 8 21:52:04 on ttys000 Daniel-iPhone-Gateway-Bios-v6:~ rogersda$ Who/what is Daniel-iPhone-Gateway-Bios?
So, I want to be able to turn off my Mac using Terminal without it asking for a password. At the moment when i type: sudo shutdown -h now
I get prompted for a password. I need to add this to a Perl script that I'm writing for myself and need to know if there is anyway i can accomplish shutting down the Mac without having to provide my Password.
Anybody see this before? I opened up Terminal.app and the window is completely blank. There is nothing in it whatsoever. Looks as if bash never started. The title bar simply says "Terminal — login — 80x24". I can type whatever I want in the Terminal window like it's a text document and nothing happens. If I restart the computer, this seems to fix the problem, but it seems to only be a temporary fix as the issue happens again soon after.
I'm trying to do something in terminal, and it asks for my password. I press a letter on my keyboard, and nothing appears. I am in the right window and everything, terminal just doesn't react to my typing. However, when I click enter, it says 'Sorry,try again'. So it does react to the enter key.
My iMac 27 late 2010 does not shut down when shut down in the normal way. I have to shut down with the push button. I have tried disconnecting all the usb connected hardware still no use. Can any body help.I have OS Lion 10.7.3?
I'm running Symantec Backup Agent on our mac osx server. I start the agent in the terminal (./agent.be). It returns a notification that it started the service, however, it doesn't return to the prompt. Closing the terminal gives a warning that the process will be closed if the terminal is closed. Closing it does kill the process. Ctrl+c to return to the prompt also kills the process. So it's as if once the process is started in the terminal, nothing can be altered.
I am not much of a mac guy so please forgive me if this is a stupid question.
Anyone have any advice on how to handle this so the process is ALWAYS running?
My system has randomly shut down twice now in the last two days. Dual G5 2.3. I checked the console log, which I know very little about, and it said this:
localhost kernel[0]: ApplePMU::PMU forced shutdown, cause = -122
Two questions-
what's the -122 code mean?
Do you think resetting the PMU would be the solution to this?
I'm on a standard user account and I would really like to install icalbuddy which is a terminal app. When I install apps normally I simply have to provide a admin name and pw, but this doesn't work when it is a terminal app because it requires that the 'su' command be run.
So I thought that I could run terminal as admin through 'su - admin' and then install. But of course the admin account doesn't have access to the user folder where the installer is located. I just can't win.
this seems pretty basic, but I can't seem to find a way to turn off the password prompt in Mac OSX.
I have an account for my parents, and they don't need a password, but if they try and install software etc - it comes up with the Password Prompt window. Obviously, you don't enter anything into the password field and just continue on, but seeing how there is no password in the first place, why does it still ask for one?
I've been a Mac user for a few years, but have never came across this - I always use a password
I just installed Boot Camp on my 15' MBP. I'm not all too thrilled that the MBP will boot up the default OS so I'm wondering if there any option/preference that will allow me to select which OS to boot every time I start up my computer? On my windows PC I had XP and 7 installed and I had the option to select which one to boot whenever I started up my laptop. Is there anything like this for a Mac? I checked the Boot Camp control panel and I didn't see any settings in there for this.
I have enabled the prompt for a password when waking from screensaver and this works fine as long as I respond to the password prompt quickly. However, if I don't respond fairly quickly then the password prompt disappears leaving a black screen with just the mouse pointer visible. No matter what I type I can't bring the password prompt back up and therefore can't gain access. The only way I can do this is to press the power button and wait for 5 minutes or so before bringing it back out of sleep and typing my password more quickly.
The machine is a new iMac 2.4G 24" if that makes any difference. All latest updates applied.
My wife has a G4 iBook 1.33 GHz power pc, 1.5 GB DDR SDRAM, L2 cache 133 mHz, with Mac OSX - leopard - several times a day the following prompt appears - "You need to restart your computer. Hold down the power button for several seconds or press the restart button".
I do not know if this is in the write section, but oh well.
I pressed "option" to switch between drives but it came up that I needed to put in a password. I know the password anyways. Here is what I am getting at, is there any way when I boot my computer it can ask me for the password before getting to the desktop?
I'd like to know how to stop Mac from prompting me with the 'Enter an administrator account and password' dialog, I'd just like to install things, I do have a 'Managed' account (with Parental controls), but how do I stop that? is there a setting?
I've just upgraded to lion and when I go to prefrences in safari I get a prompt saying 'To open "PluginProcess" you need a java runtime. Would you like to install it now'. My question, Do I need this and what is pluginprocess, I know Apple have dropped java from thier OS, so why would Safari need it?
Both iCloud and FaceTime are continually prompting for passwords. Hitting 'cancel' usually dismisses the iCloud box, but the FaceTime box just keeps reappearing.
I don't want to enter either password until I'm ready to, and I especially could care less about FaceTime because I don't use it on this computer. It can go away completely. So how can I shut it off and tell it to stop bothering me?
Looking to stop the password prompt from coming up every time I try to delete a file after enabling SMB file sharing for my administrator account (while working with files in that account). Everything else works fine with regards to file sharing.
I'm getting a prompt to install the latest update for OSX and Safari. Can download it okay but when it gets to 'configuring' it stalls. Not doing anything. I have to hold the power button down to shut down then start the system up again. This has happened three times. Anyone else have this? Anyone know what is up with it?
Am I the only person who has issues with this sometimes refusing the show the login prompt when it wakes up, leaving you with a black screen? The system is still responsive, but all you can do is move the mouse, since there is no dialog. Does this ever happen to anyone else? Also is there any way to clear it aside from power-cycling the machine, and doing "killall loginwindow"?
First of all, how do I get my password hint to show up from the screensaver login/password prompt? I have my password and hint set up so that only people close to me will be able to figure it out in case they ever need to use my laptop, however at the moment the hint doesn't even show up. Also, I'm aware that you can change the text to the login page for user accounts, but is there any way to change the text for the screensaver login prompt? If so, where would I find it in "Library"?