http://txt2re.com/
-
-
Restarting LDAP
To restart LDAP with most installations (not Mac OS X), use the following command: /etc/init.d/slapd restart
-
Working Directory
When I say working directory I am referring to the current directory you are in when using a command prompt. Just an FYI. If you are ever unsure as to what your working directory is then you can use the pwd command to print it out to the screen.
-
Install imapsq
apt-get install ipmasq -y
-
Quick Install of Squid and Dans Guardian
To get Squid and Dans Guardian: apt-get install squid dansguardian To backup the squid config file: cp /etc/squid/squid.conf /etc/squid/squid.conf.bak To make it transparent, uncomment this line from the squid.conf file: http_port 127.0.0.1:3128 transparent Add this on the next line: http_port 8080 Next, backup the dansguardian config file using the following command: cp /etc/dansguardian/dansguardian.conf /etc/dansguardian/dansguardian.conf.bak Then change 8080 to 8081 Then change filtergroups to = 2 rather than the default of 1 You can then install the webmin module from: http://internap.dl.sourceforge.net/sourceforge/dgwebminmodule/dg-0.5.10-pr5.wbm
-
Where are my LDAP schema files?
/etc/ldap/schema
-
Logging Sudo Events
Someone asked me the other day how to setup OS X to log sudo events. Well, there’s nothing to do. Whether the password used with sudo is right or wrong, all attempts to authenticate through sudo are logged.
-
vnode
The vnode table represents all file activity in UNIX. There is a unique vnode allocated in the vnode table for each active file, each current directory, each mounted-on file, text file, and the root. To see the number of vnodes available in Mac OS X, look to sysctl for the kern.maxvnodes variable using something similar to the following command: sysctl -A | grep vnode