How to add a new user to CVS in Linux

Source: Internet
Author: User

How to add a new user to Linux CVS

1. Use the htpasswd command to generate an MD5 encryption Password

[Cvsroot @ hwdevelop cvsroot] $ htpasswd
Usage:
Htpasswd [-javaspsd] passwordfile Username
Htpasswd-B [javaspsd] passwordfile Username Password

Htpasswd-N [MDPs] Username
Htpasswd-Nb [MDPs] Username Password
-C create a new file.
-N don't update file; display results on stdout.
-M force MD5 encryption of the password.
-D force crypt encryption of the password (default ).
-P do not encrypt the password (plaintext ).
-S force Sha encryption of the password.
-B use the password from the command line rather than prompting for it.
-D Delete the specified user.
On Windows, Netware and TPF systems the '-m' flag is used by default.
On all other systems, the '-p' flag will probably not work.

Here you can directly ~] $ Htpasswd-Nb User Password

Obtain the encrypted string User: rupjuouba4hya

Or obtain the encrypted string through the file method ~] $ Htpasswd
-CB passtmp User Password

Passtmp is a temporary file generated. Store the encrypted password in more
View the encrypted password
More passtmp
User: rupjuouba4hya
2. Edit the passwd file in the cvsroot subdirectory under the cvsroot installation directory and add the encrypted string to the last line of passwd.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.