| «« When to Release? Artists Debate | Why You Should Hire Them »» |
|
About
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.
Projects
» 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
BulletBlog
Now hosted on Hey! Heads Up -- check it out!
Syndication
Pings
Recent
Derek Lowe's (Ryan's older brother) words at Ryan's funeral
blog@ryanlowe.ca no more Forging Email Headers: Good, Bad or Ugly? Sarcastic Dictionary (Part 1 of Many) Tags Hierarchies Twisting Rails is Risky Business Risky Business? My Take on Early Alphas Whoa, it's August 2007 Closing Comments A Postscript to "Growth at the grassroots" »» All Blog Posts
Linkage
del.icio.us/ryanlowe
technorati/ryanlowe.ca/blog Aurora Roy Jim Andrew Trasker Travis Kibbee Karen Dr. Unk Ayana Van Bloggers Joel Spolsky Robert Scoble Tim Bray Dave Winer Raymond Chen James Robertson Ruby/Rails Bloggers rubyonrails.org weblog David Heinemeier Hansson Dave Thomas James Duncan Davidson Mike Clark Jamis Buck Signal vs. Noise Tobias Luetke Amy Hoy: (24)slash7 Jeremy Voorhis Eclipse Bloggers Planet Eclipse EclipseZone Luis de la Rosa Eclipse Foundation Kim Horne Billy Biggs Ian Skerrett Mike Milinkovich Bjorn Freeman-Benson Denis Roy
Archives
|
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): cvspserver 2401/tcp 3. Create the file /etc/xinetd.d/cvspserver and add the following to it: service cvspserver 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: anonymous The make a new file named passwd and add this line to it: anonymous:r4SaQ9ekbVa9A 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:anonymous@audioman.dyndns.org:/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. References Last updated January 17, 2004 at 12:57 AM EST Comments
Did you go to newark high school? » Posted by: heather at January 17, 2004 09:25 PMNope :) » Posted by: Ryan at January 17, 2004 09:47 PMSourceforge has pserver access using the 'anonymous' account and no password. I wonder how they set it up ... » Posted by: Ryan at January 20, 2004 09:52 AMTo restart xinetd at the command line, type: service xinetd restart » Posted by: Ryan at January 4, 2005 04:08 PM |