Hello. If you go to the site below, I organized /etc/profile as follows http://www.troubleshooters.com/linux/prepostpath.htm
All users except root /etc/profile
What I'm curious about is Is it correct that /etc/profile is applied to all users except root?
Or does it apply to all users including root?
I want to know exactly.
linux
/etc/profile is a system-wide setup file that reads unconditionally at boot time.
Of course, I will read it as a setup file with /etc/bashrc, but /etc/profile is a more common file.
In other words, we will read it including all the root.
For verification, you can check with env after root su.
579 Understanding How to Configure Google API Key
577 Who developed the "avformat-59.dll" that comes with FFmpeg?
925 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
585 PHP ssh2_scp_send fails to send files as intended
618 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.