Re: CentOS as an internet kiosk : how to create a "fresh" user upon leaving GNOME ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Brian Mathis ha scritto:
> On Mon, Feb 1, 2010 at 10:24 AM, Niki Kovacs <contact@xxxxxxxxxxxxx> wrote:
> 
> You don't need to delete and re-add the user every time.  That would
> be silly and as you see requires root privs.
> 
> Since you already have the login script ability, change that script to
> delete the sensitive data you are talking about (just don't delete the
> login script).  The last part of the script could be to un-tar a file
> with the clean profile information already in it.

Also, if you use gdm, you can put your script on /etc/gdm/PreSession.

I have a script on /etc/gdm/PostSession/:0 to make a backup on exit, but if
it's a kiosk you can't be sure that the session will be properly closed
(hitting ctrl-alt-backspace will bypass the PostSession script), so I guess
PreSession would be better.

HTH
Regards, Lorenzo
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux