[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Re: user restrictions don't work for console?

Bryan Stansell bryan@conserver.com
Thu, 19 Aug 2004 09:43:33 -0700 (PDT)


On Thu, Aug 19, 2004 at 12:22:35PM +0200, Michael Redinger wrote:
> group aaa {
> 	users u1, u2, u3;
> }
> group bbb {
> 	users *, !aaa;
> }
> default * {
> 	rw aaa;
> 	ro bbb;
> 	...
> }
> console ca {
> 	port 1;
> 	include casssh;
> 	host termserv;
> ~        rw u4, u5, u6;
> ~        ro "";
> }

i had to change the above snipit to the following (since bits were
chopped out):

    group aaa {
	    users u1, u2, u3;
    }
    group bbb {
	    users *, !aaa;
    }
    default casssh { type exec; master localhost; }
    default * {
	    rw aaa;
	    ro bbb;
    }
    console ca {
	    port 1;
	    include casssh;
	    host termserv;
	    rw u4, u5, u6;
	    ro "";
    }

it worked for me with version 8.1.8.  all users (u1-u6) were in the rw
list and no one was in the ro list.  so, if you're not using 8.1.8, it's
probably a bug in the parser, and i suggest upgrading.  if you are using
8.1.8, maybe something in the rest of the file is causing issues.

Bryan