📎 AI Summary:
The thread discusses how to create a user account on Linux with a specific expiration date. The original poster wants to set an expiration time during user creation, and a reply confirms that this can be done using the "-e" option with a date. Another contributor provides a detailed example combining "-e" and "-f" options for setting expiration and account locking, along with a link for further information. Overall, the conversation offers practical commands for managing user account expiration on Linux.

Gabriel Turqos

Active Member
Member details
Joined
Mar 11, 2019
Messages
17
Thread Author #1
I want to add a user account to my linuxbox. But this user will have specific expire time which will be specified at the useradd definition.
 

Neemobeer

Windows Forum Team
Staff member
Member details
Joined
Jul 4, 2015
Messages
8,995
You can specify an expiration date with the -e YYYY-MM-DD switch