FS#2278 - user profile ~/.profile must be added in /etc/profile
Attached to Project:
Arch Linux
Opened by Darius Kučisnkas (dariuzk) - Thursday, 24 February 2005, 16:04 GMT
Opened by Darius Kučisnkas (dariuzk) - Thursday, 24 February 2005, 16:04 GMT
|
Details
user profile "~/.profile" must be added to system profile
"/etc/profile". I think it's just one line in the end of
"/etc/profile" like this: . ~/.profile User profiles is useful then users wish to have different locales and so on... |
This task depends upon
Closed by Judd Vinet (judd)
Friday, 25 February 2005, 22:57 GMT
Reason for closing: Not a bug
Additional comments about closing: Bash profiles are in .bash_profile, not .profile.
Friday, 25 February 2005, 22:57 GMT
Reason for closing: Not a bug
Additional comments about closing: Bash profiles are in .bash_profile, not .profile.
We already have ~/.bashrc and ~/.bash_profile and I can't find any reference to ~/.profile on any of my debian boxes.
The OpenBSD box that I run has a ~/.profile, but no reference either to it from /etc/profile or whatever file OpenBSD should use in /etc (OpenBSD doesn't work with /etc/profile but uses cshrc files).
The .profile file is just a customisation file for a shell like ksh, so if you use ksh, you can make customisations in ~/.profile. For bash you have ~/.bashrc and ~/.bash_profile and for zsh you have other files.
These files are not meant to be read from the /etc/profile, but are meant to be read by your shell, whatever that might be on your system.