Welcome, Guest
Username Password: Remember me

Perforce password (P4PASSWD) invalid or unset.
(1 viewing) (1) Guest
Perforce
  • Page:
  • 1

TOPIC: Perforce password (P4PASSWD) invalid or unset.

Perforce password (P4PASSWD) invalid or unset. 1 year, 5 months ago #452

  • scmuser
  • OFFLINE
  • Gold Boarder
  • scm master
  • Posts: 237
  • Points: 3427
  • Karma: 0
  • Honor Medal 2009
Hi,

I am trying to loginb perforce using command line using following command...

p4 -p <IP> -u Abinash_Misra sync //depot/branchname/...
 


but i am getting following error..
 
Perforce password (P4PASSWD) invalid or unset.


Any idea how to pass password over command line to login perforce?

Re: Perforce password (P4PASSWD) invalid or unset. 1 year, 5 months ago #453

  • rajeshkumar
  • OFFLINE
  • Moderator
  • I love software configuration management
  • Posts: 370
  • Points: 44559
  • Karma: 4
  • Honor Medal 2009
You can use following command to login perforce over command line...

p4 -p <IP> -u Abinash_Misra -P <Password> sync //depot/branchname/...


You can provide passwords to the Perforce server in one of three ways:

1. Set the environment or registry variable P4PASSWD to the password value;

2. Create a setting for P4PASSWD within the P4CONFIG file;

3. Use the -P password flag on the Perforce client command line, for example:
p4 -u ida -P idaspassword sync
Regards,
Rajesh Kumar
Build and Release Engineer
My Blog: community.scmgalaxy.com/pg/profile/rajeshkumar
The following user(s) said Thank You: alwaysharsha
  • Page:
  • 1
Time to create page: 0.92 seconds

     
    
Home Forum