 |
 |
running an app as root?
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Sep 2003
Location: Louisiana, US
Status:
Offline
|
|
I know I can
but how do I su to root in order to edit something in the etc directory?
It seems I do not have the root password. I'd like to be able to log into a terminal as root, and run programs from the terminal. namely texedit. but nothing I try works. What am I doing wrong?
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Apr 2001
Location: Capital city of the Empire State.
Status:
Offline
|
|
You can either enable root via NetInfo Manager or the Terminal, or issue the Terminal command:
sudo -s
which will give you root-level permissions using your admin password.
|
|
/mal
"I sentence you to be hanged by the neck until you cheer up."
MacBook Pro 15"/2.4 GHz Intel Core 2 Duo/4 GB DDR2 SDRAM/200 GB Hitachi HD/8x SuperDrive/Mac OS X 10.6.1
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Sep 2003
Location: Louisiana, US
Status:
Offline
|
|
ok, so then what did I do wrong here?
textedit never came up on the screen.
Code:
[X73-205:~] pwolfe1% sudo -s /Applications/TextEdit.app/
[X73-205:~] pwolfe1%
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Apr 2001
Location: Capital city of the Empire State.
Status:
Offline
|
|
You do it as 2 commands. First
sudo -s
Then you'll be asked for your admin pw. After that, try the
/Applications/TextEdit.app
|
|
/mal
"I sentence you to be hanged by the neck until you cheer up."
MacBook Pro 15"/2.4 GHz Intel Core 2 Duo/4 GB DDR2 SDRAM/200 GB Hitachi HD/8x SuperDrive/Mac OS X 10.6.1
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Jul 2002
Location: Germany
Status:
Offline
|
|
Originally posted by malvolio:
You do it as 2 commands. First
sudo -s
Then you'll be asked for your admin pw. After that, try the
/Applications/TextEdit.app
Hi!
To a unix command TextEdit.app is a directory. To open a MacOS X application from the terminal you have to use the "open" command. There's also a tool called Pseudo, which let's you open Apps as root without using the Terminal.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |