I need to set up an account inactivity expiration date (es. 1 year).
As shown in some tutorials, a way of doing so is to use the usermod command.
Due to some constraints, I need to do so offline, modifying some configuration file before running my embedded (poky) distro.
What changes in which configuration file should I apply to have the same effects of such usermod command?