สคริปต์ใน /etc/profile.d ถูกเพิกเฉย?
ฉันใหม่กับ Ubuntu ฉันใช้เดสก์ท็อป 13.10 ฉันต้องการตั้งค่านามแฝงทั้งระบบและพร้อมท์แบบกำหนดเองสำหรับการทุบตี ฉันพบบทความนี้: https://help.ubuntu.com/community/EnvironmentVariables ทำตามคำแนะนำในบทความนี้ฉันสร้าง /etc/profiles.d/profile_local.sh มันเป็นเจ้าของโดย root และมีสิทธิ์ 644 เหมือนกับสคริปต์อื่น ๆ ที่นั่น: root@ubuntu:/etc/profile.d# ll total 28 drwxr-xr-x 2 root root 4096 Mar 23 08:56 . drwxr-xr-x 135 root root 12288 Mar 23 09:15 .. -rw-r--r-- 1 root root 660 Oct 23 2012 bash_completion.sh -rw-r--r-- 1 root …