Monthly Archives: February 2005

sites

eBay: The Largest Car Dealership Ever

http://motors.shop.ebay.com

Mac Security Ubuntu Unix

Dual Chroot'd DNS Servers

Sweet:

http://www.etherboy.com/dns/chrootdns.html

Mac OS X Mac OS X Server Mac Security Mass Deployment

Reset the Admin or Root Password in Mac OS X

Forgot the admin password in Mac OS X? Well, Apple let’s you boot computers into what is known as Single User Mode. To boot a Mac into Single User Mode, boot the machine holding down Command-S. Once the system boots up, you should see a command prompt. Here, run fsck:

fsck -fy

Then mount the file system:

mount -uw /

Then reset the password using the passed command

passwd <username>

For example, if the user is root:

passwd root

When prompted, provide the desired administrative password.

Uncategorized

NXDOMAIN

When you do a dig, nslookup or another kind of DNS lookup you will occasionally get an error of NXDOMAIN. This error indicates that the domain (or record) does not exist. This is the same with zone transfers as it is with standard lookups.

Unix

If/Then/Else From Bash Programmers Manual

#!/bin/bash
if [ "foo" = "foo" ]; then
     echo expression evaluated as true
else
     echo expression evaluated as false
fi
Articles and Books Mac OS X Server

Mac Tiger Server Little Black Book on the Way!

I have signed the contract to write my first book.  Woo-hoo!!!

Mac OS X Server

High Availability in Mac OS X

AFP548 did a great little article on high availability in Mac OS X environments:

http://www.afp548.com/article.php?story=20041202093128481

Mac OS X Server

Reconfigure Xinetd to Eliminate FTP Wait in 10.3 Server

Tthe FTP service uses RFC 931 for user identification, which isn’t supported in Mac OS X (why we’ll move on to other FTP servers in the future). To resolve, add the -I option in the xinetd configuration as you see here:

service ftp
{
disable = no
instances       = 100
socket_type     = stream
wait            = no
user            = root
server          = /usr/libexec/xftpd
server_args     = -aI
groups          = yes
}

Mac OS X Mac OS X Server Mac Security Ubuntu Unix Windows Server

Splunk.com

Best log analyzer ever.  For centralizing and reviewing logs on lots of servers it’s a must have.

Mac OS X Mac OS X Server Ubuntu Unix

Directory Listing with Permissions

To list the files in a directory with the permissions for files, use the following command (assuming you’re in the working directory you would like to list files for:
ls -al