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 how to check the user is enabled on disabled in M2.
i had followed the below procedure
# rauid -X
#radtest root 192.168.160.11 22 secretcode
its not working
thanks in advance
I am having problems accessing a new site I am trying to setup on my CentOS 7 VM. I have added a vhosts file for it, but when I access easydev.com in the browser it continues to redirect me to the old (now disabled) dev site of crmpicco.dev. Is there something wrong with my config?
# apachectl... (3 Replies)
Solaris 10
trying to patch and therefore want to do this from single user mode
I do a init 0
get's me to ok> :)
ok> boot -s
I was a UK Sun Field Engineer for 10 years ..... I've used "boot -s " quite a bit .....
I get a console login , which I subsequently login into
#who... (13 Replies)
Hi I need help..........
I have an Sun One Directory server LDIF file with 5000 user entries, I need to change the data to match Test ID's, so I can run a perf test.
I'm way out of my league as I have not done any scripting for 10 years.
There are four entries for each user in the file... (3 Replies)
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)
This is the code:
while test 1 -eq 1
do
read a
$a
if test $a = stop
then
break
fi
done
I read a command on every loop an execute it.
I check if the string equals the word stop to end the loop,but it say that I gave too many arguments to test.
For example echo hello.
Now the... (1 Reply)
Hi All,
If ldap user is disabled on linux. Do you think ldap processes will still run while ldap user had been disabled?
Thanks for any comment you may add. (2 Replies)
rlm_files(5) FreeRADIUS Module rlm_files(5)NAME
rlm_files - FreeRADIUS Module
DESCRIPTION
The rlm_files module uses the 'users' file for accessing authorization information for users. Additionally, it supports a 'users' file
syntax to be applied to the accounting and pre-proxy sections.
The main configuration items to be aware of are:
usersfile
The filename of the 'users' file, which is parsed during the authorization stage of this module.
acctusersfile
The filename of the 'users' file, which is parsed during the accounting stage of this module.
preproxy_usersfile
The filename of the 'users' file, which is parsed during the pre_proxy stage of this module.
compat This option allows FreeRADIUS to parse an old style Cistron syntax. The default is 'no'. If you need to parse an old style Cistron
file, set this option to 'cistron'.
key This option lets you set the attribute to use as a key to find entries. The default is "%{Stripped-User-Name:-%{User-Name}}". Note
that the key MUST supply real data. Dynamic attributes like "Group" will not work, because the "Group" attribute can only be used
as a comparison, to see if a user is in a Unix group. It will not return the name of the Unix group that a user is in.
If you want to use groups as a key, see the rlm_passed, which will create a real attribute that contains the group name.
This configuration entry enables you to have configurations that perform per-group checks, and return per-group attributes, where the group
membership is dynamically defined by a previous module. It also lets you do things like key off of attributes in the reply, and express
policies like like "when I send replies containing attribute FOO with value BAR, do more checks, and maybe send additional attributes".
CONFIGURATION
modules {
... stuff here ...
files {
usersfile = %{confdir}/users
acctusersfile = %{confdir}/acct_users
preproxy_usersfile = %{confdir}/preproxy_users
compat = no
key = %{Stripped-User-Name:-%{User-Name}}
}
... stuff here ...
}
SECTIONS
authorization, accounting, pre_proxy
FILES
/etc/raddb/radiusd.conf, /etc/raddb/users, /etc/raddb/acct_users, /etc/raddb/preproxy_users
SEE ALSO radiusd(8), radiusd.conf(5), users(5)AUTHORS
Chris Parker, cparker@segv.org
5 February 2004 rlm_files(5)