Node:SFS configuration, Next:Command reference, Previous:System overview, Up:Top
SFS comprises a number of programs, many of which have configuration
files. All programs look for configuration files in two
directories--first /etc/sfs, then, if they don't find the file
there, in /usr/local/share/sfs. You can change these locations
using the --with-etcdir and --datadir options to
the configure command, configure.
The SFS software distribution installs reasonable defaults in
/usr/local/share/sfs for all configuration files except
sfsrwsd_config. On particular hosts where you wish to change the
default behavior, you can override the default configuration file by
creating a new file of the same name in /etc/sfs.
The sfs_config file contains system-wide configuration parameters
for most of the programs comprising SFS. Note that
/usr/local/share/sfs/sfs_config is always parsed, even if
/etc/sfs/sfs_config exists. Options in
/etc/sfs/sfs_config simply override the defaults in
/usr/local/share/sfs/sfs_config. For the other configuration
files, a file in /etc/sfs entirely overrides the version in
/usr/local.
If you are running a server, you will need to create an
sfsrwsd_config file to tell SFS what directories to export, and
possibly an sfsauthd_config if you wish to share the database of
user public keys across several file servers.
The sfssd_config file contains information about which protocols
and services to route to which daemons on an SFS server, including
support for backwards compatibility across several versions of SFS. You
probably don't need to change this file.
sfs_srp_params contains some cryptographic parameters for
retrieving keys securely over the network with a passphrase (as with the
sfskey add usr@server command).
sfscd_config Contains information about extensions to the SFS
protocol and which kinds of file servers to route to which daemons. You
almost certainly should not touch this file unless you are developing
new versions of the SFS software.
Note that configuration command names are case-insensitive in all configuration files (though the arguments are not).
sfs_config: System-wide configuration parameters
sfsrwsd_config: File server configuration
sfsauthd_config: User-authentication daemon configuration
sfs_users: User-authentication database
sfssd_config: Meta-server configuration
sfs_srp_params: Default parameters for SRP protocol
sfscd_config: Meta-client configuration