You can install suas serveral ways. You can download pre-compiled executable packages for RedHat Linux (.rpm) and FreeBSD port package, or compile suas yourself (recommended).
cd /usr/src; tar xzvf
suas-x.x.tar.gz
).src/suas.h
and execute ./configure;make all
from src directory.make install
will install suas and nfs daemon on your system.Server must run suas daemon, suad. Add it to your initialization scripts, e.g. /etc/rc.d/rc.local.
All suas configuration files lives in /etc/suas directory. You must edit
clientlist
. This file contains list of clients which are allowed
to connect to suad
. Syntax of this file is very simple; each line
contains host/network address and netmask. Example:
# Allow all hosts from "C" network 192.168.1.0 192.168.1.0/24Suas password file (
/etc/suas/passwd
) is unix-style shadowed password
file. This file should be linked (e.g. from nfs-mounted directory) to
/etc/passwd
on each workstation. It's recommended to share same
password file between workstations and server. So make a hard link to
/etc/passwd
: ln /etc/passwd /etc/suas/passwd
.
The userlist file (/etc/suas/userlist
) contains user's encrypted
passwords (MD5 hashes). This file must be root.root owned and mode 600 (u+rw).
This file is maintained by suad (and suac -c).
Add suamaster to your initialization scripts. If you are running suamaster with getties, don't forget to comment out these ttys from inittab(5) file.
If you are using pam, add pam_suas to /etc/pam.d/* files.