Operating System - HP-UX
1755348 Members
4560 Online
108831 Solutions
New Discussion

Chapter III - User's environments and /etc/profile

 
SOLVED
Go to solution
rustam_2
Super Advisor

Re: Chapter III - User's environments and /etc/profile

Problem was here
>>All put together, if you "switch" between users like this:

su new_user

The .profile would not be sourced.

If you call su like this

su - new_user

i called su - oracle and file ~./bash_profile worked correctly and got everything which are in file.

Thanks a lot Horia and Dennis.