waveterm/pkg/util/pamparse
Evan Simkowitz 37929d90c1
Simplify regex and fix tests for pamparse (#1712)
Simplifies the regex so it doesn't have as many negations.

Adds an option to pass the `/etc/passwd` values needed for pamparse so
that we can mock them for the tests. Also allows us to only grab those
values once at launch, since they shouldn't change.
2025-01-10 13:53:24 -08:00
..
pamparse_test.go Simplify regex and fix tests for pamparse (#1712) 2025-01-10 13:53:24 -08:00
pamparse.go Simplify regex and fix tests for pamparse (#1712) 2025-01-10 13:53:24 -08:00