Re: modular design for adduser
I think it's a great idea, and it works well with the sysvinit method - although
I question that intuitiveness of "clean" as the paramater to remove a user.
Maybe you should have AXXfoo and RXXfoo symlinks (for Add and Remove), which
would execute 'scripts/foo add' or 'scripts/foo remove'.
On Sat, Jun 24, 2000 at 08:11:33PM +0200, Roland Bauerschmidt wrote:
> Depending on the variable `action' and if the `clean' argument was
> passed the script does the corresponding work. If `clean' is set the
> script has to do excatly the opposite work, e.g. removing the user
> again. This is necessary to undo changes again if something has failed.
--
There is a 90% chance that this message was written when the author's been
up longer than he should have. Please disregard any senseless drivel.
--
Chris Armstrong
http://penguinmints.cx
Reply to: