Go Back   The macosxhints Forums > Working with OS X > Tweaking OS X / Wish List



Poll: Have you ever hacked system files to bypass password prompts?
Poll Options
Have you ever hacked system files to bypass password prompts?

Reply
 
Thread Tools Display Modes
Old 12-07-2003, 02:40 AM   #1
menikai
Prospect
 
Join Date: Dec 2003
Posts: 2
Run stuff as admin in normal accounts!

This is a little trick that I found with applescript! If you tell a application to launch via applescript "In the editor" Then it will open the app without restrictions! Here is another tip that i sent as a hint but never made it. See if you like it!

----------------------------------------------------------------

How to open installer packages as an administrator.

Here is a little hack that will work on most if not all installer packages .pkg . To open a .pkg as an administrator....

1: Copy the package to the desktop
2: Show the package contents "Under the context. menu"
3: Find the file "Info.plist"
4: Open it with TextEdit
5: Find the string...

<key>IFPkgFlagAuthorizationAction</key>
<string>RootAuthorization</string>

6: Change "Root" to "User"
7: Save and close Info.plist
8: Close the package contents
9: Open the .pkg
You will notice it will not ask you for a password. If it says there is an error. It is probably really installed and ready to go. If you can't open the installed item. Then that means that you did something wrong in the editing. Redo steps 2 through 9. If this still does not fix the problem. Then there is a deeper and the installer can't be hacked.

I hope this was useful!
starwind@sunflower.com
__________________
we are JP - Electronica Music

http://www.soundclick.com/bands/
wearejp
menikai is offline   Reply With Quote
Old 12-07-2003, 06:52 PM   #2
hschickel
All Star
 
Join Date: Jan 2002
Location: NY, NY
Posts: 776
These sound more like bugs than hacks. Has anyone tried them? If they work did you file them?

Hugh
__________________
First they laugh at you, then they fight you, then you win.
hschickel is offline   Reply With Quote
Old 12-07-2003, 07:09 PM   #3
blb
All Star
 
Join Date: Jan 2002
Location: CO, USA
Posts: 908
Note that all this does is tell the installer it doesn't need to gain root privs for the install. If you try to install something which truly does need root (eg, something with a kernel module), this will fail.

If you don't mind something being owned by you, this otherwise should do the job. However, if the producer of the package listed root as a requirement, there may be a reason...
blb is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 04:53 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.