help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SU commands from Emacs


From: Dieter Wilhelm
Subject: Re: SU commands from Emacs
Date: Sat, 25 Aug 2007 05:00:51 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

David Kastrup <address@hidden> writes:

> Dieter Wilhelm <address@hidden> writes:
>
>> Michael Albinus <address@hidden> writes:
>>
>>> Dieter Wilhelm <address@hidden> writes:
>>>
>>>> Yes, lately I stumbled over a find-grep in /etc.  How could this be
>>>> done with root privileges?
>>>
>>> Tramp 2.1 supports it. It is synchronized with the Emacs CVS sources.
>>> Open "/sudo::/etc", and apply "M-x find-grep".
>>>
>> Great! Thanks a lot.
>>
>> By the way, can you specify between the double colons another user
>> except root as well?
>
> /sudo:dieter@:/etc

This notation of leaving out the host is also new to me, thanks

On second thought: shouldn't /su:address@hidden:/dir not be equivalent
to /address@hidden:/dir

> It is not like this is not documented in the tramp manual.

Admitted, I did not read the *whole* documentation of tramp and so the
notation was not so obvious and as far as I leaved through the info
pages the information is not placed at a prominent point.


-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany




reply via email to

[Prev in Thread] Current Thread [Next in Thread]