From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <98510046012221.tru64-unix-managers.marc@archive.invalid> From: neil.hoare () alcatel ! co ! uk Date: Tue, 20 Mar 2001 14:32:49 +0000 To: tru64-unix-managers Subject: login confirmation required X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=98510046012221 Hello Managers, I have recently been asked to supply a warning screen which asks for a yes/no confirmation as to whether you have understood the security message. Ideally,I want the warning displayed prior to logon, ie, /etc/issue, and then the confirmation question to appear after that. (is there any way to run another script from within /etc/issue, or is it purely a "cat" of the files contents?) Also, I require that this message is not displayed when issuing su -, which rules out any /etc/profile entry I think. I have experimented with changing session variable on log in, so as to display the question only once, but this method still fails an su -. I've also tried replacing login with a script which does the necessary with the warning and question, and then calls the proper login, but this fails with application logging in. Any ideas. I am using 4.0d.PK3. Cheers Neil neil.hoare@alcatel.co.uk Support Team Leader Alcatel Telecom Ltd