I'm using a server running Suse Enterprise 11.1. I need to add some locations to the path for all users and for all the shells. Is there a nice and easy way to do this or do I have to modify the profile file for each shell.Also I don't know if this is the default config for suse or if someone mess the server up, but there isn't a /etc/profile nor a /etc/shellnameprofile.localHow can I archive this? Please help.
Add directory to path for all shells and users in SLES 11.1
shell;path;suse
Just add to /etc/profile.local and the PATH addition will survive upgrades for the regular users. For root check the .profile of root to see if you set the path hard-coded there.