Username & groups

Jon Radel jon at radel.com
Thu Apr 17 14:00:40 UTC 2008


Ruel Luchavez wrote:

> *My Problem:*

Only one?  ;-)

> I have a new user, i already add the user in the server using command
> "adduser" and "pw" to modify it, by the way the name of user is ac06...
> when i had a command "id -p ac06" this is the reply of the server..
>    uid      ac06
>    group   plusmate
> and which im sure its correct..
> 
> BUT, when that user acces(ac06)  the folder (plusmate shared) throug the
> windows (windows XP) its always asking for username & password, however it
> didn't ask for username & password while the other users getting to that
> folder/directory.

Assuming you're using Samba for this, you'll need to read up on
authentication in Samba and then figure out which of several options are
configured on your system.  It is not [necessarily] sufficient to add a
FreeBSD user.

--Jon Radel

P.S.  In many circumstances

adduser -G plusmate ac06

instead of

adduser -g plusmater ac06

would give more elegant results.  Other things being equal, it's better
to have all users use their own login group and then add them to
additional groups as appropriate.  There are plenty of legitimate
reasons not to do this, so you're probably best off remaining consistent
with the setup of the existing users.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3283 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080417/8cba3c66/smime.bin


More information about the freebsd-questions mailing list