emacs-devel
[Top][All Lists]
Advanced

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

Re: over-engineered (and under-standardized) inferior interfaces


From: Sam Steingold
Subject: Re: over-engineered (and under-standardized) inferior interfaces
Date: Thu, 28 Aug 2014 15:22:12 -0400

On Thu, Aug 28, 2014 at 2:35 PM, Michael Albinus <address@hidden> wrote:
> Sam Steingold <address@hidden> writes:
>
>> Now I am getting
>>
>> Tramp: Opening connection for address@hidden using sudo...
>> Tramp: Sending command `exec ssh   -o
>> ControlPath=/var/folders/5k/3w_vc1qs6pv4k3wvnrwr_5100000gn/T/address@hidden:%p
>> -o ControlMaster=auto -o ControlPersist=no -e none vertica'
>> Tramp: Waiting for prompts from remote shell...done
>> Tramp: Found remote shell prompt on `vertica'
>> Tramp: Sending command `exec env SHELL=/bin/sh sudo -u dbadmin -s -H
>> -p Password:'
>> Tramp: Waiting for prompts from remote shell...done
>> Tramp: Found remote shell prompt on `vertica'
>> Tramp: Opening connection for address@hidden using sudo...done
>> File error: "Searching for program", "no such file or directory", "vsql"
>>
>> despite
>>
>> vertica$ type vsql
>> vsql is /usr/bin/vsql
>>
>> do you need the "debug" tramp buffer?
>
> Yes, please. With tramp-verbose set to 6.

now I got "sh: cd: : Permission denied" in *SQL*.

Tramp: Opening connection for address@hidden using sudo...
Tramp: Sending command `exec ssh   -o
ControlPath=/var/folders/5k/3w_vc1qs6pv4k3wvnrwr_5100000gn/T/address@hidden:%p
-o ControlMaster=auto -o ControlPersist=no -e none vertica'
Tramp: Waiting for prompts from remote shell...done
Tramp: Found remote shell prompt on `vertica'
Tramp: Sending command `exec env SHELL=/bin/sh sudo -u dbadmin -s -H
-p Password:'
Tramp: Waiting for prompts from remote shell...done
Tramp: Found remote shell prompt on `vertica'
Tramp: Opening connection for address@hidden using sudo...done
Tramp: Opening connection for address@hidden using sudo...
Tramp: Sending command `exec ssh -q   -o
ControlPath=/var/folders/5k/3w_vc1qs6pv4k3wvnrwr_5100000gn/T/address@hidden:%p
-o ControlMaster=auto -o ControlPersist=no -e none vertica'
Tramp: Waiting for prompts from remote shell...done
Tramp: Found remote shell prompt on `vertica'
Tramp: Sending command `exec env SHELL=/bin/sh sudo -u dbadmin -s -H
-p Password:'
Tramp: Waiting for prompts from remote shell...done
Tramp: Found remote shell prompt on `vertica'
Tramp: Opening connection for address@hidden using sudo...done
Login...done



tramp debug is attached


>> also, when I use shell, "sudo -u dbadmin" asks me for a password.
>> tramp does not.
>> I wonder why.
>
> Tramp uses a password cache. Likely, it is in action.

is there a way to specify the password in the default-dir?
is it "sudo:address@hidden"?

thanks!

-- 
Sam Steingold <http://sds.podval.org> <http://www.childpsy.net/>

Attachment: tramp-6.txt
Description: Text document


reply via email to

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