With w command it is currently not possible to see what command user is running when using script. w command will just show script is running. So this change updates user accounting database when script runs and w command can correctly show latest command that user is running.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 9193 Build 9639: CI src build Jenkins
Event Timeline
Comment Actions
I didn't think about the case that regular user can run script too. So in that case it needs setuid privilege to modify user accounting database.