quote("Voytek");
>I was installing Maia Mailguard, as part of intallation it told me to add
>the 'amavis' user to the web group (in my case 'apache'), using
>
>usermod -G amavis apache
>
>which I've done.
>
>later, looking at logs I see this:
>
>....
>usermod[13961]: delete `apache' from group `apache'
>usermod[13961]: add `apache' to group `amavis'
>usermod[13961]: delete `apache' from shadow group `apache'
>usermod[13961]: add `apache' to shadow group `amavis'
>....
>
>hmmm, I didn't really want to remove apache from apache group...?
>
>I though I'd adding another user, not, deleting existing user..?No, you were changing the main group 'apache' belonged to. The command you want is gpasswd. - Chris. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
