On 27-Dec-2000 Huiyuan Ma opined:
> I wonder when . /etc/profile is executed except I run
> it explicitly?

It gets read into a login

1. At the time of login.
2. When one types 'source /etc/profile'
3. When it's read in by a script, but then it disappears when the script
finishes running.
4. At boot. Actually it's #1 above because it isn't used until one
actually logs in. Crontab doesn't use it, processes don't use it, scripts
don't use it unless called (really rare and not advised). Only logged-in
users use it.

-- 
It's not a bug, it's tradition!



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to