[G4] OT - OSX newbie question....

Mike Tweedie mike at springerlabs.com
Fri Aug 1 14:04:57 PDT 2003


Works like a charm! Thanks for the help!

Mike

-----Original Message-----
From: Cameron Kaiser [mailto:spectre at floodgap.com] 
Sent: Friday, August 01, 2003 1:17 PM
To: Power Macintosh G4 List
Subject: Re: [G4] OT - OSX newbie question....


> How does one use terminal in SU (Super User) mode? I type in su at the 
> prompt, and then an admin pwd, and it spits me back out!?
> 
> I want to vi some files.... (I know, I know, but I am an old UNIX guy)

I just do

sudo vi filename

and enter my password at the prompt. After you do this once, sudo will
remember for awhile. If you want a real root shell, I do something like

sudo tcsh

(insert your favourite, though vastly inferior shell here)

-- 
---------------------------------- personal: http://www.armory.com/~spectre/
--  Cameron Kaiser, Floodgap Systems Ltd * So. Calif., USA *
ckaiser at floodgap.com
-- FORTUNE: Today is a great day for making firm decisions. Or is it?
---------

----------
G4ist, a listserv for discussion of everything G4.
FAQ at <http://www.themacintoshguy.com/lists/G4.html>.
Send a message to <G4-DIGEST at themacintoshguy.com> to switch to the digest.

XRouter | Share your DSL or cable modem between multiple computers! 
Dr. Bott | Now $139.99      <http://www.drbott.com/prod/xrouter.html>

Dr. Bott LLC   4-port USB Hub in translucent Graphite!
Dr. Bott LLC   <http://www.drbott.com/prod/ghub.html>

Small Dog Electronics   http://www.smalldog.com  | Canon Digital Cameras |
--Quicksilver & refurbished G4's arriving daily! |   and Camcorders!!    |

MacResQ Specials: LaCie SCSI CDR From $99! PowerBook 3400/200 Only $879! 
Norton AntiVirus 6 Only $19! We Stock PARTS! <http://www.macresq.com>

OS X News, Dr.Mac, Forums, Tutorials, Tips, Hints, FAQ?s -
http://www.osxfaq.com





More information about the G4 mailing list