Skip to main content

Questions tagged [sudo]

1 vote
0 answers
110 views

Inside Emacs it's possible to run a shell command under sudo by doing the following: (let ((default-directory "/sudo::")) (shell-command "the-command-that-requires-sudo-access")) ...
PRouleau's user avatar
  • 924
0 votes
0 answers
119 views

I have this code here. I also tried adding sudo touch. The only thing that seems to work is if I run it as a normal bash org code and use the SUDO_ASKPASS variable. #+begin_src bash :results output :...
ritchie's user avatar
  • 169
2 votes
1 answer
484 views

I have this weird setup that once I log onto our server with the sudo uat command, I will be logged in with my own user dadinn@uat. I have set up .ssh/config so that uat is really an alias for ...
Daniel Dinnyes's user avatar
0 votes
1 answer
352 views

I'm asked far too often for my sudo password by TRAMP.
fred's user avatar
  • 21
0 votes
1 answer
169 views

I have done this a ton of times in the past 10 months or so that I have been using Emacs (which I have quickly come to love, by the way) and never had a problem. No clue what I changed or how, but ...
user2800929's user avatar
0 votes
0 answers
363 views

I was wondering how you could get the equivalent of sudo !! in eshell. I cant tell you the amount of times I have done this forgetting eshell doesn't have this feature built in. I have looked through ...
Nicholas Hubbard's user avatar
1 vote
0 answers
217 views

In my .profile I've export EDITOR="emacsclient -qa \"emacs --no-window-system --no-desktop\"" Doing sudo -e /somefile doesn't work even when Emacs server is running. I get emacsclient: unrecognized ...
legends2k's user avatar
  • 207
0 votes
2 answers
240 views

I use the following alias: alias e='emacsclient -a '\'''\'' -t alias sudo='sudo ' That way I can execute both, commands and aliases, with sudo, including e, which launchs the emacs server if it is ...
ABu's user avatar
  • 290

15 30 50 per page