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
Task Type Feature Request
Category System
Status Closed
Assigned To No-one
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

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.
Comment by Jan de Groot (JGC) - Thursday, 24 February 2005, 23:22 GMT
So when daemons start and don't have a homedir or a homedir that points to nonexistent locations, we should get errors...

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.

Loading...