Confusing /etc/profile not executed

Message
Author
almahdi
Posts: 89
Joined: Fri Aug 14, 2020 11:19 pm

Confusing /etc/profile not executed

#1 Post by almahdi »

How come here, /etc/profile not executed as proved: no file exist from the code e.g.

Code: Select all

echo foo>/home/foo/Downloads/FILE
also somemore codes that cannot give existing result at all

Has one had the same problem then had useful solution ?

User avatar
dolphin_oracle
Developer
Posts: 22051
Joined: Sun Dec 16, 2007 12:17 pm

Re: Confusing /etc/profile not executed

#2 Post by dolphin_oracle »

IIRC, /etc/profile is only executed on a console login. I can confirm that it does work when doing a console line.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

Post Reply

Return to “Hardware /Configuration”