[NTLUG:Discuss] What is the proper way to add users to groups?

Ed Coates edcoates at nighthawk.dyndns.org
Wed Dec 11 11:11:42 CST 2002


Quoting Richard Geoffrion <ntlug at rain4us.net>:

> 
> I use the useradd (or in slack, the 'adduser' script) but what I need to do
> is edit the GROUP files.  Once my users are created and they have gone on
> their merry way..I sometimes need to create groups and add users to those
> groups.  The issue I'm facing is that for some reason it doesn't seem like
> Samba recognizes that certain users are in the certain groups.
> 
> I've approached this 'add user to group' situation through webmin and it
> seems to work better.  Sometimes webmin isn't convenient...or I'd rather
> just stay at the CLI.
> 
> -Richard
Then you'll want to take a look at groupadd (add new groups) and usermod which
allows you to modify user information, like primary and secondary groups.

Ed

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/




More information about the Discuss mailing list