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


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers how to test whether is user is enabled on disabled in Radius
# 1  
Old 04-01-2010
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
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Web Development

CentOS 7 redirecting me to old disabled dev site when removed from sites-enabled

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)
Discussion started by: crmpicco
3 Replies

2. Solaris

[Solved] Can't get into single user mode - sulogin was disabled

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)
Discussion started by: Martincorneuk
13 Replies

3. Shell Programming and Scripting

Update LDIF User info based on Test User Certs ID's

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)
Discussion started by: Macdaddy99
3 Replies

4. UNIX for Dummies Questions & Answers

know a particular user is disabled or enabled

Hi all, i had 500 users how can i know whether user is disabled or enabled Thanks, kalyan (8 Replies)
Discussion started by: kalyan212
8 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. Shell Programming and Scripting

Test on string containing spacewhile test 1 -eq 1 do read a $a if test $a = quitC then break fi d

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)
Discussion started by: Max89
1 Replies

7. Linux

ldap user disabled

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)
Discussion started by: itik
2 Replies

8. UNIX for Dummies Questions & Answers

Difference between : Locked User Account & Disabled User Accounts in Linux ?

Thanks AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies

9. What is on Your Mind?

Test: can a user close his own thread?

Just a test thread. (0 Replies)
Discussion started by: Perdy
0 Replies
Login or Register to Ask a Question
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)