2 .TH cvssh 1 "21 April 1999" "Local tools"
4 cvssh \- quick shell for anonymous CVS servers
10 is intended to be used as the login shell of an anonymous CVS server
11 account. It's not terribly useful in the outside world, because it
12 requires a patched version of CVS which I haven't released.
14 Suppose you want to set up a CVS repository in
16 with the anonymous user
18 The following steps will get this done:
24 with mode 755, and execute
29 cvs -d /home/cvs/cvs init
34 to create the repository.
38 with a disabled password, shell set to
40 and home directory set to
43 As the super-user, run the following commands:
49 # mkdir -m 711 bin dev etc lib
55 You may need some other directories as well. For example, Digital Unix
56 users will want to make
60 for the shared library system to work properly.
71 is really the Free Software Foundation's
73 in disguise (e.g., you're a Linux user) then you're probably better off
74 installing something lighter-weight like the FreeBSD shell (available in
77 with Debian GNU/Linux). It's smaller and doesn't need as many shared
84 Copy in the shared libraries needed. If you have an
96 and copy in what it tells you to. Otherwise you'll have to find things
97 out the hard way by looking at error messages. Do any other
98 configuration your shared library system needs or desires here. For
99 example, Linux users should run
104 # ldconfig -r/home/cvs
109 to make a cache file for the shared loader.
111 Make any devices needed in the
113 directory. For Linux, that probably involves
118 # mknod -m666 dev/null c 1 3
119 # mknod -m666 dev/zero c 1 5
124 Other operating systems will, of course, be different.
126 Edit the password and group files the
128 directory. My versions are extremely minimal. The important thing is
131 user should have an entry like the one in the main password database but
138 file should contain no passwords or other useful information. Only put
139 other users in the files if you really feel like it.
141 Finishing touches. Run the command
146 # touch cvs/.hushlogin
151 to make sure that logging in doesn't spew junk everywhere.
152 Also, if you're planning on using SSH, do
163 to make SSH stop trying to play silly games with
173 Mark Wooding (mdw@nsict.org)