Luke Jaeger
Dabbler
- Joined
- Mar 16, 2016
- Messages
- 43
I would like to run this command every time a user logs out:
touch ~/.lastLogout
Tried adding this to .logout but it didn't work. Tried renaming .logout to .bash_logout too.
Most users are connecting via SMB with AD auth but I'd like it to work for SSH logins too. Anyone know what's wrong here?
touch ~/.lastLogout
Tried adding this to .logout but it didn't work. Tried renaming .logout to .bash_logout too.
Most users are connecting via SMB with AD auth but I'd like it to work for SSH logins too. Anyone know what's wrong here?