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
# create the CVS repository
$ useradd -d /home/cvs -c "CVS Owner" cvs$ cvs -d /path_to_repository
#Add the following to /etc/servicescvspserver 2401/tcp # CVS Client/server operations
#Place this following line in a file called "cvs_inetd"
cvspserver 2401/udp # CVS Client/server operationscvspserver stream tcp nowait root /path_to_cvs_executable -f \
# import the service into smf
--allow-root=/path_to_cvs_repository pserver$ inetconv -f -i ./cvs_inetd
#Add the following lines to /var/svc/profile/inetd_services.xml
cvspserver -> /var/svc/manifest/network/cvspserver-tcp.xml
Importing cvspserver-tcp.xml …Done<service name='network/cvspserver-tcp' version='1' type='service'>
#Restart the network
<instance name='default' enabled='true'/>
</service>$ 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
Selasa, 02 September 2008
have just read the article titled Install and configure CVS on Solaris 10 if you feel useful information and you want to bookmark or share please use the link https://ramblingsofker.blogspot.com/2008/09/install-and-configure-cvs-on-solaris-10.html and do not forget to go back to this blog if you want to know information about the latest gadgets.
Tag :
Install and configure CVS on Solaris 10
By
untu
di
September 02, 2008
Install and configure CVS on Solaris 10 - welcome to the blog Software Gadget the end of this much calm product information launcing, yes every day there are always products that are removed from various brands, both physical hardware products and software that need new knowledge to use it, well now we will discuss first about Install and configure CVS on Solaris 10 as you search we have collected a lot of data to make this information as complete as possible for you, please read:
Articles : Install and configure CVS on Solaris 10
full Link : Install and configure CVS on Solaris 10
Articles : Install and configure CVS on Solaris 10
full Link : Install and configure CVS on Solaris 10
You can also see our article on:
Install and configure CVS on Solaris 10
so much information Install and configure CVS on Solaris 10
hopefully the information Install and configure CVS on Solaris 10 that we provide can be useful for you in the set of technology products that fit your daily needs,
have just read the article titled Install and configure CVS on Solaris 10 if you feel useful information and you want to bookmark or share please use the link https://ramblingsofker.blogspot.com/2008/09/install-and-configure-cvs-on-solaris-10.html and do not forget to go back to this blog if you want to know information about the latest gadgets.
Tag :
Tags :
Related : Install and configure CVS on Solaris 10
Langganan:
Posting Komentar (Atom)
0 komentar:
Posting Komentar