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 04:45:46 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Am 24.08.2007 um 22:32 schrieb Dieter Wilhelm:
>
>> By the way, can you specify between the double colons another user
>> except root as well?
>
> The "default" use is
>
>       /USER@MACHINE:/PATH/TO.FILE
>
> You're allowed to add a particular method:
>
>       /METHOD:USER@MACHINE:/PATH/TO.FILE
>
> The method sudo usually needs neither a host nor a user name, but
> somehow you need to tell TRAMP these two empty names. So you end up
> with
>
>       /sudo::/PATH/TO.FILE
>
> If you find some time you could try it with a
>
>       /sudo:USER:/PATH/TO.FILE
>
> and see what happens ...

I created a new user: helga

/su:helga: gives

tramp-open-connection-su: Cannot connect to different host `helga' with `su' 
connection method [10 times]

/su:helga@debby: works fine, thanks

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany




reply via email to

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