image
image
Ticket Options
Question Profile
DATESep 18, 2006
TICKET#28339
STATUSClosed
SUBJECTLaunching BBEdit as root?
CATComputers, Operating Systems, Applications or Connected Devices
TYPEOperating System Features, Bugs and Problems
DESCApple
DESC10.4.X (Tiger)
PLATFORMApple Macintosh (PowerPC G3,G4,G5)
MODELPowerbook G4
PROC1GHz
RAM1GB
DRIVE60GB
NAMEBarron
USERNAME4C4Blessed
TECHNICALLittle Experience
ISSUESome Troubleshooting
Question Details
TICKET ARCHIVE -> Launching BBEdit as root?
4C4Blessed - Sep 18, 2006 - 10:04 am
image
image
Hello!
I want to configure my apache setup a bit. I've managed to use BBEdit to "open hidden" and open the /private/etc/httpd/httpd.conf file. I can see clearly the variable that I need to edit. But...

Bzzzz error, "you don't have permission to edit this file because it is owned by root" blah blah.

Yes, I know you can edit this file oin terminal using sudo pico. Yes, I know you can alsso mosey on over to root's desktop and edit it from there as well. But that's not my goal or question so please don't tell me this is what I "should do". That's not my question.

My question for today is, I would like to know if it's possible to launch an application with root permissions (in this case bbedit), so I can edit this text file here in my own user account, and without a terminal.

How does one do this?

Thank you!
slipknot - Sep 19, 2006 - 2:23 am
image
image
Did you install the BBEdit command line tools? If not you can choose to do so from the BBEdit preferences. Then from within the terminal type:

sudo bbedit /etc/httpd/hhtpd.conf

This also works for opening other Applications as root:

sudo open /Applications/Utilities/Keychain.app

Is one that I use quite often.

Hope this helps,

Gavin
4C4Blessed - Sep 19, 2006 - 5:17 am
image
image
Hello and thanks for taking the time!
I have not installed the command line tools from BBEdit (yet), and I'm trying to do this task without using the terminal. That's my goal. As I've stated, i know it can be done with the terminal. I already know how to do it with the termainal.
I'll refresh my question a little bit:
How do I launch an application as root, without using the terminal?
Is there a key combination to hold down while launching an application which will prompt for the admin pass to launch it as root?
Thanks again!
slipknot - Sep 19, 2006 - 6:43 am
image
image
slipknot - Sep 19, 2006 - 6:48 am
image
image
"I'll refresh my question a little bit:
How do I launch an application as root, without using the terminal?
Is there a key combination to hold down while launching an application which will prompt for the admin pass to launch it as root?"

There are no key combinations that I know of. You could change the ownership of the application in terminal:

sudo chown -R root:admin /Applications/some.app

But not really sure why you want to do this. Yeah you get a warning when you edit the httpd.conf file in BBEdit but choose to ignore the warning and when you come to save the file the OS will ask you to authenticate before committing the changes.
4C4Blessed - Sep 19, 2006 - 6:50 am
image
image
That's interesting, thanks!!
slipknot - Sep 19, 2006 - 6:52 am
image
image
"I'll refresh my question a little bit:
How do I launch an application as root, without using the terminal?
Is there a key combination to hold down while launching an application which will prompt for the admin pass to launch it as root?"

There are no key combinations that I know of. You could change the ownership of the application in terminal:

sudo chown -R root:admin /Applications/some.app

But not really sure why you want to do this. Yeah you get a warning when you edit the httpd.conf file in BBEdit but choose to ignore the warning and when you come to save the file the OS will ask you to authenticate before committing the changes.

IF THIS IS YOUR QUESTION AND YOU WISH TO RESPOND, LOGIN HERE FIRST.


Search Engine Friendly URLs by vBSEO 3.1.0