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


 
 
LinkBack Thread Tools
 
Old 08-24-2008, 08:29 PM
Luis Montes
 
Default xterminator

Matt,

I see a gutsy & intrepid folder in the repo. Any chance of a hardy build?

Luis


Matt Oquist wrote:
> I've written a program named 'xterminator' to provide the
> functionality of purge_user in edubuntu. This is ready for *testing*
> now, so if you want to help me test it please add the following two
> lines to your /etc/apt/sources.list file:
>
> ------------------------------------------
> deb http://ppa.launchpad.net/moquist/ubuntu feisty universe
> deb-src http://ppa.launchpad.net/moquist/ubuntu feisty universe
> ------------------------------------------
> This package will work fine on gutsy as well; just use these same two
> lines. The following commands will add those lines to the right file:
>
> $ sudo echo deb http://ppa.launchpad.net/moquist/ubuntu feisty universe >> /etc/apt/sources.list
> $ sudo echo deb-src http://ppa.launchpad.net/moquist/ubuntu feisty universe >> /etc/apt/sources.list
>
> Then:
> $ sudo apt-get update
> $ sudo apt-get install xterminator
>
> xterminator kills ALL of a user's [other] processes when she first
> starts an X session. After she terminates her X session, there is
> a short delay and all her remaining processes are killed, and then
> xterminator exits.
>
> All this killing of processes is logged in /var/log/syslog.
>
> I would like to add a config file that lets the administrator specify
> whether the killing should happen only at login, only after logout, or
> both. But that's not done yet.
>
> Note the following:
> * If you have this on your system, each user can only have one login
> session at a time. If you have kids sharing usernames & passwords
> then they'll be kicking each other out. (This is part of why the
> syslogging is important; it provides more data about what may be
> happening when your users complain that their computers crash...)
> * If your users depend on cron jobs, ssh sessions, or any other type
> of persistent process that runs before, after, or outside
> a graphical login session, then xterminator will kill those
> processes, too. In fact, a good addition to the config file might be
> a list of process names *NOT* to kill, ever.
> * If the effective UID of an xterminator process is 0 (i.e., if root
> runs 'xterminator', it exits immediately. Oh...but the message it
> prints should be to stderr, not stdout. One more thing to fix...
> * If you execute xterminator on the command line, it will work there,
> too. i.e., it will kill all your processes except your shell and
> its ancestors, and after you exit your shell it will clean up all
> your other processes on the system.
>
> --matt
>
> --
> Open Source Software Engineering Consultant
> http://majen.net/
>
>


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

Thread Tools




All times are GMT. The time now is 12:30 PM.

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