- Timestamp:
- 04/19/2006 04:23:36 PM (18 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- bd3510d
- Parents:
- 0a58ea4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/major/proftpd.xml
r0a58ea4 r13be1e2 78 78 79 79 <screen role="root"><userinput>groupadd -g 46 proftpd && 80 useradd -c proftpd -d / home/ftp -g proftpd \81 -s /usr/ lib/proftpd/proftpdshell -u 46 proftpd &&82 install -v -d -m775 -o proftpd -g proftpd / usr/lib/proftpd&&83 ln -v -s /bin/false /usr/ lib/proftpd/proftpdshell &&84 echo /usr/ lib/proftpd/proftpdshell >> /etc/shells</userinput></screen>80 useradd -c proftpd -d /srv/ftp -g proftpd \ 81 -s /usr/bin/proftpdshell -u 46 proftpd && 82 install -v -d -m775 -o proftpd -g proftpd /srv/ftp && 83 ln -v -s /bin/false /usr/bin/proftpdshell && 84 echo /usr/bin/proftpdshell >> /etc/shells</userinput></screen> 85 85 86 86 <para>Install <application>ProFTPD</application> as an unprivileged user by 87 87 running the following commands:</para> 88 88 89 <screen><userinput>install_user=proftpd install_group=proftpd \ 90 ./configure --prefix=/usr --sysconfdir=/etc \ 89 <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \ 91 90 --localstatedir=/var/run && 92 91 make</userinput></screen> … … 102 101 103 102 <para><command>install -v -d -m775 -o proftpd -g proftpd 104 / usr/lib/proftpd</command>: Create the home directory for103 /srv/ftp</command>: Create the home directory for 105 104 <application>ProFTPD</application>.</para> 106 105 107 <para><command>ln -v -s /bin/false /usr/ lib/proftpd/proftpdshell</command>:106 <para><command>ln -v -s /bin/false /usr/bin/proftpdshell</command>: 108 107 Set the default shell as a link to an invalid shell.</para> 109 108 110 <para><command>echo /usr/ lib/proftpd/proftpdshell >>109 <para><command>echo /usr/bin/proftpdshell >> 111 110 /etc/shells</command>: Fake a valid shell for compatibility purposes.</para> 112 111 113 112 <note> 114 <para>The above t hreecommands can be omitted if the following directive is113 <para>The above two commands can be omitted if the following directive is 115 114 placed in the configuration file:</para> 116 115 … … 122 121 for anonymous downloads.</para> 123 122 </note> 124 125 <para><parameter>install_user=proftpd install_group=proftpd</parameter>:126 Specify the user and group identity for127 <application>ProFTPD</application>.</para>128 123 129 124 <para><parameter>--sysconfdir=/etc</parameter>: This prevents the
Note:
See TracChangeset
for help on using the changeset viewer.