New Install and configure CVS on Solaris 10 By Patricbensen

New Install and configure CVS on Solaris 10 By Patricbensen - is the information you are looking for, and in the blog All Specs Gadget we have provided her, all right in this article titled New Install and configure CVS on Solaris 10 By Patricbensen we will discuss it in full, in addition to the information we have also provided a lot of info about the latest gadgets and a wide range of tips and tricks that according to the gadget you are using, well please continue reading:

Articles: New Install and configure CVS on Solaris 10 By Patricbensen
Full Link : New Install and configure CVS on Solaris 10 By Patricbensen
Artikel freeware, Artikel sample code, Artikel tips and tricks,

You can also see our article on:


New Install and configure CVS on Solaris 10 By Patricbensen

Download the appropriate binary from
http://www.nongnu.org/cvs

# create a "cvs" user. This user will be used to impersonate cvs' users
$ mkdir  /export/home/cvsroot
$ useradd -d /home/cvs -c "CVS Owner" cvs
# create the CVS repository
$ cvs -d /path_to_repository
#Add the following to /etc/services
cvspserver 2401/tcp # CVS Client/server operations
cvspserver 2401/udp # CVS Client/server operations
#Place this following line in a file called "cvs_inetd"
cvspserver stream tcp nowait root /path_to_cvs_executable -f \
--allow-root=/path_to_cvs_repository pserver

# import the service into smf
$ inetconv -f -i ./cvs_inetd
cvspserver -> /var/svc/manifest/network/cvspserver-tcp.xml
Importing cvspserver-tcp.xml …Done
#Add the following lines to /var/svc/profile/inetd_services.xml
<service name='network/cvspserver-tcp' version='1' type='service'>
<instance name='default' enabled='true'/>
</service>
#Restart the network
$ svcadm restart svc:/network/inetd:default

You're done. Your pserver should be listening on port 2401

#Script to create cvs users

#!/usr/bin/perl

$cvsroot="/path_to_cvs_root";

$user = shift @ARGV || die "cvspasswd user\n";
print "Enter password for $user: ";
system "stty -echo";
chomp ($plain = <>);
system "stty echo";
print "\n";
@chars = ('A'..'Z', 'a'..'z', '0'..'9');
$salt = $chars[rand(@chars)] . $chars[rand(@chars)];
$passwd = crypt($plain, $salt);
open(PASSWD,">>$cvsroot/CVSROOT/passwd") || die("Cannot Open File");
print PASSWD "$user:$passwd:cvs\n";
close PASSWD;
#-End

$ perl createcvspasswd.pl your_cvs_user



Information New Install and configure CVS on Solaris 10 By Patricbensen has finished we discussed

says the article New Install and configure CVS on Solaris 10 By Patricbensen, we beharap be useful to you in finding repensi about the latest gadgets and long.

Information on New Install and configure CVS on Solaris 10 By Patricbensen has finished you read this article and have the link https://patricbensen.blogspot.com/2008/09/new-install-and-configure-cvs-on.html Hopefully the info we deliver is able to address the information needs of the present.

0 Response to "New Install and configure CVS on Solaris 10 By Patricbensen"

Post a Comment