Problem scenario
You have a Bash script that keeps logging out the user unexpectedly. You have done research and nothing seems to work. Your script does not use the reboot command. Your script does use the exit command.
What do you do to keep the user from logging off while still using this script with the exit command?
Solution
This solution below is for one specific root cause.
…
Continue reading “How Do You Keep a User from Logging off Unexpectedly?”