2 Jun
2004
2 Jun
'04
14:51
El Martes, 1 de Junio de 2004 16:13, Michael Satterwhite escribió:
SuSE 9.0 KDE
Is there a way to execute a command when a user logs in?
Hello Michael: I have cut out this extract from $HOME/.bashrc: # There are 3 different types of shells in bash: the login shell, normal shell # and interactive shell. Login shells read ~/.profile and interactive shells # read ~/.bashrc; in our setup, /etc/profile sources ~/.bashrc - thus all # settings made here will also take effect in a login shell. # # NOTE: It is recommended to make language settings in ~/.profile rather than # here, since multilingual X sessions would not work properly if LANG is over- # ridden in every subshell. Hope this will help. Greetings.