From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Josh Howard Newsgroups: gmane.emacs.help Subject: Re: root buffer in Emacs started as ordinary user Date: Wed, 30 Jun 2004 09:47:19 -0700 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87smcdat7s.fsf@dazed.zeppelin.net> References: <20040630163843.GA2442@max.my.domain> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1088614063 9867 80.91.224.253 (30 Jun 2004 16:47:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 Jun 2004 16:47:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 30 18:47:34 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BfiFC-0003VE-00 for ; Wed, 30 Jun 2004 18:47:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BfiGv-0007Ba-2X for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Jun 2004 12:49:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BfiGo-0007BQ-GE for help-gnu-emacs@gnu.org; Wed, 30 Jun 2004 12:49:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BfiGn-0007BE-0C for help-gnu-emacs@gnu.org; Wed, 30 Jun 2004 12:49:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BfiGm-0007BB-Ls for help-gnu-emacs@gnu.org; Wed, 30 Jun 2004 12:49:12 -0400 Original-Received: from [66.92.250.118] (helo=dazed.zeppelin.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BfiEy-0007D7-Tx for help-gnu-emacs@gnu.org; Wed, 30 Jun 2004 12:47:21 -0400 Original-Received: by dazed.zeppelin.net (Postfix, from userid 1000) id 6FF82A9AF; Wed, 30 Jun 2004 09:47:19 -0700 (PDT) Original-To: help-gnu-emacs@gnu.org In-Reply-To: <20040630163843.GA2442@max.my.domain> (Jean-Christophe Weis's message of "Wed, 30 Jun 2004 18:38:43 +0200") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (berkeley-unix) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19381 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19381 Jean-Christophe Weis writes: > Hello list, > > Can I start Emacs as an ordinary user, and then from inside that > Emacs, open a buffer as root for editing, say, a system file? Or must > I start another Emacs as root to do that? With tramp, yes. C-x C-f /su::/etc/ttys http://www.emacswiki.org/cgi-bin/wiki/TrampMode http://savannah.gnu.org/projects/tramp/ -- Josh Howard