wood burning stoves 2.0*
The moose likes Linux / UNIX and the fly likes how to add user on CVS linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "how to add user on CVS linux " Watch "how to add user on CVS linux " New topic
Author

how to add user on CVS linux

Rema Remulta
Ranch Hand

Joined: Apr 03, 2002
Posts: 51
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
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
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
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

Joined: Mar 28, 2003
Posts: 11404
    
  81

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


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Kent Emia
Greenhorn

Joined: Aug 04, 2003
Posts: 10
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
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://aspose.com/file-tools
 
subject: how to add user on CVS linux
 
Similar Threads
Eclipse & CVS
Connecting to CVS remotely....
can i use cvs without using any ide???
Eclipse CVS help
CVS Installation on LINUX - Help Required