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

Re: [K12OSN] Kill all your users



There's also the purge users script that's already a part of K12LTSP and
it's located in /opt/ltsp/templates/k12linux  View the script and check
out the directions in the comments at the top.  You simply need to go to
/etc/sysconfig/k12ltsp  and set PURGE_PROCESSES = YES   That's it!  :-)

"Support list for open source software in schools." <k12osn redhat com>
writes:
>If you're going to use David's script, put the script in, say,
>/usr/local/bin/ and then 
>use root's crontab to run it every night at 10pm or whenever.  Otherwise,
>following 
>Chuck's approach, you could put
>
>pkill -u $LOGNAME
>
>in /etc/gdm/PostSession/Default (he may be putting it in a different
>file; Chuck?) and 
>it will run the command when the user logs out.  I suggest testing this
>on a 
>non-production server because I can invision it killing itself before
>completely 
>cleaning up after the user's session and thus leaving some temp files
>lying around 
>unnecessarily.
>
>Petre
>
>Mel Wade wrote:
>> Sorry for my ignorance on this, but I'm not really understanding where 
>> to put a kill command for users in K12LSTP 6...
>> 
>> -- 
>> Mel Wade
>> "The real problem is not whether machines think but whether men do." - 
>> BF Skinner
>> http://www.melwade.com
>> 
>> 
>> ------------------------------------------------------------------------
>> 
>> _______________________________________________
>> K12OSN mailing list
>> K12OSN redhat com
>> https://www.redhat.com/mailman/listinfo/k12osn
>> For more info see <http://www.k12os.org>
>
>_______________________________________________
>K12OSN mailing list
>K12OSN redhat com
>https://www.redhat.com/mailman/listinfo/k12osn
>For more info see <http://www.k12os.org>



David N. Trask
Technology Teacher/Director
Vassalboro Community School
dtrask vcsvikings org
(207)923-3100



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