<$BlogRSDURL$>
Apple Mac OS X FAQ
Friday, March 05, 2004
 
To create a host file with Mac OS X
To create a host file with Mac OS X, follow these steps:

Open the /Applications/Utilities/, and then double-click NetInfo Manager.
In the Directory Browser, click the /machines directory. On the Domain menu, click Security, and then click Authenticate. You may be prompted to enter your administrator password. If Deauthenticate appears on the submenu, administrative permissions are already applied.
On the Directory menu, click New Subdirectory. A new item labeled new_directory appears.
In the Value(s) column of the lower window, double-click new_directory, and then type the name of the server to which you want to link an IP address.
On the Directory menu, click New Property, and then replace new_property by typing ip_address.
On the Directory menu, click New Value.
Replace new_value with the IP address of the server to which you want to connect.
On the Domain menu, click Save.
Click Update this copy, and then quit NetInfo Manager.
To test your connection, open the /Applications/Utilities/, and then double-click Network Utility. Click the Ping tab, and then type the name of the server that you defined in the previous procedure. Click Ping.
Monday, March 01, 2004
 
For anybody running Mac OS X Server.
For anybody running Mac OS X Server. It's my experience that Copy Privileges doesn't work all the time.
You can use the terminal to do the equivalent.
You can run chmod recursively, so that it applies to all files and directories contained within the directory you start with.

Example
sudo chmod -R 777 /Volumes/SharedFiles/Projects
Thursday, February 12, 2004
 
How to enable AppleFileShare log to monitor connections
How to enable AppleFileShare log to monitor connections (Requires root privileges)

For Jaguar:

1. Open /Applications/Utilities/NetInfo Manager
2. Login to make changes
3. Choose /config/AppleFileServer
4. Choose the "activity_log" property. Change it from "0" to "1"
5. Choose "Save" from the NetInfo Manager "Domain" menu
6. Stop and restart File Sharing in System Prefs
7. Log file = /Library/Logs/AppleFileService/AppleFileServiceAccess.log

For Panther:

1. Open /Library/Preferences/com.apple.AppleFileServer.plist
2. Change activityLog from to
3. Save the file
4. Stop and restart File Sharing in System Prefs
5. Log file = /Library/Logs/AppleFileService/AppleFileServiceAccess.log
Wednesday, February 11, 2004
 
Enabling Open Firmware Password Protection
Enabling Password Protection
1) Boot into the Open Firmware. (Command + Option + O + F)
2) At the command prompt, type "password" (without the quotes, of course). You will be prompted to enter in the password you wish to use. Type your password, press the return key, retype your password again, and press return to verify that that the first password you typed is indeed the password you want. (Note: the password is stored in the "security-password" variable, but the contents of this variable is never shown via the "printenv" command.)
3) Type "setenv security-mode full" OR "setenv security-mode command" OR "setenv security-mode none", depending on which level of security you wish.
4) Then type "reset-all" to restart the computer.

Disabling Password Protection
1) Boot into the Open Firmware. (Command + Option + O + F)
2) Type "setenv security-mode none" and press return.
3) Enter in the password at the password request prompt and press return.
4) Then type "reset-all" to restart the computer.

Force Removing Password Protection
1) Add or remove DIMMs to change the total amount of RAM in the computer.
2) Then, the PRAM must be reset 3 times. (Command + Option + P + R).
Tuesday, February 10, 2004
 
Adding an Eject Menu in the toolbar.
Go to the root of your hard drive and open System: Library: CoreServices: Menu Extras. Inside that window, double-click on the icon called Eject.menu.
 
Login Panel Switc for Root Access
From the list-of-names view, hold down the option and enter keys, and then click on any name. The login panel switches to displaying the text-entry boxes, where you can log in as root or console.

Sunday, February 01, 2004
 
To Get Serial Number From Terminal
To Get Serial Number From Terminal

[Hostname:~] user% ioreg -l -w 0 | grep IOPlatformSerialNumber
 
Acronyms To Always Remember
POP: Post Office Protocol.
IMAP: Internet Message Access Protocol
SMTP: Simple Mail Transfer Protocol
MIME: Multipurpose Internet E-mail Extension
SASL: Simple Authentication and Security Layer
CRAM Challenge-Response Authentication Mechanism
SSL: Secure Socket Layer

 
Why Common Unix Printing System:
Why Common Unix Printing System:

o Open Source and built on open standards such as PostScript and PPD’s
o Full integrated into the command line. Adding a print queue from the print center makes it available from the command line.
o IE. lpr and lpradmin
o Gimp-Print is an optional install from the installer CD. This gives additional drivers for over 100 printers. Older printer normally not supported in Mac OS X will be supported in conjunction with Gimp-Print. Some Gimp-Print are better than manufacturer drivers. User experience will vary and should be tested.
o Client print sharing can share any queue (USB, network, FireWire) that can print successfully from OS X. This includes both PostScript and Raster printers.
o Mac OS X printing provides accounting records. Information recorded in the page log can be analyzed to obtain accounting data.

Apple does not support the following features of CUPS in the user interface:

o Authentication
o Encryption
o Quotas

You could modify the cupsd.conf file but Apple will not support your changes.

File and Folder Locations

o Mac OS X PPD’s usually resides in:
o /Library/Printers/PPDs/Contents/Resources
o /System/Library/Printers/PPDs/Contents/Resources
o CUPS PPD’s
o /etc/cups/ppd

When print sharing is enabled, a user on a remote computer will receive a copy of the PPD.

o Most Spool Files resides in:
o /var/spool/cups
o CUPS log files
o /var/log/cups


Common Unix Printing Resources:

1. Access your cups web interface.
a. http://127.0.0.1:631/
2. On Line Manual Pages
a. http://127.0.0.1:631/documentation.html
3. Visit CUPS Developer site.
a. http://www.easysw.com/
4. Visit the CUPS and IPP Open Source site.
a. http://www.cups.org
b. http://www.ietf.org/html.charters/ipp-charter.htm
5. Get the book
a. CUPS: Common Unix Printing System - Michael R. Sweet

Monday, January 12, 2004
 
20 Troubleshooting Steps for OS X
20 Troubleshooting Steps for OS X

So your OS X Mac isn't working quite right. What should you do? Here's a list of 20 basic steps to try.

FIRST AID
01 Restart
02 Check/fix the filesystem
03 Make sure you're not running out of free space on the System volume
04 Repair permissions
05 Create a new user account, and see if the problem persists there
06 Clear system & user caches
07 Disable Application Enhancer, if you're running it
08 Startup in SafeBoot mode, and see if the problem persists there
09 Reset system firmware
10 Unplug all USB, Firewire devices except Apple mouse

MORE SERIOUS TROUBLESHOOTING 11 Reapply the latest combo updater
12 Run the Apple hardware diagnostic CD
13 Check the hard drive for bad blocks
14 Take out 3rd party RAM
15 Unplug 3rd Party PCI cards
16 Reset PMU
17 Archive and reinstall the OS
18 Reinstall the system from scratch
19 Send the machine back to Apple
20 Additional Notes



Powered by Blogger