Topic "Change user in WinSCP"

Author Message
one2connect

Guest


I am using WinSCP for years and enjoy the windows look, edit the file from within WinSCP.
Recently we have moved to CAUTH authentication. Sys Admins have change the privileges which means I have to log in myself, I can view the files but to edit I need to launch putty and sudo <OtherUser>. OtherUser is the owner of the files.

Steps I do if I need to edit files.
>I log in as myusername/mypassword in WinSCP. I can view files but not edit them.
>To edits from within WinSCP I "Open session putty" as myusername.
>My Putty command line I have to issue the following command "sudo -u <OtherUser> -i". Enter "mypassword" and I am free to edit any files.

How I can login directly or change user to "OtherUser" within WinSCP?

I really want to avoid "vi" editor to edit files.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
I'm not really sure that there's any solution.

Anyway, refer to following document:
http://winscp.net/eng/docs/faq_su
_________________
Martin Prikryl
One2Connect

Guest


I already tried this page, but unable to get any success.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
One2Connect wrote:
I already tried this page, but unable to get any success.

What specific problem do you have?
_________________
Martin Prikryl
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