|«« When to Release? Artists Debate||Why You Should Hire Them »»|
I'm Ryan Lowe, a Software Engineering graduate living in Ottawa, Canada. I like agile software development and Ruby on Rails.
I write this blog in Canadian English and don't use a spell checker. Typos happen.
» Full-time Ruby on Rails freelancer
» Full-time with Rails since May 2005
» Former committer for RadRails (now Aptana)
» I also have a few Rails side-projects in development:
1. wheretogoinTO.com Toronto nightlife
2. Hey Heads Up! TODO list and sharing
3. Layered Genealogy family history research
4. foos for foosball scoring
5. fanconcert for music fans (on hold)
Hiring Rails developers? I can telecommute by the hour from Ottawa, Canada
»» Email: rails AT ryanlowe DOT ca
Now hosted on Hey! Heads Up -- check it out!
Derek Lowe's (Ryan's older brother) words at Ryan's funeral
firstname.lastname@example.org no more
Forging Email Headers: Good, Bad or Ugly?
Sarcastic Dictionary (Part 1 of Many)
Twisting Rails is Risky Business
Risky Business? My Take on Early Alphas
Whoa, it's August 2007
A Postscript to "Growth at the grassroots"
»» All Blog Posts
David Heinemeier Hansson
James Duncan Davidson
Signal vs. Noise
Amy Hoy: (24)slash7
Luis de la Rosa
Read-Only CVS Access with pserver Attempt 2
I got secure CVS read/write access set up last week and now ironically enough I need to set up a Password Authenticating Server (or pserver) to give people that aren't committers anonymous read-only access. Here's how I set it up.
1. Use the su command and enter the root password.
We need to set up the inetd daemon. Red Hat 8.0 installed xinetd instead which is apparently more flexible.
2. Make sure the following line is in /etc/services (It was already there in my default install of Red Hat 8.0):
3. Create the file /etc/xinetd.d/cvspserver and add the following to it:
4. Restart xinetd. I used Red Hat's Service Configuration window in Bluecurve. Open the menu on the toolbar and go to Server Settings --> Services.
5. Create a new username: anonymous and give it the password password. Make sure anonymous is a member of the cvs group in /etc/group. I used the Red Hat User Manager.
6. Check out the CVSROOT module from your CVS repository using an ssh account . I used Eclipse to do this. Make a new file named readers and add this single line to it:
The make a new file named passwd and add this line to it:
The part after the colon is the encrypted password for CVS, which may not be exactly the same on your machine. You can make this the same password as the anonymous account for the machine. Look in /etc/shadow to find the line for the anonymous account (probably at the bottom) and copy the encrypted password from there. It is between the first and second colons.
Then check these new files into CVS and you're done.
You can test the pserver at the command line. For AudioMan, the command is:
cvs -d :pserver:email@example.com:/usr/local/cvsroot login
When prompted for the password, enter password. Now you can use other CVS commands from there.
To check out AudioMan anonymously from CVS using Eclipse read the CVS page on the AudioMan developer site.Posted at January 17, 2004 at 12:57 AM EST
Last updated January 17, 2004 at 12:57 AM EST