WinSCP no longer deleting files on Ubuntu 26

Advertisement

Majed
Joined:
Posts:
4
Location:
belarus

WinSCP no longer deleting files on Ubuntu 26

Peace, the !requiretty was removed from sudo in the mentioned version of Ubuntu so I am unable to scp files from it.
here is the sudoers configuration:
user ALL=(ALL) NOPASSWD: ALL
The connection is configured for scp and in the more tab, sudo su - is set. How to make it work when !requiretty can not be configured in sudoers?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
42,857
Location:
Prague, Czechia

Re: WinSCP no longer deleting files on Ubuntu 26

I do not know anything about it. But consulting with Gemini, it claims that although the !requiretty is not longer supported, it's actually the default configuration. So there should be no change in behaviour.
So what exact problem do you have now? Can you login when sudo su - is set as a shell? If you can, the problem is probably not about !requiretty.

Reply with quote

Guest

SFTP is perm, user, group based. If anything changes such as copying files outside of it or from a client with another user, it can see problems with access.

Reply with quote

Advertisement

You can post new topics in this forum