You can use the local versions .profile and .bashrc in the user's $HOME which won't affect the whole system.
On Fri, Nov 12, 2010 at 1:14 PM, Amit Sharma <amit_...@yahoo.com> wrote: > Hi, > > I want to run a script as soon as a non-root users logs in. > > For that if I make a entry in /etc/proile then it runs for root also. > > I also tried it in /etc/bashrc but still it runs for root user as well. > > I do not want to make individual entry in all user's home directory in > .bash_profile as the numbers of users is about 100. > > Please help. > > regards, > Amit > > > > _______________________________________________ > Ilugd mailing list > Ilugd@lists.linux-delhi.org > http://frodo.hserus.net/mailman/listinfo/ilugd > -- Regards Chirag Anand Blog :http://techfreaks4u.com/blog anything weird is worth a try... _______________________________________________ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd