Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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 start-my-radius.sh 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 start-my-radius.sh 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!
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