Dsimportexport, Log rolling scripts – Apple Mac OS X Server (Administrator’s Guide) User Manual
Page 555
Tools for Advanced Users
555
If you see a warning message about a “man in the middle attack” when you try to connect
using SSH, the RSA key fingerprint on the remote server and the computer you are using to
administer it no longer match. This can happen if you use command-line tools to administer
a remote server, establish an RSA key fingerprint, and later change your SSH configuration,
perform a clean install of system software, or start up from the Mac OS X Server CD.
To connect to the remote server again using SSH, you need to edit the entries corresponding
to the hosts (which can be stored by both name and IP number) in this file: ~/.ssh/
known_hosts. You can use TextEdit or another editor to find the host name or IP address and
then delete the key. The key is a long string that may wrap to several lines. In TextEdit you
can press the Control key and type K to delete the line, and then delete the blank line that
the deletion creates.
dsimportexport
Use dsimportexport to import user and group accounts from a file or export them to a file. It
is a useful tool when you want to
m Create a large number of users or groups in a batch.
m Migrate user or group accounts from another server. You can import users and groups
from AppleShare IP 6.3 or Mac OS X Server version 10.1 and earlier.
m Update a large number of user or group accounts with new information.
See “Importing and Exporting User and Group Information” on page 178 for more
information about dsimportexport.
Log Rolling Scripts
Three predefined scripts are executed automatically to reclaim space used on your server for
log files generated by
m Apple file service
m Windows service
m Web service
m Web performance cache
m Mail service
m Print service
The scripts use values in predefined configuration files to determine whether and how to
reclaim space:
m The script /etc/periodic/daily/600.daily.server runs daily. Its configuration file is
/etc/diskspacemonitor/daily.server.conf.