🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #8165

Re: Suggestion: An su mode for Emacs???

#8165
From: Nate Hess
Date: Mon, 19 Dec 1988 19:43
21 lines
1234 bytes
In article <8812161518.AA20708@uk.ac.lon.rfhsm.ux>, and@ux (Andy Holyer) writes:
>Dear Net-things,
>Is it possible to have a command (su-emacs, say) which asks for the su
>password, and from then on acts as if it was run by root?

Here is something quick'n'dirty that should do what you want:


(defun emacs-su ()
  "Don superuser costume in a seperate terminal emulator buffer."
  (interactive)
  (terminal-emulator "*Emacs su*" "/bin/su"))


Hope it helps,
--woodstock
--
	   "What I like is when you're looking and thinking and looking
	   and thinking...and suddenly you wake up."   - Hobbes

woodstock@sc.intel.com    ...!{decwrl|hplabs!oliveb|amd}!intelca!mipos3!nate 
Technical Details
Message-ID: <3354@mipos3.intel.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!oliveb!intelca!mipos3!nate
References: <8812161518.AA20708@uk.ac.lon.rfhsm.ux>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!oliveb!intelca!mipos3!nate
From: nate@hobbes.intel.com (Nate Hess)
Newsgroups: comp.emacs
Subject: Re: Suggestion: An su mode for Emacs???
Message-ID: <3354@mipos3.intel.com>
Date: 19 Dec 88 19:43:37 GMT
References: <8812161518.AA20708@uk.ac.lon.rfhsm.ux>
Sender: news@mipos3.intel.com
Reply-To: woodstock@hobbes.intel.com (Nate Hess)
Organization: Intel Corporation, Santa Clara, CA
Lines: 21
In-reply-to: and@ux.rfhsm.lon.ac.UK (Andy Holyer)