This Install and configure CVS on Solaris 10 - Read Now

This Install and configure CVS on Solaris 10 - Read Now - is the keyword that you are looking for, and we have it available to you on the blog All About Gadgets, on this occasion we will discuss the article entitled This Install and configure CVS on Solaris 10 - Read Now, we as admins on this blog has been providing information to you that we collected from various sources so that the information we present a very complete and lots of start about android, latest gadgets of various brands are like samsung, sony, asus, iphone, blackberry, we also provide information about how to fix a mobile phone, flash, rooting. so do not let you stay informed about the latest gadgets in this blog, hopefully our writing easy to understand, ok let please continue reading:

he information you are looking for : This Install and configure CVS on Solaris 10 - Read Now
Full article : This Install and configure CVS on Solaris 10 - Read Now
Article freeware, Article sample code, Article tips and tricks,

You can also see our article on:


This Install and configure CVS on Solaris 10 - Read Now

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


Articles This Install and configure CVS on Solaris 10 - Read Now we have presented

A few information are discussed This Install and configure CVS on Solaris 10 - Read Now, hopefully we can give benefit to you in finding information on The latest technological gadgets.

You've finished reading an article This Install and configure CVS on Solaris 10 - Read Now and url link of this article is https://androiditnow.blogspot.com/2016/11/this-install-and-configure-cvs-on.html can you use a bookmark. Hopefully this article could be useful and do not forget to look for more information in the blog All About Gadgets, thanks.

Tag : , , ,

0 Response to "This Install and configure CVS on Solaris 10 - Read Now"

Post a Comment