🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.sources
Article #261

Re: request for a quick hack

#261
From: Gerry Singleton - OpCom Consulta...
Date: Fri, 11 Dec 1992 22:54
18 lines
1306 bytes
the su-command function looks neat.  The request to extend it
to let you edit files as root is not necessary, however.  You can
use ange-ftp to your localhost as root to do this.  This is what I
do.

Alternatively, you could hack on emacsclient to pass the
real and effective uids as well as the filename to edit, and
then emacsserver could realize the effective uid is not the
same as the real uid, and (transparently) use ange-ftp as the
effective uid to get and edit the file.

Use ange-ftp to his localhost... its far simpler.

ger
---
G. Roderick Singleton, OPCOM Solaris 2.0 Migration Support Centre
{ gerrys@canada.sun.com | gerry@nexus.yorku.ca | gerry@eclectic.uucp }
Voice: 1-800-363-6200 (Canada and U.S.A.)
Technical Details
Message-ID: <1992Dec11.225416.2702@newscan.canada.sun.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!ames!sun-barr!news2me.EBay.Sun.COM!cronkite.Central.Sun.COM!sixgun.East.Sun.COM!newscan!tournesol!gerrys
References: <SNOW.92Dec10230108@castor.hahnemann.edu>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.sources
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!ames!sun-barr!news2me.EBay.Sun.COM!cronkite.Central.Sun.COM!sixgun.East.Sun.COM!newscan!tournesol!gerrys
From: gerrys@sun.com (Gerry Singleton - OpCom Consultant)
Subject: Re: request for a quick hack
Message-ID: <1992Dec11.225416.2702@newscan.canada.sun.com>
Sender: news@newscan.canada.sun.com
Nntp-Posting-Host: tournesol
Reply-To: gerrys@sun.com
Organization: Sun Microsystems, Inc.
References: <SNOW.92Dec10230108@castor.hahnemann.edu>
Date: Fri, 11 Dec 1992 22:54:16 GMT
Lines: 19