Consent Banner



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello all,

I have created a consent banner and wrote a script that I want called after
the banner has been displayed. The user is then forced to enter "y" or "n"
to the consent statement.

How do I invoke the script after the banner has been displayed?

For example, /etc/ssh/sshd.conf has /etc/banner defined. So when I ssh into
the local box, I see the banner. I want to take it a step further and prompt
a yes or no answer.

I tried putting it in /etc/profile, that did not work because GDM could not
start. I tried /etc/bashrc, but that did not work well either.

Thanks in advance,

Paul W



-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.8.3 (Build 4028)
Charset: US-ASCII

wsBVAwUBSIjrqbdVg+viRqgEAQjF8wf+IhLDqxSBArFqhhWijfrWYpvFTaVQUumW
aSINuJfzpCFswnw0UekOB6E2ZgQXC0G7ElaVZz2jFvI+250HLQHsLQ5czrHtk3I3
BT8cBosyD9KLON07fIREyPu7aqXweTxvIHTAx+EHBG2+8aKe2cdEtmAFtvNVgZiI
ucPP+RJk3R//MaLzwJR9+H/HB02chdiXyAplWrJhENDrq0uZz/J6sfe1IAeDIjrL
btNU5UQZ/y9++pOypX6dWvO0UHxy1T/+7q9j9DvOa1rcCUenxuahuEBXoDfRWOqI
oAnP4zrPijWq8tuEAIyhc0IU0l1J62hCTBvojfkz32HlzbOQjkY0Fw==
=0JEg
-----END PGP SIGNATURE-----

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: security through obscurity (was: Re: remove apache os banner
    ... But Jay was criticizing the utility of banner munging with or without those ... for most of the hosts out there. ... You code a script, or rather find one, that simply tries to connect to the ... Your exploit works with just apache and that too a particular ...
    (Security-Basics)
  • Re: control-C in output hangs my Expect-script
    ... interaction in autoexpect and see what's in the generated script. ... > keep this banner terminated with a Control-C character. ... The output terminates halfway the banner, ...
    (comp.lang.tcl)
  • Re: Consent Banner
    ... I DO NOT get a prompt when I ssh, nor do I get one from the text ... Hmmm...replace bash (or leave bash alone and replace the login shell in ... /etc/passwd) with a script that calls bash if they say OK? ... I have created a consent banner and wrote a script that I want called after ...
    (RedHat)
  • Re: FP HTME
    ... Paste the code for the banner into notepad first, ... When you use the Insert HTML Component, you will not see the script in Normal View, you will need to ... FrontPage Resources, WebCircle, MS KB Quick Links, etc. ... These are banners with affiliate script. ...
    (microsoft.public.frontpage.client)
  • control-C in output hangs my Expect-script
    ... We want to capture the configuration of Cisco routers, ... The expect script then prints it on my screen. ... you can put a banner Message-Of-The-Day. ... If I login manually into such router, and invoke the "show run" command, ...
    (comp.lang.tcl)