WinCVS and CVSNT Concise Users (3)

zhaozj2021-02-08  255

5.2 Administrator conducts management drills:

1. Log in to the remote CVSNT:

l Select Admin => Login menu, default setting, OK.

l Display the password input box, confirm, OK. Note the return result of the observation of the output box [OUTPUT].

2. Checkout Default Module: (CVSROOT Management Module)

l In the left navigation bar [Workspace], select [Admin] to press the right button, select [Checkout Modules ...], enter CVSROOT in [Checkout Settings], determine, OK. As shown below:

l If it is successful, an [CVSROOT] directory will be added under the [Admin] column. Indicates that you have downloaded the [CVSROOT] management module to your local.

3. Directory permissions in CVS:

l System support list:

R (read permissions)

W (write permission)

c (create and delete permissions)

N (no permissions)

l By default, any user has all permissions of any directory.

l In any case, only the owner of the directory and the Administrator have the authority to change the credit. Here's how to modify the owner of the directory authority and directory.

4. Modify the permissions of cvsroot: Only the Administrator has three all permissions of RCW.

l Select the [cvsroot] module that just downloaded, [Ctrl L] or admin => Command line ..., pop up the Command Line Settings dialog box, execute the CVS command directly.

l Cancel all users' default privilege: CVS Chakl Default: N Enter, OK, complete.

l Set Administrator owns all permissions: CVS Chacl Administrator: RCW Enter, OK, complete.

l Change the owner of [cvsroot]: CVS Chown Administrator Enter, OK, complete.

l View [cvsroot] permission status: CVS LSACL Enter, OK, display in [OUTPUT]:

Owner: administrator

Default: N

Administrator: RWC

l [cvsroot] is configured.

5. Write a module file in the code base, which is convenient for multi-user downloads.

l The module file format you need to write is as follows: (Basic features)

[Description of the module] [n space or parameter] [Relative Directory Path 1 (DIRA)]

[Description of the module] [N space or parameters] [Relative Directory Path 2 (DIRB)]

......

[Description of module x] [n space or parameter] [Relative Directory Path X (DIRX)]

l [Description Information] The -A parameter needs to be used when it is inconsistent with the [relative path].

l [relative path] refers to CVS automatically with the top path, here is F: / khroot, so the full path of the above example is: f: / khroot / Dira

l Understand the module file structure, now to actually operate: Double-click the modules file under the [CVSROOT] module, use UltraEdit to open the edit. l Assign a work directory for Jackey, Goury, Riolee, and completes other module descriptions.

CvsRoot CvsRoot

Jackey Work Directory - A Jackey

Goury Work Directory - A GOURY

Riolee Work Directory - A Riolee

l The editorial is completed, the trading. Back to WinCVS, select Modules file [CTLR M] or right click to select [Commit Selection ...], default setting, [confirmation], OK, complete upload.

6. Upload the working directory for three users:

l E: / cvsclient / admin on YCW2000 machines established three directories, respectively, named: Jackey, Goury, Riolee, as a temporary exchange directory.

l In each directory of the newly created, use UltraEdit or copy a readme.txt as a primer file! ! :)

l The then, return to WinCVS, form the following directory structure in the [Admin] column of the [Workspace] column:

l Select GOURY, JACKEY, RIOLEE, right, click [Import Module], select [Continue], all of which use the default value, [OK], OK to complete the upload.

l Close the [OUTPUT] window, confirm that it is successfully uploaded.

l Transfer to the system's Explore program, delete three directories in the E: / cvsclient / admin directory. Then go back to WinCVS. (Be sure to delete !!! :)

At this, the upload work of the working directory is completed.

7. [Checkout] Download 3 users' work catalogs to the [admin] directory:

l Select the [admin] directory, right button in the [Workspace] column, click [Checkout Module ...], as shown below:

l Select [...] to get the latest module configuration on CVSNT, pop up the following message box:

l This structure is the module file format information written in Modules. Select [Jackey Work Directory] to download the E: / CVSCLIENT / Admin directory of YCW2000 machine.

l According to the above operation, download the [GOURY Work Contents] and [Riole Work Contents] separately separately. Form a state:

8. Set access to each directory for three users. (Only you can access your own work directory)

l Select the [GOURY] directory, [Ctrl L] or admin => command line ..., pop up the Command Line Settings dialog box, execute the CVS command directly.

l Cancel all users' default privilege: CVS Chakl Default: N Enter, OK, complete.

l Set GOURY Have all permissions: CVS Chakl Goury: RCW Enter, OK, complete.

l View [cvsroot] permission status: CVS LSACL Enter, OK, display in [OUTPUT]:

Owner: administrator

Default: N

GOURY: RWC

l Set the [Jackey] and [riolee] access to the [Jackey] to access the "Jackey].

At this, the directory allocation of 3 users is completed. Note that although Administrator has no power [Checkout] that 3 users' work directory, but it is the owner of these directorys again, therefore, only it has power to change access to these directories.

9. User Management Principles in the CVSNT system:

l CVSNT users are associated with NT users on this machine (here the Server machine), that is, CVSNT is all existing users in this unit, so it is not necessary to set any username by default. Use the user name already existing on this unit to log in with WinCVS.

l Only use administrator to log in to the CVSNT system, there is a power to create and delete new users.

l The new users created using CVS must be bound to NT users on the server-side machine to take effect; therefore, this new user is actually a substitute to bind its NT users, called "alias in the CVS system ".

l A NT user can have multiple 'avive' or 'alias', which acts as a plurality of CVS users.

10. Use WinCVS to add and delete new users. (Make sure to use administrator to log in)

l [Ctrl L] or admin => Command Line ..., pop up the Command Line Settings dialog box, execute the CVS command directly.

l Add new user [Killer]: CVS Passwd -a Killer Enter, set password, OK, complete.

l Bind [Killer] to [Jackey]: CVS Passwd -r Jackey Killer Enter, set password, OK, complete.

l The password entered twice can be different, but the password input input is the final password.

l Delete users [Killer]: CVS Passwd -x Killer Enter, OK, complete.

l Other special features View the help of the Passwd command.

11. After the use is complete, you must [logout] because WinCVS is exited when you exit it automatically log out of your remote session; doing this to prevent other people from open WinCVS, you can do all the operation you can do without login .

(Until it, to be continued)

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

New Post(0)