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

Re: [cobalt-users] suspending users



Good call.

Incidently, it wouldn't be too hard to write a perl script to do all this
for you.

You would probably want to do it based upon a site, instead of a specific
user.  So basically, change the pw's for every user in the site (especially
if there is more than one admin.

Only problem I can really see beyond that is much of the sites information
will still be served by the server.  I.E. if they get around the index.html
they can still navigate the sites (as often happens when a user comes into a
site from a search engine).  A better way may be to to change that virtual
site's path from /home/sites/sitexx/web to /home/sites/home/suspended (or
something like that) that contains the "This site is suspended" messages.  I
actually think this would be easier cause all you have to do is comment out
a line in the httpd.conf and add a new one (that can be the same for all
suspended sites).

-k

on 2/2/00 12:25 PM, Jeff Lasman at jblists@xxxxxxxxxxxxx wrote:

> The easiest way is to change their password and put a new index.html file
> in their home page.
> 
> The problem is reclaiming their old password and index.html page when you
> want to unsuspend them.
> 
> The best way is to manually edit /etc/shadow (as root) and add an asterisk
> in front of the first character of the password field (the field between
> the first two colons).  No password hashes to anything with an asterisk in
> it, so that works.  You can take out the asterisk later to re-enable the
> password.
> 
> To disable the website, mv his index.html file to index.html.suspended, and
> create a new index.html file with the "This user is suspended" text in
> it.  Then when you reinstate, just delete the index.html file and mv
> index.html.suspended back to index.html.
> 
> Jeff
> 
> At 11:55 AM 2/2/00  RHLinux- WHN wrote:
>> anyone have a easy way to suspend users?
>> 
>> which may include putting a "This user is suspended" on their home page on
>> a RAQ2 or RAQ3?
> 
> --
> Jeff Lasman, nobaloney.net
> <jblists@xxxxxxxxxxxxx>
> <www.nobaloney.net>, <www.mailtraqna.com>, <www.email-lists.com>
> 
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>