Petals ESB CLI

The default preference file should be readable only by users member of group 'petals'

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.2.0
  • Fix Version/s: 2.3.0
  • Component/s: Debian Pack
  • Security Level: Public
  • Description:
    Hide

    To increase security, the default preference file '/etc/petals-cli/petals-cli.default'' should not be readable by all users. It should be readable only by users member of a given group.

    By default, the group 'petals' will be used to protect the preference file. If needed, the group can be changed.

    Note: If the user running Petals CLI is not a member of this group, a warning will be displayed if the mode 'Console' is used:

    user@host> petals-cli -C
    ERROR: Your are not granted to access the configuration file '/etc/petals-cli/petals-cli.default'.
    
    user@host>
    Show
    To increase security, the default preference file '/etc/petals-cli/petals-cli.default'' should not be readable by all users. It should be readable only by users member of a given group. By default, the group 'petals' will be used to protect the preference file. If needed, the group can be changed. Note: If the user running Petals CLI is not a member of this group, a warning will be displayed if the mode 'Console' is used:
    user@host> petals-cli -C
    ERROR: Your are not granted to access the configuration file '/etc/petals-cli/petals-cli.default'.
    
    user@host>
  • Environment:
    -

Issue Links

Activity

Hide
Christophe DENEUX added a comment - Thu, 28 Jan 2016 - 16:28:44 +0100

Now, default ACL of the preference file are:

-rw-r----- 1 root petals 1098 janv. 28 15:33 petals-cli.default
Show
Christophe DENEUX added a comment - Thu, 28 Jan 2016 - 16:28:44 +0100 Now, default ACL of the preference file are:
-rw-r----- 1 root petals 1098 janv. 28 15:33 petals-cli.default

People

Dates

  • Created:
    Thu, 28 Jan 2016 - 14:57:14 +0100
    Updated:
    Thu, 28 Jan 2016 - 16:28:44 +0100
    Resolved:
    Thu, 28 Jan 2016 - 16:28:44 +0100