diff --git a/userdb-cli.py b/userdb-cli.py
index 54f5958584c1fe2533ee03670d790bea2408e607..90190b866b386e2ad7df367e8ffca5020f38a218 100755
--- a/userdb-cli.py
+++ b/userdb-cli.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python3
+#!/usr/bin/env python
 import os, json, argparse, abc
 
 from pydantic import BaseModel