Topic "SU to other user and resume ?!"

Author Message
buzz

Guest


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
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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.

Quote:
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
Guest




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 Sad 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?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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.

Quote:
Second, so SCP doesn't support file resumes? If so, that is a major flaw in the SCP protocol Sad Maybe it is possible to emulate the resume behaviour by executing a command line ...

Sure, I may. Someday Smile

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

It does not.
_________________
Martin Prikryl
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 Sad

$ 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 Crying or Very sad
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License