[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Suspending Sites & Users
- Subject: Re: [cobalt-users] Suspending Sites & Users
- From: Kul <Webmaster@xxxxxxx>
- Date: Sun May 6 14:51:01 2001
- Organization: Qax
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Carrie Bartkowiak wrote:
> > I know it because 3 minutes after suspension I was getting phone
> calls from
> > the site users.
>
> Jorge,
> I'd be willing to bet you that it was because they couldn't get to
> their site. I doubt they'd had time to try to check their mail.
> Funny how people come screaming when their site goes down, eh?
> Definitely an attention-getter.
>
> CarrieB
Hi Carrie,
Did you say you HAD found a shell too that enabled you to suspend users (individually only) ?
If so you could easily gain a list via shell of all users for a particular site (see example below), and pipe them through this script!
You could even write a little script that requires a site number to be entered, and let it collect the list of users and pipe each through the suspend prog.
Thats all assuming you found a shell suspend program ! :) (I havn't gone looking yet!)
Heres a one-liner that will list all users under a site number: (replace site6 with whatever site has been naughty :) - keep the trailing space after the site number tho)
ls -Al /var/spool/mail/* | grep "site6 " | awk {'print $9'} | sed 's~.*/~~'
--
Regards,
Kul