LINUX CVS installation steps

xiaoxiao2021-03-06  40

After installing CVS, the server and client are installed, mainly to configure the server side: 1. View if you install CVS (my redhat7.3 default is installed) RPM -QA | GREP CVS is generally installed in / usr / BIN / CVS, if not installed, http://www.cvshome.org/ download a new RPM installation 2. Establish a CVS user group to facilitate managing CVS users (one user group, can be other names, such as spcoder) GroupAdd CVS 3. Establish CVSRoot users and catalogs in the CVS group (can be a spcoder group) UserAdd -g cvs -g cvs -d / home / cvsroot cvsroot 4. Add a password to cvsroot Passwd CvsRoot 5. Change / home / cvsroot directory property chmod 775 / home / cvsroot 6. Initialize the CVS source code base, this action generates directory / home / cvsroot / cvsroot, under the initialization file cvs -d / home / cvsroot init 7. Create Log in to the CVS service user and password, you need to create a file passwd vi / home / cvsroot / cvsroot / passwd file content as follows: weiqiong: xxxxx: cvsroot myng: xxxxx: cvsroot This file means weiqiong and chenxu two users can log in to CVS servers After login, its permissions are user CVSROOT: CVS users and server users can be different

But as for the security of the CVS system, I only know that I can log in without using REAL User: Chmod 644 $ cvsroot / cvsroot / config vi $ cvsroot / cvsroot / config will remove the second line #systemAuth = no to SYSTEMAUTH = NO 8.xxxx is the MD5 encrypted password, generated by the following file: (Add a cvsroot permission user myng) htpasswd -c / home / cvs / cvsroot / passwd myang

9. Open Passwd

Discover its contents is MYANG: C / BZZQ44CE5XE

We plus MYANG: C / BZZQ44CE5XE: CVSGroup

such:

User: Myang

Password: Decryption C / BZZQ44CE5XE (do not help it)

转载请注明原文地址:https://www.9cbs.com/read-54271.html

New Post(0)