uftp-ftp-server-non-root
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
uftp-ftp-server-non-root [2024/09/15 12:32] – created kingk | uftp-ftp-server-non-root [2024/09/15 12:35] (current) – kingk | ||
---|---|---|---|
Line 29: | Line 29: | ||
</ | </ | ||
- | By disabling single instance check and daemon mode uFTP wi avoid using restricted permission kernel calls. | + | By disabling single instance check and daemon mode uFTP will avoid using restricted permission kernel calls. |
The next step is to set the user config accordingly in the configuration file: | The next step is to set the user config accordingly in the configuration file: | ||
Line 41: | Line 41: | ||
#START FROM USER 0 TO XXX | #START FROM USER 0 TO XXX | ||
USER_0 = plutoftp | USER_0 = plutoftp | ||
- | PASSWORD_0 = pip | + | PASSWORD_0 = plutosecretpassword |
HOME_0 = / | HOME_0 = / | ||
GROUP_NAME_OWNER_0 = pluto | GROUP_NAME_OWNER_0 = pluto | ||
Line 47: | Line 47: | ||
</ | </ | ||
- | The final step, if you need log for debug is to change the log location to be located in a folder writable by the user: | + | The final step, if you need logs for debug purpose |
Example below: | Example below: | ||
Line 55: | Line 55: | ||
</ | </ | ||
+ | After all these changes you can execute uFTP with the terminal or with any other script logged as the non root username. | ||
uftp-ftp-server-non-root.1726396325.txt.gz · Last modified: 2024/09/15 12:32 by kingk