unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: William Case <billlinux@rogers.com>
Subject: Using Emacs as root ?
Date: Sat, 09 Sep 2006 18:38:29 -0400	[thread overview]
Message-ID: <1157841510.2423.32.camel@CASE> (raw)

Hi;

Kind of an Emacs beginner's question.

I do only a little programming -- occasionally writing bash scripts;
that kind of thing.  I mainly use emacs from my desktop launcher to edit
text files like my .bashrc etc.

The other day I was reading up on man smb.conf in my gterminal and
wanted to make some minor changes to smb.conf.  I needed to open a new
tab in the gterminal; su; then run emacs /etc/samba/smb.conf.  That's OK
if that is what emacs is designed to do.  But is there a way to launch
emacs and use some command in the emacs input line that will directly
open a root protected file while I am user, perhaps combined with C-x
C-f?  Is there some key combination I can set up?
-- 
Regards Bill

             reply	other threads:[~2006-09-09 22:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-09 22:38 William Case [this message]
2006-09-09 22:50 ` Using Emacs as root ? Xiao-Yong Jin
     [not found] <mailman.6705.1157841502.9609.help-gnu-emacs@gnu.org>
2006-09-09 22:59 ` Thorsten Bonow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1157841510.2423.32.camel@CASE \
    --to=billlinux@rogers.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).