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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am newbie and I am trying to install freeRadius on my centOS. I was successfully able to install the freeRadius; here is the description of what I did:
1)From the freeradius.org I downloaded freeradius-1.1.6.tar under /etc/radius (created a folder by the name radius under /etc/)
2)Issued the command "tar -xvf freeradius-1.1.6.tar
3)It created a folder by the name freeradius-1.1.6 under /etc/radius
4)cd /etc/radius/freeradius-1.1.6
5)./configure
6)make
7)make install
Everything went of fine and radius server got installed; I did not get any errors either. The question is when I try to test the radiuserver using "radtest" command the request is rejected; here is what I did:
1)Edit "users" file and added user by the name test: ""test" User-Password == "test""
2)From other window started the radius server under debug mode: "radiusd -X" and it started off with out any problems and this is what I had at the prompt:
3)From another window issued the command "radtest test test localhost 0 testing123" and I got this at the prompt:
[root@kilimanjaro examples]# radtest test test localhost 0 testing123
Sending Access-Request of id 141 to 127.0.0.1 port 1812
User-Name = "test"
User-Password = "test"
NAS-IP-Address = 255.255.255.255
NAS-Port = 0
rad_recv: Access-Reject packet from host 127.0.0.1:1812, id=141, length=20
[root@kilimanjaro examples]#
5)And this is the error I see on the first window where in Radius server is listening.
modcall: entering group authenticate for request 0
modcall[authenticate]: module "unix" returns notfound for request 0
modcall: leaving group authenticate (returns notfound) for request 0
auth: Failed to validate the user.
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Sending Access-Reject of id 141 to 127.0.0.1 port 32769
Waking up in 4 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 141 with timestamp 4660c98b
Nothing to do. Sleeping until we see a request.
Now my question is how to make this work; what do I need to do in order for Radius server to accept the request!
Please help me; I am missing something very simple but not able to figure out what. All your help is greatly appreciated; also I am posting this post on the "linux security" forum too.
stress, I get your point, and its noble, but it doesn't help at all to double post to tell a person not to double post. Inform them of their error in one, report for closure, and answer in the other. Just a suggestion.
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.