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

Re: Policy on Account creation and deletion?



On Tue, 16 Mar 2004 09:18:29 +1100, Brian May <bam@debian.org> wrote:
>That way it will delete the directory that the package initially
>configured and only the directory that the package initially
>configured. If an administrator later decides, due to operational
>requirements or whatever that a home directory of /usr/local/xyz is
>better, you still want the purge operation to remove /var/lib/xyz, not
>/usr/local/xyz. (obviously this might result in dangling and/or reused
>UIDs, but I consider this the administrators responsibility to find
>and fix.)

You're right. Thanks for that reasoning.

Any ideas how one could implement shared variables in maintainer
scripts? There are things like the account name that need to be
present in postinst and postrm, and I am notorious for changing one
while leaving the other. Is there any recommended hack to do variable
substitution in maintainer scripts at build time?

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29



Reply to: