From: Nima T. <ni...@jc...> - 2005-07-08 04:25:30
|
Sure, grab it from http://intranet.jcorp.com.au/tmp/ct.tar.gz It includes 2 files: # tar -tzf ct.tar.gz tmp/check-trustees/ tmp/check-trustees/check-trustees.py tmp/check-trustees/Progress.py Just place the Progress.py anywhere you like, but make sure that check-trustees.py knows how to get to it. Also require python 2.4. Let me know if you have any issues with it. When I get around to it I'll make a .deb and .rpm, and a man page. Nima Rob See wrote: > Hi, > > Is this script available ? > > Thanks, > -Rob > > Nima Talebi wrote: > >> Here's how check-trustees acts now, I've added a '-v' so that it shows >> how it calculates what it calculates, as wrong as that may be :). >> >> >> >> >> >> check-trustees -vp /data/imp/drafting/standards/archive/ >> Verifying...................................................................done >> >> >> ***** PARENT ***** >> o *:CRWEBX >> o +imp:REB >> >> ***** SELF ***** >> o *:CRWEBX >> o +impdraft:REB >> o +impdes:REB >> o +impdraftadmin:RWEBX >> >> ***** CALCULATION ***** >> o Reading PARENT >> * Acting on `+imp' >> * pFlags: ['R', 'E', 'B'] >> * mFlags: [] >> * Selecting ALLOW List >> o CREATING +imp with R >> o ADDING E to +imp >> o ADDING B to +imp >> * New List: {'+imp': 'REB'} >> o Reading SELF Wildcard CLEAR >> * On : +imp >> * REMOVING R from +imp >> * New List: {'+imp': 'EB'} >> * REMOVING E from +imp >> * New List: {'+imp': 'B'} >> * REMOVING B from +imp >> * New List: {'+imp': ''} >> * DELETING B from +imp >> * New List: {} >> o Reading SELF >> * Acting on `+impdraft' >> * pFlags: ['R', 'E', 'B'] >> * mFlags: [] >> * Selecting ALLOW List >> o CREATING +impdraft with R >> o ADDING E to +impdraft >> o ADDING B to +impdraft >> * New List: {'+impdraft': 'REB'} >> o Reading SELF >> * Acting on `+impdes' >> * pFlags: ['R', 'E', 'B'] >> * mFlags: [] >> * Selecting ALLOW List >> o CREATING +impdes with R >> o ADDING E to +impdes >> o ADDING B to +impdes >> * New List: {'+impdraft': 'REB', '+impdes': 'REB'} >> o Reading SELF >> * Acting on `+impdraftadmin' >> * pFlags: ['R', 'W', 'E', 'B', 'X'] >> * mFlags: [] >> * Selecting ALLOW List >> o CREATING +impdraftadmin with R >> o ADDING W to +impdraftadmin >> o ADDING E to +impdraftadmin >> o ADDING B to +impdraftadmin >> o ADDING X to +impdraftadmin >> * New List: {'+impdraft': 'REB', '+impdes': 'REB', '+impdraftadmin': >> 'RWEBX'} >> >> COMPUTED ALLOW:{'+impdraft': 'REB', '+impdes': 'REB', >> '+impdraftadmin': 'RWEBX'} >> COMPUTED DENY: {} >> >> Summary for /data/imp/drafting/standards/archive >> o user `root' has Full Access GRANTED >> o group impdraft has read-only access (REB) ALLOWED >> o group impdes has read-only access (REB) ALLOWED >> o group impdraftadmin has full access (RWEBX) ALLOWED >> x everyone else has Full Access DENIED >> >> Trustees Nodes Requested:130 >> Trustees Nodes Required :135 >> No errors in configuration file. >> No warnings in configuration file. >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: NEC IT Guy Games. >> Get your fingers limbered up and give it your best shot. 4 great >> events, 4 >> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to >> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >> _______________________________________________ >> trustees-general mailing list >> tru...@li... >> https://lists.sourceforge.net/lists/listinfo/trustees-general > > > |