TMA-SOLARIS-7.4
Set Default File Creation Mask for FTP Users
Mô tả
If FTP is permitted, set a strong, default file creation mask to apply to files created by the FTP server. Many users assume that the FTP server will use their system file creation mask; generally it does not. This setting ensures that files transmitted over FTP use a strong file creation mask. Audit: only evaluated where the FTP server is installed.
Cách kiểm tra
Phương pháp kiểm tra: Mẫu tệp
- Tệp
/etc/proftpd.conf- Mẫu khớp
(?m)^Umask\s+0?27\b
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
Perform the following to implement the recommended state: # cd /etc # if [ "`grep '^Umask' proftpd.conf`" ]; then awk '/^Umask/ { $2 = "027" } { print }' proftpd.conf > proftpd.conf.CIS mv proftpd.conf.CIS proftpd.conf else echo "Umask 027" >> proftpd.conf fi
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- solarisaccounts
- Tham chiếu
- CIS Oracle Solaris 11.4 Benchmark v1.1.0 - 7.4 Set Default File Creation Mask for FTP Users
Kiểm tra máy này
Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.
tmaegis scan --target solaris