4 administrator's operation
Administrator's management operations are generally concentrated in the program of Visual SourceSafe6.0 Admin, only one system administrator admin can log in to this program for management work, generally installed, this user's password is default air. And the system is all power preserved by the admin, and cannot be changed. Therefore, it is especially important to safe and effective use of the Admin user account.
4.1 User Management User Management is mainly VSS users to add modified and password maintenance, this part of the content, I am going to be slightly, because people who have used the Win2000 operating system know the concepts and basic operations of user management, so I will not go here. . Its specific operation is concentrated in the first menu of the program. 4.2 Database Management In database management, we mainly discuss VSS managers' operation, maintenance, backup, recovery, etc. of the database. First, you have to emphasize the VSS database is currently an file-style database, so it is relatively simple in maintenance. 4.2.1 Creating this operation of the database must be executed on the server because the database is created through the client, just the database created on the client's machine, this database is often only available stand-alone. Therefore, this operation must be done on the server. At the same time, you must also pay attention, because VSS is shared by Windows, the server-side-controlled version file is completed, so the VSS server's database library must be built in a full shared directory of the server. Otherwise, the client will not be able to get the files in the database. Click on the menu shown above to pop up the following dialog box. Enter a fully shared directory in the address bar in the dialog, as a database of the database, which creates the database to be accessed by the client software. 4.2.2 Switching Switching Since a client can connect to a different database, you can switch to the management activities of VSS databases in different databases during administering. Click on the "Open SourceSafe Database ...." Menu. The following dialog box is displayed, and the database you want to manage is ejected. 4.2.3 Backups and Recovery of Database Files As long as there is good habit, then these two options are certainly commonly used. Its operation is concentrated in the Archive menu. Back up a database or one of the projects, click on the "Archive Projects ..." menu, pop up the wizard dialog box for the next backup item.
Click the button
"Add ..."
Pop up the project, directory to add an archive to back up the archive. Where the project directory "$ /" represents the root directory, if you select this directory backup, the files in the entire database will be backed up. If you only select other sub-engineering directories in the "$ /" directory, all files and data will only be backed up in the selected project directory. After the selection is complete, press the Wizard Step step by step, and eventually generate a SourceSafe Archive backup file file with * .ssa as the extension.
If you want to recover file data in the VSS database from your file file, click the "RESTORE Projects ..." menu to enter the following recovery database. Enter the file file you want to recover in the address bar, then press the Wizard Step step by step to complete the data recovery of the VSS file file. Among them, in the process of recovery, you can choose to return to the original project, that is, you do not change the project name, or you can retrieve the renovation to restore into other project directories. 4.2.4 Deletion of the Database Because the VSS database is a file-based database, it is easy to delete a database, that is, the directory of the entire database is directly deleted. Because it is very simple, it is necessary to pay special attention. Otherwise, you will be embarrassed. 4.3 Project Safety Management Default, project security management is run in simple mode, that is, the user's permission to operate only by the operation of the project (the basic equivalent of the project and directory of the VSS) is divided into two kinds, one "only Read "Permissions, a" read and write "permission. However, VSS also provides administrators with a more advanced and meticulous permission management mode. 4.3.1 Enabling of Advanced Permissions Management Mode Of course, to enable this mode, you must first modify the default settings for a VSS. Click on the "Options ...." Menu, pop up the dialog box for VSS system settings, switch to the "Project Security" page, select the "Enable Project Security" option, which uses the advanced privilege management mode mentioned above. It can be seen that in this advanced permission management mode, the user is more meticulous to the operation permission of the project directory. Here, it is divided into four levels, according to the low to height: L read: can read files in the project, you can use the Get Latest version command L to detect / check (checkout / checkin): Yes Modify the contents of the file and submit a modification, use the checkout, checkin command L to add file / rename files / delete files (add / rename / delete): You can add the delete file to modify the file name. l Destroy Permissions: All file operations can be performed. After the above engineering security option is enabled, the following severings are activated, and the administrator can use these menus to set the user access project. 4.3.2 Advanced Permissions Management Advanced Permissions Management is the relationship between manipulation of operations between users and engineering directories. Therefore, there are two ways to manage. One is to manage privileges as the main line as the main line, one is to manage privileges as the user. With the directory as the main line, click the "Right By Project ..." menu, and pop up the following dialog box to manage user access rights of the project directory. (The effect set by the above figure, "Guest" user can only read it, and "WJ" users can modify the file and submit it.) If you want to be user-owned If you manage user permissions, you should select a user in the user list below the main interface, then click the "Rights Assignments for User ..." menu, pop up the following dialog box, and the list below the dialog lists the user's various items in the database. Access to the directory, if the access is not listed on the list, the permissions of the project are the access to the previous project directory. As long as you click a directory, you can edit the user's access to the project directory. Permission replication is to copy a user's permissions directly to another user, and the administrator is implemented by clicking the "Copy User Right ..." menu.