Phaete
01-18-2006, 01:44 PM
We're using a reserved Linux named user for using our barcode application. This username has a .bash_profile script that launches the app upon successful login and logs the user out when closing the app.
However, this account adheres to password expiration intervals. The users don't see the pre-expire warning, so just get locked out when it expires.
Is it possible to change the .bash_profile script to check for the password expiration warning and redirect to passwd, then back to the barcode app upon successful change or logout if unsuccessful password change?
However, this account adheres to password expiration intervals. The users don't see the pre-expire warning, so just get locked out when it expires.
Is it possible to change the .bash_profile script to check for the password expiration warning and redirect to passwd, then back to the barcode app upon successful change or logout if unsuccessful password change?