Linux HOWTOs

About | Home | Search


HOWTO: cistron
Description: An authentication and accounting server for terminal servers that speak the RADIUS protocol
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# Cistron Radius 1.6.7
# ====================
# I haven't used this in several years, so this will no longer be updated
# unless new versions of Cistron come out.  Unless you need to run this one
# for some reason, I suggest that you use freeradius instead.

# Backup existing radius files
test -d /etc/raddb &&
 ( mkdir -p ~/backup/radius
   tar cjvf ~/backup/radius/raddb.tar.bz2 /etc/raddb
   chown root.root ~/backup/radius/raddb.tar.bz2
   chmod 400 ~/backup/radius/raddb.tar.bz2 )

cd
test -f installed/radiusd-cistron-1.6.7.tar.gz &&
 mv installed/radiusd-cistron-1.6.7.tar.gz .
test ! -f radiusd-cistron-1.6.7.tar.gz &&
 wget ftp://ftp.radius.cistron.nl/pub/radius/radiusd-cistron-1.6.7.tar.gz
cd /usr/local/src
find -type d -maxdepth 1 -name "radiusd-cistron-*" -exec rm -r {} \;
tar xzvf ~/radiusd-cistron-1.6.7.tar.gz
cd radiusd-cistron-1.6.7
chown -R root.root .
cd src
make
make install
cd ../raddb
cp dictionary dictionary.compat dictionary.livingston dictionary.usr \
 /etc/raddb/
cd /etc/raddb
rm -f dictionary.ascend dictionary.bay dictionary.cisco dictionary.cistron \
 dictionary.erx dictionary.redback dictionary.shiva dictionary.tunnel \
 dictionary.versanet
cd
mkdir -p installed
rm -f installed/radiusd-cistron-*.tar.* installed/radiusd-cistron-*.patch
mv radiusd-cistron-1.6.7.tar.gz installed/

Back to the list


Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>