On Wed, Sep 15, 2004 at 09:05:22 +1000, Darren Williams wrote:
> as root add a user to a group
> /usr/sbin/usermod -G scanner <you>
> /usr/sbin/usermod -G scanner <your wife>
That doesn't quite do what you think it does. It *does* add the users
to group scanner, but it also deletes them from any other groups that
they're currently members of. So, you need to change that to include
all the groups that the user is already a member of, e.g.:
[EMAIL PROTECTED] ~]$ groups johnc
johnc : johnc disk floppy apache
[EMAIL PROTECTED] ~]$ usermod -G johnc,disk,floppy,apache,scanner johnc
The first group in the list is the user's primary group. Make sure it
stays the same.
Cheers,
John
--
I believe IDE merely calls for a deranged chicken and some cheap
paraffin candles from Ikea. Less than UDMA/100 and you can get away
with dribbling the grease from KFC on the cables and you should be good
to go. -- Graham Reed
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html