rmuser joe
Monthly Archives: May 2009
DISABLING EXISTING USERS (BUT NOT REMOVING THEIR ACCOUNTS)
pw lock admin
pw unlock admin
cari.net added an admin user group 0!
BSD hardening
by default there are two places for temp files.
/var/tmp
/tmp
move all temp files to /tmp/
ln -s /tmp /var/tmp
Sega shiro Todo
Mycollection
remove comma from rating eg 2,5
fix “my comment” and on text
change images for star in rating
Fist review complete (in priv)
TODO
ability to upload videos for punktoronto, segashiro. wordpress
HTOP
htop(1) requires linprocfs(5) to be mounted. If you don’t
have it mounted already, please add this line to /etc/fstab
and run `mount linproc`:
linproc /compat/linux/proc linprocfs rw 0 0
FROM HERE
First you have to dynamically load the linux object in the kernel:
kldload linux
Then we have to make this loading permanent so add linux_enable=”YES” to /etc/rc.conf.
kldstat
# cd /usr/ports/emulators/linux_base-fc4
# make install distclean
Go to /etc/fstab and add the following line:
linproc /compat/linux/proc linprocfs rw 0 0
Mount the new filesystem: mount linproc and go to /usr/ports/sysutils/htop and install as usual.
lighttpd
/usr/local/etc/lighttpd.conf http://www.lighttpd.net/alias vi='vim' to~/.bashrc / ~/.cshrcPHP5 /usr/ports/lang/php5/usr/ports/lang/php5-extensionsmake install cleancd /usr/ports/archivers/unzipcd /usr/ports/ftp/wget
BSd ports
Warning: Before installing any application, you should check vuxml.freebsd.org/ for security issues related to your application.
You can also install ports-mgmt/portaudit which will automatically check all installed applications for known vulnerabilities; a check will be also performed before any port build. Meanwhile, you can use the command portaudit -F -a after you have installed some packages.
be in the /usr/ports directory. Once in that directory, run make search name=program-name where program-name is the name of the program you want to find
pkg_add -r lsof
SQLlite
cool stuff. dosn’t replace mysql replaces fopen
BSD ports
use the command “whereis” to locate the correct directory in /usr/ports

