OpenVZ에서 /tmp 보호 [닫기]

OpenVZ에서 /tmp 보호 [닫기]
/tmp should be mounted as a separate filesystem with the noexec,nosuid options set
/var/tmp should either be symlinked to /tmp or mounted as a filesystem
/dev/shm is not mounted with the noexec,nosuid options (currently: none). You should modify the mountpoint in /etc/fstab for /dev/shm with those options and remount

이것은 OpenVZ 서버이며 이러한 문제를 해결하는 방법을 모르겠습니다.

OpenVZ에서 /tmp 등을 안전하게 만드는 방법은 무엇입니까?

이것은 손님을 위한 것입니다. 콘솔에서 이 작업을 수행할 수 있습니까?

답변1

다음에서 안전하게 접근할 수 있습니다.CentOS 보안 TMP 방법을 선택한 다음 및 shared memory (shm)기타를 기반으로 변경합니다 shared directories.

위의 해결 방법이 첫 번째인데 정보가 없으면 두 번째 해결 방법을 사용할 수 있습니다. OpenVZ는 각 리소스에서 인스턴스를 생성하지만 VMWare는 생성하지 않으므로 VMWare를 사용하면 됩니다.

이 게시물매우 좋은.

관련 정보