[Koha-patches] No Koha Uninstall Script.
Patrick Mackeown
patrick at bookscape.co.uk
Wed Jul 15 10:40:35 CEST 2009
Much of the logic of this is described within the documentation within the
script itself. But, in short, without some form of priviledge-escalation
utility in action the koha user will have no luck in running such commands.
And in any case, the koha user is one of the users who would be removed.
Removing users and groups, dropping the database and so on are not a
central
part of the behaviour. They're added as tidyup functions. And they're also
interactive. Not only that, but when you run the script in standard, SAFE
mode, which is the default, removing groups and users and dropping the
database isn't even offered as an option.
In standard, SAFE mode, the script analyses your koha installation and
tells
you where the koha files are, as well as writing its findings to a tempoary
file, and then exits. It's upto you, the administrator you remove whatever
you want to remove. (ie unless you edit the script itself, you can't make
it
delete anything.)
> ----- Original Message -----
> From: "MJ Ray" <mjr at phonecoop.coop>
> To: <patrick at bookscape.co.uk>; <patches at koha.org>
> Sent: Friday, July 10, 2009 11:08 AM
> Subject: Re: [Koha-patches] No Koha Uninstall Script.
>
>
> "Patrick Mackeown" <patrick at bookscape.co.uk> wrote:
>> [1] I've taken Galen's suggestion and added support for multiple machine
>> architectures.
>> Ostensibly this is to support unixes and variants who do not use
>> /usr/sbin
>> to store userdel & groupdel commands.
>
> Should the Koha Uninstall be running userdel and groupdel? Last I
> saw, the Koha Install didn't run useradd and groupadd.
>
> Confused,
> --
> MJ Ray (slef) LMS developer and webmaster at | software
> www.software.coop http://mjr.towers.org.uk | .... co
> Notice http://mjr.towers.org.uk/email.html | .... op
More information about the Koha-patches
mailing list