<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Perforce Administration Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/perforce-administration/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/perforce-administration/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:09:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Basic Perforce Administration</title>
		<link>https://www.scmgalaxy.com/tutorials/basic-perforce-administration-2/</link>
					<comments>https://www.scmgalaxy.com/tutorials/basic-perforce-administration-2/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 09 Jan 2018 06:07:44 +0000</pubDate>
				<category><![CDATA[Perforce]]></category>
		<category><![CDATA[Perforce Administration]]></category>
		<category><![CDATA[Perforce Administration Basics]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4565</guid>

					<description><![CDATA[<p>A. User maintenance tasks 1. Resetting passwords 2. Creating users / Deleting users / Setting user access 3. Disabling the [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/basic-perforce-administration-2/">Basic Perforce Administration</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3>A. User maintenance tasks</h3>
<p>1. Resetting passwords<br />
2. Creating users / Deleting users / Setting user access<br />
3. Disabling the automatic creation of users<br />
4. Cleaning up files left open by former users</p>
<h3>B. Administrative operations</h3>
<p>1. Setting the server security level<br />
2. Obliterating files to reclaim disk space<br />
3. Editing submitted changelists<br />
4. Verifying server integrity<br />
5. Defining files types to control Perforce&#8217;s file type detection mechanism<br />
6. Use of the -f flag to force operation</p>
<p><strong>In perforce, There are 2 Types of authentication menthods.</strong><br />
1. passwords<br />
2. tickets</p>
<p><strong>Login to Perforce</strong><br />
&gt; p4 login</p>
<p><strong>Logout to the perforce</strong><br />
&gt; p4 logout</p>
<p><strong>Server security levels</strong></p>
<p>Perforce superusers can configure server-wide password usage requirements, password strength enforcement, and supported methods of user/server authentication by setting<br />
the security counter. To change the security counter, issue the command:</p>
<p>&gt; p4 counter -f security seclevel</p>
<p>where seclevel is 0, 1, 2, or 3. After setting the counter, stop and restart the server.</p>
<ul>
<li>The default security level is 0: passwords are not required, and password strength is not enforced.</li>
<li>To ensure that all users have passwords, use security level 1. Users of old client programs may still enter weak passwords.</li>
<li>To ensure that all users have strong passwords, use security level 2.</li>
<li>To require that all users have strong passwords, and to require the use of session-based authentication, use security level 3 and current Perforce client software.</li>
</ul>
<p><strong>Resetting user passwords</strong></p>
<p>&gt; p4 passwd username</p>
<p><strong>Creating users</strong></p>
<p>&gt; p4 user -f username</p>
<p><strong>Preventing creation of users</strong></p>
<p>1. Create a New p4 group or existing groups<br />
&gt; p4 group p4users<br />
2. Set P4 access to that Groups using<br />
&gt; p4 protect<br />
and add following..<br />
write group p4users * //&#8230;</p>
<p><strong>Deleting obsolete users</strong><br />
&gt; p4 user -d -f username</p>
<p><strong>Reverting files left open by obsolete users</strong></p>
<p>For example, if the output of p4 opened shows:<br />
//depot/main/code/file.c#8 &#8211; edit default change (txt) by jim@stlouis<br />
you can delete the &#8220;stlouis&#8221; client workspace specification with:<br />
&gt; p4 client -d -f stlouis<br />
Deleting a client workspace specification automatically reverts all files opened in that workspace, and also removes that workspace’s “have list”.</p>
<p><strong>Running from inetd on UNIX</strong></p>
<p>To have p4d start up only when connections are<br />
made to it, using inetd and p4d -i, add the following line to /etc/inetd.conf:</p>
<p>&gt; p4dservice stream tcp nowait username /usr/local/bin/p4d p4d -i -rp4droot</p>
<p>and add the following to /etc/services:</p>
<p>&gt; p4dservice nnnn/tcp</p>
<p><strong>where:</strong><br />
&#8211;&gt; p4dservice is the service name you choose for this Perforce server<br />
&#8211;&gt; /usr/local/bin is the directory holding your p4d binary<br />
&#8211;&gt; p4droot is the root directory (P4DROOT) to use for this Perforce server (for example, /usr/local/p4d)<br />
&#8211;&gt; username is the UNIX user name to use for running this Perforce server<br />
&#8211;&gt; nnnn is the port number for this Perforce server to use</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/basic-perforce-administration-2/">Basic Perforce Administration</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/basic-perforce-administration-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
