November 12th, 2013, 11:15 PM
Default profile setup
Where we can change to set a default profile for users so that every user can have access to some default command.
Ex: I want to give access of pbrun su to every user.
If they are using fully qualified path then they are able to use this.I want this to add in their default profile.
Kindly help ..
November 13th, 2013, 06:01 AM
If it is just a case of modifying PATH to include the path to the binary then look at /etc/profile. If it's a case of allowing access to a command via su then you'll need to do something with the sudoers file.
The moon on the one hand, the dawn on the other:
The moon is my sister, the dawn is my brother.
The moon on my left and the dawn on my right.
My brother, good morning: my sister, good night.
-- Hilaire Belloc
November 15th, 2013, 09:39 AM
Follow SimonJM's suggestion and/or you can set a custom environment per user in each $HOME/.profile (or .bash_profile) file, where $HOME is their home directory.
Originally Posted by raviktiwari