help-cfengine
[Top][All Lists]
Advanced

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

homepattern


From: Richard
Subject: homepattern
Date: Wed, 10 Jul 2002 10:57:22 +0200 (CEST)

Hello,

My cf.users contains, the following lines:

$(commonfiles)/.bashrc dest=/home/user1/.bashrc owner=1000 group=1000 mode=600 
encrypt=true trustkey=true
$(commonfiles)/.bashrc dest=/home/user2/.bashrc owner=1000 group=1000 mode=600 
encrypt=true trustkey=true
$(commonfiles)/.bashrc dest=/home/user3/.bashrc owner=1000 group=1000 mode=600 
encrypt=true trustkey=true
$(commonfiles)/.bashrc dest=/home/user4/.bashrc owner=1000 group=1000 mode=600 
encrypt=true trustkey=true

etc...

I think this can be done more efficient with something like the
homepattern, but i don't fully understand it. In the examples and
documentation it always talks about a NFS mount. At our site we don't use
NFS. Wat i would like to do is:

$(commonfiles)/.bashrc dest=home/.bashrc mode=600 encrypt=true trustkey=true

Can someone please give me a pointer??

Sadly enough I don't have a testing environmont at the moment, so I can
not play with it :-(

Greetings,

Richard.

----
An OS is like swiss cheese, the bigger it is, the more holes you get!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]