Hi, Been reading the manual of cvs (cvshome.org)but it doesn't mention there on how to add user specifically. Any ideas ? Do you know any other good links that provides a manual of cvs for a beginner (linux beginner too) ? Thanks
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted
0
Just add a normal linux/unix user to your CVS machine. He/Seh only needs rights to write/read in the CVSROOT folder. I normally create a group cvs where i put all these user. You need no special CVS setup.
Rema Remulta
Ranch Hand
Joined: Apr 03, 2002
Posts: 51
posted
0
Yes, already done that but there's a problem when accessing them in the client box. Here it is: $ cvs -d server:me@genesis.our.com:/repo/cvsroot login & recv() from server genesis.our.com: connection reset by peer any ideas?
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted
0
it seems your inetd knows nothing about cvs. Connection reset by peer means no process was listening to the port. Add the following lines to your conf files: /etc/inetd.conf. cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-root=/cvs pserver and /etc/services should contain the line cvspserver 2401/tcp you can also check out this
Andrew Monkhouse
author and jackaroo
Marshal Commander
If you are running xinetd instead of inetd (you will have an /etc/xined.conf file instead of an /etc/inetd.conf file) you will need to create a file named /etc/xinetd.d/cvs that contains lines similar to:
(I think this is correct: I hobbled it together based on Oliver's inetd.conf line) You will have to reload the inetd or xinetd systems in order for the new configuration to take effect. On RedHat Linux you can do this by typing (as root) <code>/etc/init.d/xinetd reload</code>. Or you could do it manually: <code>kill -HUP `ps -elf | awk '/[x]inetd/{print $4}'`</code> Regards, Andrew
is there a way to add only a cvs users not a system user? because i don't want everyone can login to our server here in our office... i just want them to be a pure cvs users?
Kent Emia
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted
0
give them no shell in you /etc/passwd. When someone logs then on he cannot do anything. (just enter /bin/xxxx)
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.