Mikkel L. Ellertson wrote:
g wrote:
> Stephen Berg (Contractor) wrote:
>> I'm searching for a method to display a consent to monitoring
>> statement on either GDM or KDM in Fedora 9. I'm not tied into
>> either display
>
> an interesting question, which you may not have found and answer.
>
> i do not know how this would work, and maybe some others can make some
> further suggestions.
>
> years back under cromix and early unix, i modified 'passwd' to restrict
> logins to certain programs.
>
> applying this to linux, should/may not be all that different.
>
> instead of using '/bin/bash' as startup shell, consider something like
> '/bin/bash/consent'.
>
> 'consent' could then be a script to display consent agreement and prompt
> for a 'y/n' reply. if $1 = 'y' then startx. if $1 = 'n' then
exit.
>
> something to think about.
>
> hth.
>
For text logins, you could use /etc/issue and /etc/issue.net.
Mikkel
I've got it working for text logins like ssh but the problem is logging
in via GDM and/or KDM in a gui environment. Users are required to
acknowledge the consent statement before logging in to the system.
Since gdm-simple-greeter is missing these days, what used to be simple
is now becoming a problem.
--
Stephen Berg
Systems Administrator
NRL Code: 7321
Office: 228-688-5738
stephen.berg.ctr(a)nrlssc.navy.mil