Go to your WinSCP profile (Session > Sites > Site Manager) · Click on Edit > Advanced > Environment > SFTP · Insert sudo su -c /usr/lib/sftp-. You cannot use sudo from the terminal, so you need to specify it as see the WinSCP FAQ How do I change user after login (e.g. su root)?. Part 1: The server · Open the /etc/sudoers file using your goto editor. sudo nano /etc/sudoers · Add the following line to the end: administrator. MYSQL WORKBENCH IS NOT CONNECTING TO SERVER
After protecting your SSH login and disabling root from logging in, you will find that getting a complete overview of your host can be tricky. The problem is that the SSH login is now protected and not allowing the root user to login remotely. We can remote login to another user in this case administrator , elevate our permissions by executing commands prepended by the sudo command.
To execute a command with the sudo prepend, you need a password to continue if you don't have enough permissions to execute. This means we cannot just login to the user using WinSCP. Thankfully, there is a solution: sudoers! We can solve the issue by making sure our user can execute sudo commands without having to enter a password. Executing a sudo command will ask us to enter a password. We have two ways to enable executing sudo without a password: Adding the user to the wheel group users Open the configuration file using your goto editor.
Asked 6 months ago. Modified 6 months ago. Viewed times. Improve this question. Add a comment. Sorted by: Reset to default. Highest score default Date modified newest first Date created oldest first. Improve this answer.
Thanks I ll try it. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Time to get on trend. Best practices to increase the speed for Next. Related 4.
Message, matchless))) unblock someone from fortinet mac address something is
Следующая статья cyberduck disable bonjour notifications