I have an issue where users are trying to log in to their Perforce account using p4
command line (not p4v
visual client), but it seems to start at a default account without permissions. When they try to logout with
p4 logout
the users get following error
"Access for user "foo" has not been enabled by 'p4 protect'".
What is the standard way of logging out and logging in via p4
command line?
For ease of use, make sure to set your username via the P4USER environment variable first, then use p4 login
and p4 logout
You could also use p4 -u <username> login
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With