SU to other user and resume ?!

Advertisement

buzz
Guest

SU to other user and resume ?!

Hi there ...

cool program but is it possible
to SU to another user when im connected.
For sec. reasons all our boxes are only allowed
to ssh to one user.

Secord, if or when is resume possible in WinSCP ?
SCP for console works fine, why not put it in
WinSCP ?

//Buzz

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: SU to other user and resume ?!

buzz wrote:

cool program but is it possible
to SU to another user when im connected.
I've tried this, but at least on servers I have access to, SU requires TTY in standard input, which is not case of WinSCP.

Secord, if or when is resume possible in WinSCP ?
SCP for console works fine, why not put it on
WinSCP ?
Which console SCP supports resuming? AFAIK, SCP does not support resuming at all!
_________________
Martin Prikryl

Reply with quote

Guest

Re: SU to other user and resume ?!

First, I'm not a su expert but isn't it possible to add your user to sudoers so it wont require a password to su to root?

Second, so SCP doesn't support file resumes? If so, that is a major flaw in the SCP protocol :( Maybe it is possible to emulate the resume behaviour by executing a command line like `cut file|tail -c "the remaining bytes"` and save the output from stdout to the file? I don't know if that is possible with SCP but if it is, then SCP doesn't need to know if we are trying to resume a file or not.

Does it supports canceling requests on file transferes then? I know its on the TODO but is it possible?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: SU to other user and resume ?!

Anonymous wrote:

First, I'm not a su expert but isn't it possible to add your user to sudoers so it wont require a password to su to root?
I don't know, I don't use SU. If it is possible, than you can try to execute SU via console (new feature of WinSCP 2.2). Please let me know if you succeed.

Second, so SCP doesn't support file resumes? If so, that is a major flaw in the SCP protocol :( Maybe it is possible to emulate the resume behaviour by executing a command line ...
Sure, I may. Someday :-)

Does it supports canceling requests on file transferes then? I know its on the TODO but is it possible?
It does not.
_________________
Martin Prikryl

Reply with quote

Guest

>Please let me know if you succeed.

I added this to my /etc/suauth:
root:myusername:NOPASS

Which allows me to su to root without and password typing but a real TTY is still a requirement :(

$ su
su: must be run from a terminal


>>Does it supports canceling requests on file
>>transferes then? I know its on the TODO but is it
>>possible?

>It does not.

The SCP abilities is so limited :cry:

Reply with quote

Advertisement

You can post new topics in this forum