[NTLUG:Discuss] What is the proper way to add users to groups?
Richard Geoffrion
ntlug at rain4us.net
Wed Dec 11 09:36:07 CST 2002
Ed Coates <edcoates at nighthawk.dyndns.org> wrote:
> Quoting Richard Geoffrion <ntlug at rain4us.net>:
>
>> How should one REALLY add users to groups from the command line
>> interface?
>>
> There's the useradd command that is common to most distros of Linux,
> but if you know what you're doing, there's really nothing wrong with
> adding a user manually like that. Just don't forget to create their
> home directory. :)
>
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
More information about the Discuss
mailing list