pw should sanitize the argument of -w. Otherwise, it will silently disable
the login for the selected account.
Details
Details
- Reviewers
brd bapt - Commits
- rS302778: pw should sanitize the argument of -w.
Added ATF tests
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
usr.sbin/pw/tests/pw_usermod.sh | ||
---|---|---|
249 ↗ | (On Diff #17565) | sorry I have no idea here :( |
usr.sbin/pw/tests/pw_usermod.sh | ||
---|---|---|
249 ↗ | (On Diff #17565) | Too bad. Expect would work, but that's in ports. If I don't find another way, I'll just check in code that checks for the "^foo:\$" pattern. |
Comment Actions
bapt, are you cool with this change? I'm traveling next week, so tomorrow (24-June) is my last chance to commit anything before the stable/11 branch.