-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rule 6.2.4 with login banners #225
Comments
hi @antonatos We wanted to reach out after looking over the issue and we have some questions. Would you be able to give us some detail on your /etc/profile? Looking at the changes suggested they do work, however they might deviate from some best practices, we would normally find the sort of setting you have in a profile.d script. If they are placed within /etc/profile.d, we don’t see the issue you are experiencing. At this time we are leaning towards this being something that is better addressed in your environment. However before we make that call we would like to take a poke at what you are using, so we can address as many options as possible without impact. Thanks uk-bolly |
Hi,
I attach the /etc/profile file as found in one of the servers. You are true it does not happen if the contents are in /etc/profile.d
but I put the issue up in case you want to guard against edge cases.
On 6 May 2021, at 8:57 PM, uk-bolly ***@***.***> wrote:
hi @antonatos <https://github.com/antonatos>
We wanted to reach out after looking over the issue and we have some questions. Would you be able to give us some detail on your /etc/profile? Looking at the changes suggested they do work, however they might deviate from some best practices, we would normally find the sort of setting you have in a profile.d script. If they are placed within /etc/profile.d, we don’t see the issue you are experiencing. At this time we are leaning towards this being something that is better addressed in your environment. However before we make that call we would like to take a poke at what you are using, so we can address as many options as possible without impact.
Thanks
uk-bolly
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#225 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AARD3BQ4EOBG2PKBAKZ4UTTTMLKAVANCNFSM44CW33KA>.
|
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
Hi @antonatos Thank you for your patience. Before making the decision, we have been waiting to see if anyone else has requested this either from the community or from our direct clients and we have not seen this appear again. However in this case, I have raised the PR as we are certain this is not an uncommon practice and it will be seen again. Many thanks once again uk-bolly |
in one of the servers the /etc/profile has this block (full banner not displayed here):
which causes the rule 6.2.4 evaluation to be confused since the
dot_in_path
is wrong and results in creating multiple files due to stdout registration:An extra "grep "^PATH" before the sed commands seems to fix the issue
The text was updated successfully, but these errors were encountered: