Last change
on this file was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100755
|
File size:
720 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | #nieuwe configfile over oude heen zetten |
---|
3 | #gaat automatisch: |
---|
4 | #svc -d /service/vsftpd |
---|
5 | #edwin: NIET doen, gaat automatisch: |
---|
6 | #mv /etc/vsftpd.conf /etc/vsftpd.conf-oldconfig-delete-me |
---|
7 | #mv /etc/vsftpd.conf.new /etc/vsftpd.conf |
---|
8 | |
---|
9 | #ssl/tls update in config: |
---|
10 | if ! grep ssl_enable /etc/vsftpd.conf; then |
---|
11 | cat >>/etc/vsftpd.conf <<EOF |
---|
12 | |
---|
13 | #SSL and TLS support |
---|
14 | ssl_enable=yes |
---|
15 | rsa_cert_file=/usr/webint/ssl/server.crt |
---|
16 | rsa_private_key_file=/usr/webint/ssl/server.pem |
---|
17 | ssl_sslv2=yes |
---|
18 | ssl_sslv3=yes |
---|
19 | ssl_tlsv1=yes |
---|
20 | force_local_data_ssl=no |
---|
21 | force_local_logins_ssl=no |
---|
22 | EOF |
---|
23 | fi |
---|
24 | if [ ! -e /home/system/vsftpd.chroot_list ]; then |
---|
25 | touch /home/system/vsftpd/vsftpd.chroot_list |
---|
26 | fi |
---|
27 | |
---|
28 | #niet doen, gaat automatisch |
---|
29 | #svc -u /service/vsftpd |
---|
30 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.