Hello,

Thanks for the reply ,  below is my configuration. I need to authenticate two
groups each from diffrent unix file.

I need to allow SOME users in "/etc/shadow" to have more than one session
allowed, i.e I can allow it as an option for some of those users  listed in
"/etc/shadow" while the rest of users have only one session allowed, as
implied in the below configuartion.

================================================
# simple.cfg
#
# Example Radiator configuration file.
# This very simple file will allow you to get started with
# a simple system. You can then add and change features.
# We suggest you start simple, prove to yourself that it
# works and then develop a more complicated configuration.
#
# This example will authenticate from a standard users file in
# the current directory and log accounting to a file in the current
# directory.
# It will accept requests from any client and try to handle request
# for any realm.
# And it will print out what its doing in great detail.
#
# See radius.cfg for more complete examples of features and
# syntax, and refer to the reference manual for a complete description
# of all the features and syntax.
#
# You should consider this file to be a starting point only
# $Id: simple.cfg,v 1.3 2000/02/15 07:07:54 mikem Exp $

Foreground
LogStdout
LogDir          .
DbDir           .
# User a lower trace level in production systems:
Trace           4

# You will probably want to change this to suit your site.
<Client DEFAULT>
        Secret  mysecret
        DupInterval 0
</Client>

<Realm DEFAULT>
        <AuthBy UNIX>
                Filename /etc/shadow
        </AuthBy>
        # Log accounting to the detail file in LogDir
        AcctLogFileName ./%c/detail
        MaxSessions 1 # HOW CAN I EXCLUDE SOME USERS FROM THIS LIMIT
</Realm>

<Realm cool>
        RewriteUsername s/^([^@]+).*/$1/
        <AuthBy UNIX>
                Filename /etc/coolpass
        </AuthBy>
        AcctLogFileName ./cooldetail
        MaxSessions 1
</Realm>

========================================================


Thanks

Hugh Irvine wrote:

> Hello Firas -
>
> On Mon, 09 Oct 2000, Firas Emsaytif wrote:
> > Hello,
> >
> > 1.I have setup my configuration file with two "Realm"'s. One that
> > authenticates from /etc/shadow, and the other is authenticating from a
> > file similar to /etc/passwd. I use "radpwtst" for testing and evry thing
> > is fine. I will force a maximum sessions of 1 to users in /etc/shadow.
> > Any idea how I can EXclude some of those users who are in /etc/shadow
> > and keep the limit imposed to others in this file.
> >
>
> Could you explain this requirement a bit more clearly please?
>
> > 2. I try to use the GUI of radpwtst and I get this error:
> >
> > Can't locate TK.pm in @INC
> >
>
> You will need to install Tk from CPAN:
>
> http://www.cpan.org/modules/by-module/Tk/Tk800.022.tar.gz
>
> Note that Tk does not operate correctly on Windows.
>
> regards
>
> Hugh
>
> --
> Radiator: the most portable, flexible and configurable RADIUS server
> anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
> Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
> Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
>
> ===
> Archive at http://www.starport.net/~radiator/
> Announcements on [EMAIL PROTECTED]
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.

--
Regards
Firas Emsaytif
System Administrator
Global One Communications (Jordan) Ltd.
Tel (962) 6 5624777
Fax (962) 6 5697111

Get A Life Online With Baladna http://www.baladna.com.jo



===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to