According to the comments within /etc/profile itself:
"# System wide profile. All variables set here may be overridden by a user's personal .profile file in their $HOME directory. However, all commands here will be executed at login regardless.
This seems to me to mean that commands included therein will be acted upon in any case.Perhaps I'm misunderstanding what you need?
En fait, lors d'un login, il passe par le fichier /etc/profile si il n'est pas en mode graphique. Dans le cas contraire il ne passe pas dedans. Ne connaissez vous pas un fichier a travers lequel il passe tous les deux??
'In fact, at the time of a login, it passes by the file / etc/profile if it is not in graphic mode. In the contrary case it does not pass inside. Do not know not a file has itself through which it passes both??'
Sorry, I don't know of any file other than /etc/profile which might work in the way you envisage. Perhaps others do? In the meantime, I'll keep thinking of possibilities.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.