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 > Ubuntu > Edubuntu User

 
 
LinkBack Thread Tools
 
Old 06-25-2008, 01:36 PM
Gavin McCullagh
 
Default log out script

Hi,

On Wed, 25 Jun 2008, Barb A. Tabor wrote:

> Hello. I am wanting my thin clients to wipe out any changes users have
> made upon log out and default settings load when next user logs in.
> I think I need a script to do this, but am not sure what that script
> should say.
> If anyone could help me out on this I would appreciate it.

You're authenticating against active directory (according to your next
email), right? If the users all have their own accounts, they'll get their
own settings and the next user to login will get the settings for their
account. However:

If you have everyone using a single dummy account and you _really_ don't
want anything saved, you could just delete and re-create the home directory
with something like this run as the user in question:

find ~username | xargs rm -f
cp -r /etc/skel/* ~username

though you'd probably want to think it out a little more than this to make
sure nothing goes wrong.

That solution is a bit extreme in that it's going to remove all files in
that account -- documents, bookmarks, everything. You could pick a set of
files and directories beginning with "." and delete those

cd ~username/
rm -r .gconf/ .gconfd/ .gnome/ .gnome2/ .gnome2_private/ .mozilla/

This would delete a specific bunch of that user's settings.

Gavin


--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
 
Old 06-25-2008, 11:38 PM
Bob Wooden
 
Default log out script

We use a program called timeout. It's an older unix program that needs
manual configuration and all or some users forced to logoff after a time
of no activity.

On Wed, 2008-06-25 at 09:02 -0400, Barb A. Tabor wrote:
>
> Hello. I am wanting my thin clients to wipe out any changes users have
> made upon log out and default settings load when next user logs in.
> I think I need a script to do this, but am not sure what that script
> should say.
> If anyone could help me out on this I would appreciate it.
> Thanks. Barb


--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
 

Thread Tools




All times are GMT. The time now is 01:04 PM.

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