• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to add user on CVS linux

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
give them no shell in you /etc/passwd. When someone logs then on he cannot do anything. (just enter /bin/xxxx)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic