[p4] scripting with ticket-based authentication?

Lee Marzke lee at marzke.net
Fri Oct 7 15:31:57 PDT 2005

The ticket is a physical file or "key" that is put into the home 
directory of the
Perforce user ( ~/.p4tickets on *NIX ) so it is persistent until it's 
encoded time expires.

Issuing a 'p4 logout'   erases the ticket.

Since p4 logins are only valid on the current host ( unless the -a 
option is used ) and
only for the current user the ticket is as safe as security on that 
login account.

Lee Marzke


Jason Williams wrote:
> Jeff Grills wrote:
>> I've been in this exact situation before.  Perforce ticket expiration 
>> times
>> are based on groups, and users in multiple groups get the longest 
>> timeout of
>> any of the groups.  You can also set the timeout for a group to be 0,
>> indicating that the ticket never expires.
> Are ticket expiration times persistent?
> Is there anything that would force you to get another ticket?  
> Shutting down Perforce, rebooting, etc.
> --Jason
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user

More information about the perforce-user mailing list