How do I automatically empty the trash on logout?

Posted by Jonas on Super User See other posts from Super User or by Jonas
Published on 2010-03-20T21:13:08Z Indexed on 2010/03/20 21:21 UTC
Read the original article Hit count: 146

Filed under:
|
|

Users on a linux (CentOS4) machine I administer consistently forget to empty the trash. Since the people work on big files, this can fill up the /home partition very quickly.

Therefore, I would like to create a script that automatically empties the user's trash whenever they log out.

How would I do that?

© Super User or respective owner

Related posts about linux

Related posts about script