![OpenVZで/tmpを保護する[閉じる]](https://linux33.com/image/51538/OpenVZ%E3%81%A7%2Ftmp%E3%82%92%E4%BF%9D%E8%AD%B7%E3%81%99%E3%82%8B%5B%E9%96%89%E3%81%98%E3%82%8B%5D.png)
/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
。
上記の解決策が最初のものであり、情報がない場合は、2番目の解決策を使用できます。 OpenVZは各リソースからインスタンスを作成しますが、VMWareは作成しないため、VMWareを使用できます。
この投稿とても良いです。