1 .TH cvssh 1 "21 April 1999" "Local tools"
3 cvssh \- quick shell for anonymous CVS servers
9 is intended to be used as the login shell of an anonymous CVS server
10 account. It's not terribly useful in the outside world, because it
11 requires a patched version of CVS which I haven't released.
13 Suppose you want to set up a CVS repository in
15 with the anonymous user
17 The following steps will get this done:
23 with mode 755, and execute
28 cvs -d /home/cvs/cvs init
33 to create the repository.
37 with a disabled password, shell set to
39 and home directory set to
42 As the super-user, run the following commands:
48 # mkdir -m 711 bin dev etc lib
54 You may need some other directories as well. For example, Digital Unix
55 users will want to make
59 for the shared library system to work properly.
70 is really the Free Software Foundation's
72 in disguise (e.g., you're a Linux user) then you're probably better off
73 installing something lighter-weight like the FreeBSD shell (available in
76 with Debian GNU/Linux). It's smaller and doesn't need as many shared
83 Copy in the shared libraries needed. If you have an
95 and copy in what it tells you to. Otherwise you'll have to find things
96 out the hard way by looking at error messages. Do any other
97 configuration your shared library system needs or desires here. For
98 example, Linux users should run
103 # ldconfig -n -r/home/cvs /lib
108 to make a cache file for the shared loader.
110 Make any devices needed in the
112 directory. For Linux, that probably involves
117 # mknod -m666 dev/null c 1 3
118 # mknod -m666 dev/zero c 1 5
123 Other operating systems will, of course, be different.
125 Edit the password and group files the
127 directory. My versions are extremely minimal. The important thing is
130 user should have an entry like the one in the main password database but
137 file should contain no passwords or other useful information. Only put
138 other users in the files if you really feel like it.
140 Finishing touches. Run the command
145 # touch cvs/.hushlogin
150 to make sure that logging in doesn't spew junk everywhere.
151 Also, if you're planning on using SSH, do
162 to make SSH stop trying to play silly games with
172 Mark Wooding (mdw@nsict.org)