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

cvs readonly

someone asked me how to establish a read-only access to a cvs server.
i found a new and _very_ easy way in german unix journal :

enter an entry to CVSROOT/commitinfo
secure	/usr/local/bin/checkuid

and /usr/local/bin/checkuid :
if {`logname` = 'cvsadmin' ]
then exit 0; fo
echo "NOTE: These sources can only be commited by cvsadmin."
exit 1

this script prevents that anyone except cvsadmin checks in new versions.
i think that a similiar setup can be used for a readonly access,
but i'm no cvs expert.

hope, this helps you.


TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: