FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 07-24-2008, 08:52 PM
Paul Whitney
 
Default 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+IhLDqxSBArFqhhWijf rWYpvFTaVQUumW
aSINuJfzpCFswnw0UekOB6E2ZgQXC0G7ElaVZz2jFvI+250HLQ HsLQ5czrHtk3I3
BT8cBosyD9KLON07fIREyPu7aqXweTxvIHTAx+EHBG2+8aKe2c dEtmAFtvNVgZiI
ucPP+RJk3R//MaLzwJR9+H/HB02chdiXyAplWrJhENDrq0uZz/J6sfe1IAeDIjrL
btNU5UQZ/y9++pOypX6dWvO0UHxy1T/+7q9j9DvOa1rcCUenxuahuEBXoDfRWOqI
oAnP4zrPijWq8tuEAIyhc0IU0l1J62hCTBvojfkz32HlzbOQjk Y0Fw==
=0JEg
-----END PGP SIGNATURE-----

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

Thread Tools




All times are GMT. The time now is 12:28 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org