# Why Pritunl ovpn profile can use any username to connect

**URL:** <https://forum.pritunl.com/t/why-pritunl-ovpn-profile-can-use-any-username-to-connect/1196>\
**Category:** Pritunl VPN\
**Created:** [July 3, 2023, 8:44am UTC](https://forum.pritunl.com/t/why-pritunl-ovpn-profile-can-use-any-username-to-connect/1196 "2023-07-03T08:44:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![okejadi](https://forum.pritunl.com/user_avatar/forum.pritunl.com/okejadi/32/493_2.png) [@okejadi](https://forum.pritunl.com/u/okejadi)\
**Post date:** [July 3, 2023, 8:44am UTC](https://forum.pritunl.com/t/why-pritunl-ovpn-profile-can-use-any-username-to-connect/1196/1 "2023-07-03T08:44:01Z")

</div>

I am newbie and wondering why a random username can connect the the VPN…

Details:  
Pritunl Server v1.30.3157.70 28a970

1. Generate one user
2. Put the profile on a Ubuntu server
3. Connect using OpenVPN with —auth-user-pass option to a file that contains the random username and the correct password

If missing any details pls ask… thank you

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [July 6, 2023, 1:53am UTC](https://forum.pritunl.com/t/why-pritunl-ovpn-profile-can-use-any-username-to-connect/1196/2 "2023-07-06T01:53:14Z")

</div>

Each profile contains a certificate that is only valid for that Pritunl user. The server will only accept a password for the single sign-on username associated with that Pritunl user. The server will ignore the username provide and use the username associated with the user certificate.
