[p4] p4 protect and auto user creation

Stuart Harte Stuart.Harte at ind.alcatel.com
Tue Feb 20 14:01:31 PST 2001


We have such a line as the first line in our protections, but occasionally we
still see a new user show up out of the blue.

Stu Harte

Todd Short wrote:

> To protect people from creating users I have the following as the first line
> in 'p4 protect':
>
> list user * * -//...
>
> This prevents users from being created by non-authorized users. Which is
> what typically
> happens when someone decides to use Perforce as 'root' or 'administrator'
> and the P4USER
> has not been explicity set. I have not tried this, but it still might be
> possible for
> another user to do a 'p4 user <name>'. (Then again, as a super user, I need
> to use
> the -f flag...)
>
> I then added users to groups, and gave each of those groups the appropriate
> 'write'
> permission:
>
> write group sweng * //...
>
> When I create a user, I use 'p4 user -f <name>' and then a 'p4 group' to add
> them
> to the appropriate group. I, of course, have to be supervisor:
>
> super group admins * //...
>
> Since I have done this, no one has yet created a user a user in error and
> eaten
> up a license. By using groups, I almost never have to touch 'p4 protect'.
>
> --
> -Todd Short
> // tshort at cisco.com
> // "One if by land, two if by sea, three if by the Internet."
>
> > -----Original Message-----
> > From: perforce-user-admin at perforce.com
> > [mailto:perforce-user-admin at perforce.com]On Behalf Of Doug Palmer
> > Sent: Tuesday, February 20, 2001 2:18 PM
> > To: Perforce-User (E-mail)
> > Subject: [p4] p4 protect and auto user creation
> >
> >
> > I looked at my user list today, and there were a bunch of
> > user accounts that
> > I did not create. It appears as if they were auto-created
> > just like the
> > early days before I turned on the protections. My guess is
> > that they snuck
> > in while I had a "p4 protect" session open. I left it open for several
> > hours, oops.
> > So, are the protections open while I'm editing? If not what could have
> > happened to allow these users to be created?
> >
> > My server was 2000.1, I just upgraded to 2000.2.
> >
> > ------------------------------------------
> > Doug Palmer
> > MTS Software Engineering
> > Mahi Networks, Inc.
> > dpalmer at mahinetworks.com
> >
> > _______________________________________________
> > perforce-user mailing list  -  perforce-user at perforce.com
> > http://maillist.perforce.com/mailman/listinfo/perforce-user
> >
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stuart.harte.vcf
Type: text/x-vcard
Size: 186 bytes
Desc: Card for Stuart Harte
URL: <http://maillist.perforce.com/pipermail/perforce-user/attachments/20010220/9401a0bb/attachment.vcf>


More information about the perforce-user mailing list