27.01.2015 Views

CLI User's Guide - AccuRev

CLI User's Guide - AccuRev

CLI User's Guide - AccuRev

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>AccuRev</strong> has remarkably little administrative overhead. There’s no need to stop the <strong>AccuRev</strong><br />

Server process, even when using the backup command to back up the <strong>AccuRev</strong> metadata.<br />

The mktrig and rmtrig commands maintain the triggers, which control users’ ability to make<br />

changes to depots.<br />

The synctime command adjusts a client machine’s system clock to match that of the <strong>AccuRev</strong><br />

server machine.<br />

The diag command displays <strong>AccuRev</strong> performance figures.<br />

The archive, unarchive, and reclaim commands manage the archiving of storage container files<br />

that can be moved to offline storage — for example, because they are no longer needed.<br />

At a site that uses a replica of the master <strong>AccuRev</strong> repository, the mkreplica and rmreplica<br />

commands maintain the set of depots that are replicated at that site. The replica sync command<br />

performs a manual synchronization of the replica repository with the master repository.<br />

Managing Users and Security<br />

Command<br />

addmember<br />

chgroup<br />

chpasswd<br />

chuser<br />

ismember<br />

lock<br />

login<br />

logout<br />

lsacl<br />

mkgroup<br />

mkuser<br />

rmmember<br />

setacl<br />

unlock<br />

Description<br />

change group membership<br />

rename a group<br />

change the password of a user<br />

rename or relicense a user<br />

check if named user is a group member<br />

lock a dynamic stream against promotions<br />

log in to an <strong>AccuRev</strong> Server<br />

log out from an <strong>AccuRev</strong> Server<br />

show access control list entries<br />

create a new group of users<br />

register a new username<br />

remove a user from a group<br />

create or remove an access control list entry<br />

unlock a dynamic stream to enable promotions<br />

The <strong>AccuRev</strong> database’s site schema contains a registry of users (with optional password<br />

protection) and user groups. Access to repository data structures is controlled by stream locks and<br />

ACLs (access control lists). Access to particular <strong>CLI</strong> commands is controlled by triggers.<br />

<strong>AccuRev</strong>® <strong>CLI</strong> User’s <strong>Guide</strong> 33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!