Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Write a script to find all users who have not set

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

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x