Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Change default button for multi-user shutdown dialog System
I have always been frustrated by the Shut Down/Restart Dialog that shows up when more than one person is logged in. The default button is the Cancel button, so when I type in my user name and password and press the return button, it cancels the Shut Down/Restart. I found a very simple way to change the default button.

To do this, you need the Interface Builder program that comes with Xcode. Open the file ChangeRunState.nib in the folder /System -> Library -> SecurityAgentPlugins -> RestartAuthorization.bundle -> Contents -> Resources -> English.lproj. Make sure the only window, "Panel," is open and make sure the Info window is open by pressing Command-Shift-I.

Next, click on the "Cancel" button. In the Attributes part of the Info window, change the key equivalent popup to "No key." Then click on the "OK" button, and change the key equivalent popup to "Return." Then save it. If you can't save it, you'll have to change the access permissions on the file and maybe the folder it's in. Thats all there is too it!

[robg adds: Please insert standard disclaimer here about modifying core system files: backup your data files, backup the file you're about to modify, and any damage you may do to your system is not our fault! That said, this one is a relatively tame modification, but you will probably have to temporarily change the ownership on the file to make the changes. I have not tested this one.]
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[6,709 views]  

Change default button for multi-user shutdown dialog | 8 comments | Create New Account
Click here to return to the 'Change default button for multi-user shutdown dialog' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Change default button for multi-user shutdown dialog
Authored by: beanboyrjs on Jun 04, '04 11:24:11AM

I don't have that path...it dies after Library. I'm running 10.3.4. Any suggestions...?



[ Reply to This | # ]
Change default button for multi-user shutdown dialog
Authored by: encro on Jun 04, '04 11:48:46AM

A portion of the path is missing, it should be:

/System/Library/CoreServices/SecurityAgentPlugins/RestartAuthorization.bundle/Contents/Resources/English.lproj



[ Reply to This | # ]
Change default button for multi-user shutdown dialog
Authored by: Nefelibata on Jun 05, '04 02:42:27PM

The rigth path is:
/System -> Library -> Core Services -> SecurityAgentPlugins -> RestartAuthorization.bundle -> Contents -> Resources -> English.lproj



[ Reply to This | # ]
Oops...
Authored by: Nefelibata on Jun 05, '04 03:36:35PM

Sorry, encro, I haven't seen your reply.
Of course, the resource to modify is the correspondent to the language installed. So, for me the path ends with /Spanish.lproj
The hint seems to work properly.



[ Reply to This | # ]
Thank you
Authored by: mzs on Jun 04, '04 02:57:51PM

This has bothered me for the longest time!



[ Reply to This | # ]
Change default button for multi-user shutdown dialog
Authored by: Mongoose on Jun 05, '04 12:01:44AM

I don't have Xcode... anyone willing to write a simple program to do this? It has been bothering me for so long... I will be in your debt forever!



Mongoose



[ Reply to This | # ]
Change default button for multi-user shutdown dialog
Authored by: troblong50 on Jun 07, '04 12:49:01PM

Here's a little program I wrote to change the default button. It might be buggy but I wrote it as fast as I could.

http://www.angelfire.com/mac2/buttonchanger/ButtonChanger.zip

Hope this helps!

-Terry



[ Reply to This | # ]
Tested
Authored by: troblong50 on Jun 07, '04 12:54:01PM

I tested this program and it works fine. There's no need to back up the file it replaces because this program gives you the option to change it back to the way it was.



[ Reply to This | # ]