#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2013
    Posts
    1
    Rep Power
    0

    Default profile setup


    Hi All,
    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 ..

    Regards,
    Ravi
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2006
    Posts
    2,436
    Rep Power
    1688
    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
  4. #3
  5. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Sep 2006
    Posts
    840
    Rep Power
    387
    Originally Posted by raviktiwari
    Hi All,
    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 ..

    Regards,
    Ravi
    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.

IMN logo majestic logo threadwatch logo seochat tools logo