LESMUUG FAQ

Intro

Meetings

Mailing List

Membership

Links

Reviews

FAQ

Snapshots

Product

Also check out the these Tips/Problem Solving links.
1. Unix Stuff

2. MacOS X UI type stuff

3. Startup/Shutdown Key Sequences

4. More Key Sequences

1. Unix Stuff
1.1. How do I boot into single user mode?
Restart and press Appl-s

1.2. How can I enable sshd?
edit /etc/xinetd.d/ssh - set disable to yes and kill -HUP xinetd if it's running or start it as root with /usr/sbin/xinetd -pidfile /var/run/xinetd.pid if it's not

Or from System Preferences check on the Remote Login box

1.3. Why is /etc/passwd, /etc/group, et al empty
Darwin does not use the standard unix maps by default. Instead it uses something called NetInfo and lookupd. You can configure lookupd to use different name resolution agents to find information in various locations including NIS, LDAP, DNS, and normal flat files. Check these out for more information

http://www.bresink.de/osx/nis.html
http://developer.apple.com/techpubs/macosx/Essentials/SystemOverview/SystemOverview.pdf

1.4. Can I use kerberos to authenticate?
Yes, but only from the loginwindow. See http://docs.info.apple.com/article.html?artnum=107154 for instructions on how to do this.

1.5. How do I mount Linux NFS shares?
mount -t nfs -o"-P" host:/foo /mnt
or from the finder: Appl-k nfs://server/share

1.6. Can I authenticate against an NT domain?
Yes, and no. You can authenticate against an NT domain when trying to mount an NT share but you can not force the loginwindow to authenticate against an NT domain.

1.7. Where have all the compilers gone?
You need to install the developer tools freely available from Apple's ADC web site: http://developer.apple.com/macosx/.

1.8. Where is strace?
The closest equivalent is ktrace(1)

1.9. How do I automagically mount file systems?
Mac OS X has amd(8) built in although by default it seems to run automount(8). From the finder you can navigate to the Network icon.

1.10. Does Darwin really have a built-in firewall?
Why yes it does. It's called ipfw(8).

1.11. How do I enable filesystem journaling?
$ sudo diskutil enableJournal /
Timed out waiting for arbitration
Allocated 8192K for journal file.
Journaling has been enabled on /
$ mount
/dev/disk0s5 on / (local, journaled)

Or File->Enable Journaling (Appl-j) from Disk Utility

1.12. How do I run softwareupdate without having QuickTime pop up a confirmation window?
export COMMAND_LINE_INSTALL=1 into your environment. See installer(8).

1.13. Why does squirremail send mail from user@getenv.mydomain.com?
dunno - php thing? run sudo /etc/squirrelmail/config/conf.pl. Select 2 and set the domain name (1) explicitly.

1.14. How do I access a file's resource fork?
assuming an HFSish filesystem... file/..namedfork/rsrc - likewise, file/..namedfork/data for the traditional part.

1.15. Why isn't the user's page refreshed when they send mail using SquirrelMail on 10.3 Server?
It has to do with SSL and Server Admin. Check out http://docs.info.apple.com/article.html?artnum=107982

1.16. How do I change the startup disk from the command line?
# nvram -p | grep boot-device
boot-device fwx/node@d04b311505e281/sbp-2@c000/@0:9,\\:tbxi
# bless -mount /Volumes/noisebox -setBoot
noisebox:~ root# nvram -p | grep boot
boot-device mac-io/ata-4@1f000/@0:10,\\:tbxi
#

1.17. How do I change the domain name used in Mailman web page links?
# /usr/share/mailman/bin/withlist -l -r fix_url z-forsale -u z-world.com
Importing fix_url...
Running fix_url.fix_url()...
Loading list z-forsale (locked)
Saving list
Finalizing
#


2. MacOS X UI type stuff
2.1. How do I adjust Terminal.app's opaqueness?
The opacity can be controlled under Terminal->Window Settings... in the Color pop-up menu.

2.2. How do I connect to NFS, SMB(Windows), or AFP(Apple) Shares?
From the finder press Appl-k and do the following:

For NFS: nfs://server/share
For SMB: smb://server;workgroup/share
For AFP: afp://server/share


3. Startup/Shutdown Key Sequences
3.1.
  • Startup Command Keys

    Close Open Windows - Shift
    Start from CD - C
    Start from OS X - X (some machines)
    Select Start Up Disk - Option
    Reset PRAM - Cmd+Option+P+R
    Start Up in Single User Mode - Cmd+S
    Start Up in Verbose Mode - Cmd+V
    Boot into Open Firmware - Cmd+Option+O+F
    Eject CD at Startup - Hold down Mouse button

  • Shutdown, Restart and Sleep Keys

    Deep Sleep Cmd+Option+Eject
    Shutdown, Restart, Sleep Dialog Control + Eject
    Shutdown, Restart, Sleep Dialog Power key on keyboard



4. More Key Sequences
4.1.
Alt-mute-mute Start or bring to forground System Prefs
Appl-m Minimize window
Appl-h Hide all windows associated with application in focus
Appl-Tab Tab through running applications
Appl-Shft-Tab Tab backward through running applications
Appl-Shft-~ Tab through all open windows of current application
Alt-Appl-Eject Put machine to sleep
Ctrl-i Cycle through columns to sort in the finder in list or column view
Ctrl-Tab Same as Ctrl-i but in reverse


Wed, Dec 15, 2004