unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* sudo in emacs
@ 2012-01-06  0:47 Rajanikanth Jammalamadaka
  2012-01-06  6:46 ` Harold Pimentel
  2012-01-10 15:03 ` Chris Poole
  0 siblings, 2 replies; 5+ messages in thread
From: Rajanikanth Jammalamadaka @ 2012-01-06  0:47 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]

Hi

My work environment requires that I sudo to an administrative userid using:

sudo -u userid sudo-sh

I normally run emacs using my login userid which is different from the
administrative userid.

Is there a way I can do this using tramp?

The problem of doing this from shell/eshell is that I am able to login
using the above sudo command but when I open a file using C-x C-f, the
files
are opening with my userid rather than the administrative userid.

Is there a workaround for this?

Thanks,
Raj

[-- Attachment #2: Type: text/html, Size: 740 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-01-10 16:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-06  0:47 sudo in emacs Rajanikanth Jammalamadaka
2012-01-06  6:46 ` Harold Pimentel
2012-01-10 15:03 ` Chris Poole
2012-01-10 15:09   ` Tassilo Horn
2012-01-10 16:33     ` Richard Riley

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).