For new users which command for executables shows as /bin instead of /usr/bin
Hi all,
I am using RHEL7. After creating 2 users which commands shows as /bin instead of /usr/bin. for 1 user it is /bin and another user it shows as /usr/bin, why?
From user1 - which command shows as /usr/bin
From user2 - which command shows as /bin
example,one of the executable gcc, $which gcc give the output as follows,
User1 - /usr/bin/gcc
user2 - /bin/gcc
How to make user2 to get executables for which commands from /usr/bin?
Kindly share your inputs.
Last edited by kirushna; 10-30-2016 at 07:57 PM.
|