[Norsk] [Deutsch] [Nederlands] [Português]

Skolelinux - CVS server info

The CVS server is accessible through CVS (ssh, pserver and viewcvs) from developer.skolelinux.no. The latest version of documents, web pages and source code is available on the server.

Two types of accounts are given out: ssh accounts (including cvs access) and pure cvs accounts.

(Special note to Cinelerra developers: Send email to herman@skolelinux.no, rather than drift@skolelinux.no.)

To get hold of a pure cvs account:

In order to get ssh access:

In order to check out all modules, run the following:

CVS via Secure Shell (ssh) - recommended

CVS via SSH uses encrypted connections, making it impossible to retrive either your password or the file content while you exchange files with the CVS server. It is possible to exchange files with the CVS server both via your own account at developer.skolelinux.no, and from your own computer connected to the Net.

From your own desktop with internet connection you enter the following (Replace USERNAME with your login name):

CVS_RSH=ssh
export CVS_RSH
cvs -d :ext:USERNAME@cvs.skolelinux.no:/var/lib/cvs co skolelinux

If you are logged into your own account at developer.skolelinux.no, you enter the following:

cvs -d /var/lib/cvs co skolelinux

CVS via pserver

CVS via pserver sends password and files as plain text, thus making it simple for anyone in between yourself and the CVS server to get hold of your password.

cvs -d :pserver:$USER@cvs.skolelinux.no:/var/lib/cvs login
[Enter password - this is put in ~/.cvspass and is remembered between sessions.]
cvs -d :pserver:$USER@cvs.skolelinux.no:/var/lib/cvs co skolelinux

Anonymous CVS via pserver

The whole world has anonymous read access (not write access) to the CVS tree:

cvs -d :pserver:anoncvs@cvs.skolelinux.no:/var/lib/cvs login
The password is 'anoncvs'.
cvs -d :pserver:anoncvs@cvs.skolelinux.no:/var/lib/cvs co skolelinux

About CVS

The official CVS manual (Version Management with CVS by Per Cederqvist) is avaialble at http://www.cvshome.org/docs/manual/.

Information for administrators

How to create an SSH account

SSH access for developer is created in the following way:

Example

# adduser user_name
[enter a random password - this will be changed at a later stage]
[enter full name, including email address]
[telephone number is optional]
# vi /etc/shadow
[Enter passwd-hash in the appropriate place]
# adduser user_name src
# echo mailadress > ~user_name/.forward
# chown user_name.user_name ~user_name/.forward

How to create a pserver account

Create an account with shell set to /bin/false.

Edit CVSROOT/passwd and enter password hash.


drift@skolelinux.no