rajeshatbuzz created the topic: Write a script to find all users who have not set
#!/usr/bin/ruby
require “P4”
p4 = P4.new
p4.parse_forms
p4.connect
p4.run_users.each do
|u|
user = p4.fetch_user( u[ “User” ] )
puts( user[ “User” ] ) unless user.has_key?( “Password” )
end
rajeshkumar replied the topic: Re: Write a script to find all users who have not set
Above program is useful when you have p4 security level set to 0.
However, 0 is not recommend practice and you can increase the p4 server authentication process by setting up following command..
p4 counter -f security 1 or 2 or 3
for more info…refer p4 counter and seclevel in manuals
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn
- Best AI tools for Software Engineers - November 4, 2024
- Installing Jupyter: Get up and running on your computer - November 2, 2024
- An Introduction of SymOps by SymOps.com - October 30, 2024