Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
sh
configure.sh 0.9 kB 10 22-May-2024 06:33 Ben Spink

This page (revision-49) was last changed on 16-Apr-2024 14:42 by Ada Csaba

This page was created on 05-Dec-2023 05:32 by Ben Spink

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 112 changed one line
Running crush in user mode as "crushftp" system user, by adding below lines into rc.local
Running crush in user mode as "crushftp" system user, by adding below lines into rc.local (generic method)
At line 126 added one line
running in user mode on systemd RHEL 7 family linux
At line 128 added 54 lines
First in crushftp_init.sh will need to set the user as "crushftp" ( or whatever non-root user) then allow rc-local.service to be able to run ( needed for compatibility mode, non root user)
{{{
touch /etc/systemd/system/rc-local.service
vi /etc/systemd/system/rc-local.service
}}}
\\
paste into below
\\
{{{
[Unit]
Description=/etc/rc.local Compatibility
ConditionPathExists=/etc/rc.local
[Service]
Type=forking
ExecStart=/etc/rc.local start
TimeoutSec=0
StandardOutput=tty
RemainAfterExit=yes
SysVStartPriority=99
[Install]
WantedBy=multi-user.target
}}}
\\
then edit /etc/rc.local
\\
{{{
vi /etc/rc.local
}}}
\\
add in
\\
{{{
su crushftp /var/opt/CrushFTP8_PC/crushftp_init.sh start
exit 0
}}}
\\
then make it executable
\\
{{{
chmod +x /etc/rc.local
}}}
\\
then install the rc.local service
\\
{{{
systemctl enable rc-local.service
}}}
\\
reboot, check if OK
Version Date Modified Size Author Changes ... Change note
49 16-Apr-2024 14:42 6.402 kB Ada Csaba to previous
48 16-Apr-2024 14:41 6.437 kB Ada Csaba to previous | to last
47 16-Apr-2024 14:40 6.425 kB Ada Csaba to previous | to last
46 29-Feb-2024 03:33 7.337 kB Ben Spink to previous | to last
45 29-Feb-2024 03:11 7.295 kB Ben Spink to previous | to last
44 27-Feb-2024 03:14 7.284 kB Ben Spink to previous | to last
43 05-Dec-2023 05:32 7.284 kB Ada Csaba to previous | to last
42 05-Dec-2023 05:32 7.454 kB Ada Csaba to previous | to last
41 05-Dec-2023 05:32 6.845 kB krivacsz to previous | to last
« This page (revision-49) was last changed on 16-Apr-2024 14:42 by Ada Csaba
G’day (anonymous guest)
CrushFTP11 | What's New

Referenced by
LeftMenu

JSPWiki