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,
This Install and configure CVS on Solaris 10 - Read Now
Download the appropriate binary fromhttp://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/servicescvspserver 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 : freeware, sample code, tips and tricks,
0 Response to "This Install and configure CVS on Solaris 10 - Read Now"
Post a Comment