Opened 4 years ago

Closed 4 years ago

#12073 closed Feature request (rejected)

Add SFTP protocol option to use sudo on login

Reported by: Reto4 Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc:
Component version: Operating system type:
Operating system version:

Description

Change History (2)

comment:1 by Dmitry, 4 years ago

I also need this feature extremely.
This is sad, but currently, I have to give up FileZilla in favor of WinSCP, because I need to execute command like "sudo -u tools.PROJECT-NAME /usr/lib/sftp-server" right after logging in (authorisation under tool account). If I don't do that, I'm authorized under my private account and cannot access some of the files, and also new files will have wrong permissions.

See https://wikitech.wikimedia.org/wiki/Help:Access_to_Toolforge_instances_with_PuTTY_and_WinSCP

This is standard way to work in Labs/Toolforge projects (Toolforge - public tools hosting of Wikipedia/Wikimedia projects).

comment:2 by Tim Kosse, 4 years ago

Resolution: rejected
Status: newclosed

sudo is not part of the SFTP specifications.

sudo is an undefined, system-specific command on interactive shells that isn't portable.

Note: See TracTickets for help on using tickets.