دانستنیهای پایه

  1. خانه
  2. How To
  3. How To change the user after login
ساخته شده
تغییر یافته

چاپ مقاله

مقاله 2658

How To change the user after login

SFTP

Some Unix servers allow the SFTP server binary to be run under a different user using the sudo command. This is only possible if the server does not prompt the user to enter a password for the new user. This is the case if the logged in user is listed in the /etc/sudoers file.

To change the command that is executed to start the SFTP server follow these steps:

  1. Go to the Favorite Properties
  2. Go to the SSH - SFTP dialog
  3. Set the Custom SFTP Server Command to something like: sudo su -c /usr/lib/sftp-server

کلمات کلیدی
sudo

مقالات مربوطه


What do you think about this topic? Send feedback!