Re: Size Limit in rsyncd.conf File?

2003-12-02 Thread Daemian Mack
jw schultz wrote:
I've not tried it but auth users permits the use of shell
wildcards in user names so 
	auth users = *
would restrict the users to all of those listed in the
secrets file.  If you wish different user lists for
different modules just use module-specific secrets files.
That would be a little clumsy for me, since there are no easily-defined 
sets of users I could enable and disable conveniently.

However, the shell wildcards you mention are going to solve my problem, 
I think.

What I've done is set  auth users = [^#]*  which takes rsyncd.conf out 
of the loop when enabling/disabling user accounts; now I can just 
prepend a # to an account in rsyncd.secrets to disable it and remove 
that hash to enable the account.  So far, this seems to be working great 
for me.

Thanks for your help!



Daemian Mack

--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: Size Limit in rsyncd.conf File?

2003-12-01 Thread jw schultz
On Mon, Dec 01, 2003 at 01:58:11PM -0500, Daemian Mack wrote:
 I've got an rsyncd.secrets file with 59 accounts in it.  Almost all 
 these need to be enabled concurrently.  My rsyncd.conf thus has an auth 
 users field with upward of 50 values.  I'm starting to wonder at what 
 point I'll have maxed that field out, especially as we're taking on new 
 accounts all the time.
 
 Incidentally, whether or not there is a limit, is it possible to do some 
 sort of file-include for the auth users field, instead of enumerating 
 every account?  It would make it much cleaner to maintain to simply 
 refer to an external file which just had a list of the accounts I want 
 to give access to...

I've not tried it but auth users permits the use of shell
wildcards in user names so 
auth users = *
would restrict the users to all of those listed in the
secrets file.  If you wish different user lists for
different modules just use module-specific secrets files.


-- 

J.W. SchultzPegasystems Technologies
email address:  [EMAIL PROTECTED]

Remember Cernan and Schmitt
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html