Home > Alumnus Blog > Just Copy oaste.. :(

Just Copy oaste.. :(

Learn some of the basic steps you can take to make your FreeBSD system more secure.1. set additional flags on your /tmp and /home directories. I will show you how to see your current flags and how to change them[root]# mount/dev/ad0s1a on / (ufs, local)/dev/ad0s1f on /tmp (ufs, local, nodev, nosuid, soft-updates)/dev/ad0s1g on /usr (ufs, local, soft-updates)/dev/ad0s1e on /var (ufs, local, soft-updates)/dev/ad0s1h on /home (ufs, local, nosuid, with quotas, soft-updates)procfs on /proc (procfs, local)The two partitions above are the ones we will be adding flags for. As you can see I added nodev and nosuid on /tmp and nosuid and quotas on /homenodev – stops character or block special devices on the filesystemnosuid – disables suid programs from being run from this filesystemquotas – to limit the amount of disk space that your users may useYou can set these flags in /etc/fstab filethe /tmp directory is a world writable directory [...]

Read original post at ainoer blog

Related posts:

  1. copy file otomatis
  2. Mengenal dot-file di *NIX system
  3. Mengenal dot-file di *NIX system
  4. Instalasi squidguard
  5. install apache 22 + SSL
  6. One Step Closer to 3G Soft Unlock
  7. Captive portal dgn apache-ssl & chillispot
  8. Akses file dari CD
  9. Updates on the first day of July 2008
  10. delete file by date

Categories: Alumnus Blog Tags:
  1. No comments yet.
  1. No trackbacks yet.