Files
Marius Ciepluch 1ae41eea19 feat(propose-adjudicate-prove): overlay adjudicates inventory before prove
Regex inventory stays the proposer. MAP attaches promote/demote/unadjudicated/coverage
from intra-file taint (tree-sitter when a grammar parses, Python ast as last resort).
Deep sandboxes promotions only, ordered by the existing heuristic ranker plus optional
OpenRouter mechanism recall. The SAST pair slice scores overlay outcomes; the stage-1
detection gate and local pair gate stay inventory-only.
2026-09-04 13:57:33 +02:00

11 lines
393 B
Python

# Provenance: SVEN train CWE-78 function pair from
# https://github.com/Internet-of-People/titania-os/commit/9b7805119938343fcac9dc929d8882f1d97cf14a
# file vuedj/configtitania/views.py function add_user
import crypt
import subprocess
def add_user(username, password):
encPass = crypt.crypt(password, "22")
subprocess.call(["useradd", "-G", "docker,wheel", "-p", encPass, username])