Dave's Brain

Browse - Computer Tips - How can I run something when each user logs in?

Date: 2012aug11
OS: Linux
Distro: RedHat/Fedora/CentOS
Language: bash

Q.  How can I run something when each user logs in?

A.  Make a script in /etc/profile.d

eg:
/etc/profile.d/SOMETHING.sh

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.