Monday, November 24, 2008

How to add a CVS account

How to add a CVS account (example user jsmith):
log in to the linux box
su - root
cd /home (to see list of users)
/usr/sbin/useradd jsmith
vi /etc/group
Find the cvs line and append ,jsmith
:wq (save the group file)
vi /etc/passwd
Find jsmith at the end of the file, change its second number to match other cvs users (group number)
:wq (save the passwd file)
/usr/bin/passwd jsmith
Enter new password

How to remove a CVS account (example user jsmith):
/usr/sbin/userdel jsmith
vi /etc/group
Delete jsmith line and ensure jsmith is removed from cvs line
:wq (save the group file)
vi /etc/passwd
Ensure jsmith line is deleted

Variation for Solaris:

1. mkdir -p /export/home/jsmith (Create the home directory for the user, before creating the user)
2. useradd -s /bin/sh -d /export/home/jsmith jsmith (Default shell will be sh. Home directory will be in /export/home)
3. chown -R jsmith /export/home/jsmith (Let the user own his home directory)
4. passwd jsmith (Change the password)

Sunday, September 7, 2008

Favorite Quotes from Rich Web Experience

"It's probably more work to do a careful evaluation than to write your own."
-- Douglas Crockford on which JavaScript library is the best to use

"I still buy my kids presents on the day that Firebug came out."
-- Nik Krimm

"Okay, that's it. Thank you for coming. Let's break for dinner. But first, a quick one hour demo..."
-- Stuart Halloway after his last slide

Saturday, September 6, 2008

Rich Web Experience

The Rich Web Experience conference has come to an end. It ended with a bang as Jared Richardson presented an inspiring keynote encouraging the audience to write, speak, and teach in the tech community. As usual most of what he has to say is incredibly helpful, so here I go.

The conference was great. It had slightly lower energy than No Fluff Just Stuff in Princeton. I attribute this to the fact that we were mostly discussing very overlapping topics for 8-14 hours a day for three days which may slow down the brain a little. However, the material was excellent.

Most of the speakers used slide decks that were better than the ones distributed from the logged in state of the Rich Web Experience web site. I asked Jay Zimmerman when the updated slides would mostly be available, and he guesstimated Monday. I'm looking forward to performing my own pale imitations of a few of the sessions for the benefit of my coworkers at MTS.