Python script to generate RADIUS users
Just for future reference, I wrote this quick script using python to generate RADIUS users in the Freeradius /etc/raddb/users file. Makes light work of what I used to do rather painfully in Excel:
__author__ = 'amulheirn'
# Create lots of radius users for /etc/raddb/users file
interface = 'ge-0/2/0' # Local source interface
ipaddr = '89.20.80.' # First three octets of IP addr
startuser = 1 # Start of the user range
enduser = 20 # End of the user
for i in range (startuser, enduser):
print 'user%[email protected] Cleartext-Password := "password"' % (i)
print ' Service-Type := "Framed-User",'
print ' Framed-Protocol := "PPP",'
print ' Framed-IP-Address := "%s%d",' % (ipaddr, i)
print ' Context-Name := "tuk_llu",'
print "======[END]====="
Cisco says it's found no back-door breaches. Yet.
IP-optical integration is getting to be a trend.
StackEngine, we hardly knew ye. Oracle now owns some production-ready Docker know-how.