[Samba] User Primary group problem
eehines at comcast.net
Wed Dec 7 02:21:19 GMT 2005
According to my SUSE man pages, adduser -g makes the group named after the
g switch the primary group of the user named at the end of the command.
At 12/06/05 19:29, Michael Barnes wrote:
>This only makes the user a member of a group. It does not change the
>PRIMARY GROUP of the user.
>Ideally, I want to set the primary group of the user at the time of user
>creation. Lacking that, I'd like to be able to change the user's primary
>NTgroup and Unixgroup at the same time.
>Craig White told me on 12/6/2005 18:30:
>>On Tue, 2005-12-06 at 14:08 -0600, Michael Barnes wrote:
>>>How do I establish both a user's primary NTgroup and Unixgroup when
>>>creating a new user?
>>>Depending on the tool, I can set his NTgroup or his Unix group, but I
>>>don't seem to be able to establish both with one tool.
>>Example: add user to group script = /usr/sbin/adduser %u %g
>To unsubscribe from this list go to the following URL and read the
There is no nonsense so errant that it cannot be made the creed of the vast
majority by adequate governmental action.
More information about the samba