home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!usc!elroy.jpl.nasa.gov!swrinde!mips!odin!twilight!twilight!jackr
- From: jackr@dblues.wpd.sgi.com (John "Jack" Repenning)
- Newsgroups: comp.emacs
- Subject: Re: Question: How to use Emacs to access root-owned files
- Message-ID: <JACKR.92Aug13164848@dblues.dblues.wpd.sgi.com>
- Date: 13 Aug 92 21:48:48 GMT
- References: <BETSYS.92Aug10171110@ra.cs.umb.edu>
- <BOB.92Aug12120143@volitans.MorningStar.Com>
- <RG.92Aug12201702@nymph.msel.unh.edu>
- Sender: news@twilight.wpd.sgi.com ( CNews Account at twilight.wpd.sgi.com )
- Distribution: comp
- Organization: Silicon Graphics, Inc.
- Lines: 18
- In-Reply-To: rg@msel.unh.edu's message of 13 Aug 92 01:17:02 GMT
-
- In article <RG.92Aug12201702@nymph.msel.unh.edu> rg@msel.unh.edu (Roger Gonzalez) writes:
-
- KLUDGE! KLUDGE! KLUDGE! KLUDGE! KLUDGE! KLUDGE! KLUDGE! KLUDGE! KLUDGE!
- ...
- Its much less kludgey if you just add a built-in command to Emacs
- called "su-command", that prompts for a password, and does a
- setuid. Of course, this requires that you make Emacs suid root,
- which is probably a Bad Thing.
-
- It also makes the entire Emacs have root capabilities (and create
- things owned by root), which is generally undesirable. Something
- adventurous might be done with write-file-hooks and similar....
-
-
-
- Jack Repenning 9U-530 jackr@wpd.sgi.com
- Silicon Graphics, Inc. Off:(415) 390-3027
- Enabling Systems Technology Center Fax:(415) 969-2314
-