Mailing List Archive

regex in conserver.passwd
Hello,

I've console server with ~70 consoles. I could divide all of this consoles
into several group by name. For example, I've consoles mer1_lan, mer2_lan,
mer3_lan, mer1_con, mer2_con, mer3_con. (*_lan - first group, *_con - second
group)

And, I would like to control user access to each of this groups. I know I
should use conserver.passwd for this puprose. But, if I want to write
conserver.passwd for this case, I have 10 lines for users and about 30
consoles per user. As for me, the best choice to use regex for console names
in conserver.passwd.

As I know, conserver doesn't support regexp in conserver.passwd .

Now I use small patch for using regex in passwd file (in attachment), so my
conserver.passwd like to:

vlad:*passwd*: .*_lan .*_con sun_e450 sun_ultra
nick:*passwd*: .*_con

Is it possible to apply this patch to next version of conserver or develop
another decision similar to this ?
This patch used on FreeBSD4.5 .

--
Vlad Patenko
Re: regex in conserver.passwd [ In reply to ]
On Mon, Mar 25, 2002 at 05:26:43PM +0200, Patenko, Vladislav wrote:
> Now I use small patch for using regex in passwd file (in attachment), so my
> conserver.passwd like to:

cool! thanks for the patch!

> Is it possible to apply this patch to next version of conserver or develop
> another decision similar to this ?

yep! i'm integrating it in with some configure changes right now so
that it will only be used if the regex functions exist. it will be in
7.2.1.

Bryan