Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-30-2010, 11:54 AM   #1
LQ Newbie
Registered: Oct 2008
Posts: 21

Rep: Reputation: 0
Trying to get radius to start after a reboot


I have installed FreeRadius to a Debian Linux server.

I have configured an account called Support to run the Radius as I didnít want Root to be the user to run this.

I want Radius to start up automatically after the system is rebooted but I donít know how to do this. I am new to Linux so please bare with me. If the system is rebooted, is it possible for the Support account to be logged in automatically? Is there a script I can create to automatically login the Support account? This may not be secure but it has been requested. Also the main question is after a reboot can the Radius be configured to automatically start without the need for someone to login? So if the system is rebooted and then goes back to login prompt, can the Radius then be running?

I have had a good search about scripts but with my limited knowledge it isnít too easy.

So far Iíve read it says to create a script in /etc/init.d which Iíve done and named I think Iíve made It execuatable by chmod 777, if thatís right? The script looks like this

/usr/local/sbin/radiusd -a /usr/local/var/log/radius/radacct/ -d /usr/local/etc/raddb/ -l /usr/local/var/log/radius/radius.log

But I donít know if thatís even right? The radiusd is located in the /usr/local/sbin/ and the radacct and radius.log is located in / usr/local/var/log/radius

Some stuff I have read says it needs to link into /etc/rc.d but there isnít a rc.d directory, I have other rc directories which are rc1.d Ė rc6.d.

After reading it also said something about using rc.radiusd which will automatically start Radius after a reboot, but again I cannot understand exactly what I need to do.

Please can someone help out with this and let me know if I am on the right track? Will the script work after the system is rebooted without someone actually login and how do I get it to work?

Please explain clearly as this is all a bit technical for my liking and not understanding it well!
Old 10-01-2010, 04:50 AM   #2
Senior Member
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
How did you install the package? Did you use yum to install? You install freeradius, right?
In fedora you should be able to use service command to start the server.
Like service radiusd start and chkconfig should make it run after reboot without your intervention.
chkconfig --add radiusd
chkconfig radiusd on


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I get VNC to start on Reboot? niner710 Linux - Newbie 2 05-26-2008 09:09 PM
NICs do not start on reboot Padawan.AVT Linux - Networking 2 01-30-2008 09:51 AM
network doesn't start on reboot wayneddsn Linux - Networking 4 04-08-2006 07:52 AM
Xserver won't start after reboot amishdisco Linux - Software 11 12-29-2004 07:20 AM
X won't start after reboot kodiakmook Linux - General 3 12-21-2001 04:25 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration