home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / emacs / 2853 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.4 KB

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