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 Warnings Severity Location Code Message Warning usr.sbin/pw/tests/pw_useradd.sh: CHMOD1 Invalid Executable Warning usr.sbin/pw/tests/pw_usermod.sh: CHMOD1 Invalid Executable - Unit
No Test Coverage - Build Status
Buildable 4213 Build 4257: arc lint + arc unit
Event Timeline
usr.sbin/pw/tests/pw_usermod.sh | ||
---|---|---|
249 | sorry I have no idea here :( |
usr.sbin/pw/tests/pw_usermod.sh | ||
---|---|---|
249 | 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.