OS X :: Initiating Shutdown Prompt From Terminal

Jul 19, 2009

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.

View 5 Replies


ADVERTISEMENT

Software :: Snow Leopard - Preventing Terminal's Shutdown Prompt?

Sep 20, 2009

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?

View 6 Replies View Related

Software :: Terminal Not Loading The Prompt

Apr 6, 2010

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.

.bash_profile is:

export PATH=/usr/local/bin:$PATH
export MANPATH=/usr/local/man:$MANPATH

##
# Your previous /Users/steven/.bash_profile file was backed up as /Users/steven/.bash_profile.macports-saved_2009-06-28_at_08:42:07
##

# MacPorts Installer addition on 2009-06-28_at_08:42:07: adding an appropriate PATH variable for use with MacPorts...........................

View 1 Replies View Related

Software :: Terminal Prompt Randomly Reset

Aug 26, 2010

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?

View 1 Replies View Related

OS X :: Terminal Prompt - What Daniel - IPhone - Gateway - Bios

Aug 8, 2010

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?

View 6 Replies View Related

OS X :: Unable To Shutdown Using Terminal / Prompts For Password?

Jul 7, 2009

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.

View 3 Replies View Related

Applications :: Unable To Use Terminal / Terminal Stucks At Blank Login Window

Oct 20, 2009

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.

View 1 Replies View Related

OS X :: Unable To Type Password In Terminal / Terminal Not Reacting To My Typing

Jan 26, 2010

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.

View 3 Replies View Related

OS X V10.7 Lion :: IMac 27 Late 2010 Does Not Shutdown When Shutdown In The Normal Way

Apr 15, 2012

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?

Info:
iMac, Mac OS X (10.7.3)

View 2 Replies View Related

OS X Server :: Processes Started In Terminal End When Terminal Closed?

Jan 29, 2008

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?

View 2 Replies View Related

PowerPC :: Dual G5 Shutdown Randomly - PMU Forced Shutdown, Cause = -122

Sep 8, 2006

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?

View 12 Replies View Related

OS X :: Unable To Install Terminal App - Run Terminal As Admin?

Aug 19, 2010

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.

View 3 Replies View Related

OS X :: Password Prompt Before App Install?

Oct 12, 2010

On my MBP, I get prompted for a PW before any program gets installed.

On my iMac, at times I get prompted, other times I don't.

I just downloaded handbrake and installed but there was no PW prompt.

The day before I installed a plug in for Quicktime and was prompted for a PW.

How can I get so that I get prompted for a PW every time before anything gets installed?

View 5 Replies View Related

OS X :: Command Prompt On Mac Like Normal PC?

Jul 27, 2008

Does Macbook carried a Command Prompt like a normal PC?

View 10 Replies View Related

OS X :: Stop The Password Prompt?

Sep 24, 2009

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

View 10 Replies View Related

MacBook Pro :: Prompt For OS At Startup?

Jun 11, 2010

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.

View 6 Replies View Related

OS X :: Removing User From Prompt?

Jul 19, 2010

My prompt in Terminal looks like this:

Code:

MacBook-de-Pedro-Gordo:~ Pedro_Gordo$

How can I remove permanently my username (Pedro_Gordo) from the prompt, so it looks like this:

Code:

MacBook-de-Pedro-Gordo

View 5 Replies View Related

OS X :: Screensaver Password Prompt Timeout?

Sep 14, 2007

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.

View 4 Replies View Related

PowerPC :: Prompt To Restart Appear Randomly On G4?

Jan 27, 2008

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".

View 12 Replies View Related

OS X :: Disabling Login Password Prompt?

Jul 9, 2008

I would like to disable the login password prompt when I boot the computer. I cannot seem to find a way to do that.

View 7 Replies View Related

IMac :: Password Prompt On Startup?

Mar 28, 2009

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?

View 3 Replies View Related

OS X :: How To Disable Password Prompt On Installations

May 1, 2009

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?

View 14 Replies View Related

Software :: Safari Keychain Prompt - What To Do?

May 9, 2010

I'm suffering the Safari Keychain prompt issue too! I've followed several instructions on various forums but still no joy!

View 2 Replies View Related

OS X V10.7 Lion :: Safari Prompt In Preferences?

Mar 15, 2012

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?

Info:
Mac OS X (10.7.3)

View 6 Replies View Related

MacBook Pro :: Get Rid Of Prompt To Update An App Already Deleted?

May 23, 2012

how do I get rid of prompt to update an app I already deleted??

Info:
MacBook Pro, Mac OS X (10.7.4)

View 2 Replies View Related

OS X Mavericks :: FaceTime Password Prompt?

Jun 21, 2014

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?

View 4 Replies View Related

OS X :: Turning Off Password Prompt With SMB File Sharing

Nov 3, 2008

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.

View 3 Replies View Related

OS X :: Getting Prompt To Install Latest Update For Mac And Safari

Dec 16, 2008

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?

View 3 Replies View Related

OS X :: Login Prompt Not Shown When Wake Up From Sleep

Mar 11, 2009

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"?

View 2 Replies View Related

OS X :: Password Hints From Screensaver Login Prompt

Jul 20, 2010

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"?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved