Beranda · · · ·
https://micromyaw.blogspot.com/ , https://thefairlyoddgirl.blogspot.com/ , https://maxyaquos.blogspot.com/ , https://almourasiloun2.blogspot.com/ , https://rudythecassol.blogspot.com/ , https://innaz2.blogspot.com/ , https://stephaniefulke.blogspot.com/ , https://syafiqzulkarnain2.blogspot.com/ , https://lifeandeating.blogspot.com/ , https://nandncomputers.blogspot.com/ , https://profsmythe.blogspot.com/ , https://shwesetharrking.blogspot.com/ , https://sihanandi.blogspot.com/ , https://ikkemunandar.blogspot.com/ , https://youshaoken.blogspot.com/ , https://bhrepublicadominicana.blogspot.com/ , https://austinangck2809.blogspot.com/ , https://indiafunworld.blogspot.com/ , https://everythingnbeyondblog.blogspot.com/ , https://19miracles.blogspot.com/ , https://bpcyclingteam.blogspot.com/ , https://katieandmaxtron.blogspot.com/ , https://southernmatron.blogspot.com/ , https://redzuanifaliyana.blogspot.com/ , https://waeltnx.blogspot.com/ , https://superpixels.blogspot.com/ , https://nikephang.blogspot.com/ , https://belialslut.blogspot.com/ , https://testallforone.blogspot.com/ , https://buyandroidsmartphone.blogspot.com/ , https://darellsfinancialcorner.blogspot.com/ , https://ferraricars77.blogspot.com/ , https://memesmemosos.blogspot.com/ , https://faultyaspirations.blogspot.com/ , https://puriagatsari.blogspot.com/ , https://ghchjgv.blogspot.com/ , https://smurugesaninfo.blogspot.com/ , https://diandrakesling.blogspot.com/ , https://eshikamien.blogspot.com/ , https://oxgila.blogspot.com/ , https://ramblingsofker.blogspot.com/ , https://laladarwis.blogspot.com/ , https://fullcomicfrenzy.blogspot.com/ , https://aziin5teens.blogspot.com/ , https://fcomax.blogspot.com/

New Install and configure CVS on Solaris 10 By Gamzeozgesaroglu

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

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

Post a Comment