WinSCP as the root
With the entry doas /usr/libexec/sftp-server
, WinSCP starts the SFTP server with root rights. This allows additional settings to be made and configuration files to be adapted.
Requirements:
- WinSCP client has been installed.
Proceed as follows:
- 1. Start the WinSCP client.
The login window appears. - 2. Click on Advanced to open further settings.
- 3. Click on SFTP in the tree view on the left and enter the value
doas /usr/libexec/sftp-server in SFTP server. - 4. Save the settings for the administrator account.
- Then log in with the administrator account. You now have access with root rights via WinSCP.