Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

apache2::sitecontrol::radius(3pm) [debian man page]

Apache2::SiteControl::Radius(3pm)			User Contributed Perl Documentation			 Apache2::SiteControl::Radius(3pm)

NAME
Apache2::SiteControl::Radius - Raduis authentication module for SiteControl SYNOPSIS
In Apache/mod_perl's configuration: PerlModule Apache2::SiteControl <Location /sample> ... PerlSetVar SiteControlMethod Apache2::SiteControl::Radius ... </Location> <FilesMatch ".pl$"> ... PerlSetVar RadiusSiteControlHost "localhost" PerlSetVar RadiusSiteControlSecret "mysecret" ... </FilesMatch> <Location /SampleLogin> ... PerlSetVar RadiusSiteControlHost "localhost" PerlSetVar RadiusSiteControlSecret "mysecret" ... </Location> DESCRIPTION
Apache2::SiteControl::Radius uses Authen::Radius to do the actual authentication of login attempts for the SiteControl system. See the SiteControl documentation for a complete apache configuration example. The synopsis above shows the configuration parameters for the radius module only, which is not a stand-alone thing. The proper variables for the apache configuration of this modules are shown in the synopsis above. You must set the radius host and shared secret in all sections that will use the SiteControl system for authentication. SEE ALSO
Apache2::SiteControl AUTHOR
This module was written by Tony Kay, <tkay@uoregon.edu>. COPYRIGHT AND LICENSE
perl v5.14.2 2006-03-17 Apache2::SiteControl::Radius(3pm)

Check Out this Related Man Page

Apache2::SiteControl::Rule(3pm) 			User Contributed Perl Documentation			   Apache2::SiteControl::Rule(3pm)

NAME
Apache2::SiteControl::Rule - Permission manager access rule. DESCRIPTION Each rule is a custom-written class that implements some aspect of your site's access logic. Rules can choose to grant or deny a request. package sample::Test; use strict; use warnings; use Carp; use Apache2::SiteControl::Rule; use base qw(Apache2::SiteControl::Rule); sub grants($$$$) { my $this = shift; my $user = shift; my $action = shift; my $resource = shift; if($action eq "edit" && $resource->isa("sample::Record")) { return 1 if($user{name} eq "root"); } return 0; } sub denies($$$$) { return 0; } 1; The PermissionManager will only give permission if at least one rule grants permission, and no rule denies it. It is important that your rules never grant or deny a request they do not understand, so it is a good idea to use type checking to prevent strangeness. Assertions should not be used if you expect different rules to accept different resource types or user types, since each rule is used on every access request. EXPORT
None by default. SEE ALSO
Apache2::SiteControl::UserFactory, Apache::SiteControl::ManagerFactory, Apache2::SiteControl::PermissionManager, Apache::SiteControl AUTHOR
This module was written by Tony Kay, <tkay@uoregon.edu>. COPYRIGHT AND LICENSE
perl v5.14.2 2006-03-17 Apache2::SiteControl::Rule(3pm)
Man Page

12 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How do you parse a variable in a bash script?

I have a script I use on my web server (Apache2). I am changing to Lighttpd and need to make a few changes. This is what I use on my apache server #!/bin/bash # accepts 3 parameters: <domain name> <user name> <XXXXXXXX> # domain name is without www (just domain.com) # username would be... (3 Replies)
Discussion started by: vertical98
3 Replies

2. SuSE

Apache2 No listening Sockets available

I installed Apache2 and Gadmin-Httpd on Suse after installation I got a error message no listening sockets available when start apache. Please advise, I check lot of forums but unable to find solution (4 Replies)
Discussion started by: real-chess
4 Replies

3. UNIX for Dummies Questions & Answers

Location Of SAM 5min Shutdown Warning

(3 Replies)
Discussion started by: MINICooperS
3 Replies

4. Cybersecurity

Free Radius Software (GNU)

hi i have heared that there is a package called freeradius used for authenticating!!! actually i want to learn more about it but i cant find details on how to use it? is it based on client server model i.e should i have to install in both client and the server machines ? i am... (2 Replies)
Discussion started by: u.n.i.x
2 Replies

5. Red Hat

how to test whether is user is enabled on disabled in Radius

Hi i am having two linux machines M1 M2 ,where M1 is the main machine and the connector is M2 Radius services are installed in M2. i pulled M2 users which resides on /user/local/raddb/users to M1 .so that any changes made to user in M1 will be reflected in M2. now i am disabling a user from M1... (1 Reply)
Discussion started by: kalyankalyan
1 Replies

6. IP Networking

Using Apache2 to Store Files for Accessing with wget?

Hello All, I have a Virtual Machine that I basically use for just testing stuff on. It is running SLES 11.1 and Apache2. I was able to get Apache2 set-up and working... I was able to insert a basic index.html page (i.e. a simple "Hello World" html page) just to check and make sure I can... (4 Replies)
Discussion started by: mrm5102
4 Replies

7. Web Development

Apache2 configuration

Hello, I am trying to understand the basic of Apache when I met problem each time I restart apache. How to solve the problem when I need put a second ScriptAlias line in my "/etc/apache2/sites-enabled/000-default" file: 16 ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ 17 <Directory... (6 Replies)
Discussion started by: yifangt
6 Replies

8. UNIX for Dummies Questions & Answers

Radius

Hi all I have no idea what I am doing, I think I am learning...the previous linux admin left the company and I volunteered to help. My first task is to create a user (X) account in the radius. I was able to do that.. This user (X) will be login in to a cisco device same as user (Z) . ... (3 Replies)
Discussion started by: ciscosteps
3 Replies

9. UNIX for Advanced & Expert Users

Radius authorization on Linux clients

Hello folks, I was guessing if there is a way for configuring Radius authorization on Linux clients. My meaning is to make Radius server manage the authorization/permissions when executing any commnand on my linux servers. Then, there's any way to configure this with Radius? can I also... (1 Reply)
Discussion started by: carpannav
1 Replies

10. Solaris

Apache2 maintenance

Hi! apache and tomcat are installed in default on solaris 10, after some configuration tomcat is enable, but apache status is maintenance... How to change its status to online...? The log say And when I tape the svcs -xv commande, this is the result bash-3.00# svcs -xv... (2 Replies)
Discussion started by: tood
2 Replies

11. AIX

Radius client on AIX

Hi, I want to authenticate my AIX 6.1 with linux server to successfully implement 2 factor authentication but I am not getting relevant documents on AIX as well as pam radius modules to proceed further. Please help me further. Regards, Rupesh Basnet (2 Replies)
Discussion started by: roopeess
2 Replies

12. Shell Programming and Scripting

Apache2 logs analysis

hi there, need some improvement on this. thanks. Purpose is to : Generally identify illegal accesses in the Apache2 logs, like, System commands, SHELL hacks, malwares, bots, and other hacking attempts. Most of these have a common background of gaining access to the weak parts of the www... (6 Replies)
Discussion started by: busyboy
6 Replies

Featured Tech Videos