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
This is Install and configure CVS on Solaris 10
By
Unknown
This is Install and configure CVS on Solaris 10 - lately we often hear a lot of new gadgets are released by famous brands that have a good spec, on the blog News Techno Blog we will discuss about the review gagdet of all brands ranging from spek, price and how to use it, now we will discuss first about This is Install and configure CVS on Solaris 10 please refer to the information we provide, because we have collected a lot of data to make this article to be complete for you:
Articles : This is Install and configure CVS on Solaris 10
full Link : This is Install and configure CVS on Solaris 10
Articles : This is Install and configure CVS on Solaris 10
full Link : This is Install and configure CVS on Solaris 10
You can also see our article on:
This is Install and configure CVS on Solaris 10
quite so many infromation This is Install and configure CVS on Solaris 10
hopefully the information we provide about This is Install and configure CVS on Solaris 10 can give more benefits for you in determining the gadget that suits your needs.
you just read the article with the title This is Install and configure CVS on Solaris 10 if intend to bookmark bookmark or share please use link https://mohdrazeefrisbey.blogspot.com/2008/09/this-is-install-and-configure-cvs-on.html to get more information about technology please visit other pages on this blog, thank you.
Tag :
Tags :
Langganan:
Posting Komentar (Atom)
0 komentar:
Posting Komentar