Re: Username groups

2008-04-19 Thread prad
On Thu, 17 Apr 2008 10:00:24 -0400
Jon Radel [EMAIL PROTECTED] wrote:

 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.

jon,

i have always been curious about this. why is it better for a user to
be in his own group? on slackware i recall users all went into the
users group.

one benefit i can see is that if a user has his own group then you
can effectively give others access to certain files by adding them to
that users group.

are there other reasons?

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Username groups

2008-04-19 Thread Lowell Gilbert
prad [EMAIL PROTECTED] writes:

 On Thu, 17 Apr 2008 10:00:24 -0400
 Jon Radel [EMAIL PROTECTED] wrote:

 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.

 jon,

 i have always been curious about this. why is it better for a user to
 be in his own group? on slackware i recall users all went into the
 users group.

 one benefit i can see is that if a user has his own group then you
 can effectively give others access to certain files by adding them to
 that users group.

 are there other reasons?

From adduser(8):
 Perhaps you are missing what can be done with this scheme that falls
 apart with most other schemes.  With each user in their own group, they
 can safely run with a umask of 002 instead of the usual 022 and create
 files in their home directory without worrying about others being able to
 change them.

 For a shared area you create a separate UID/GID (like cvs or ncvs on
 freefall), you place each person that should be able to access this area
 into that new group.

 This model of UID/GID administration allows far greater flexibility than
 lumping users into groups and having to muck with the umask when working
 in a shared area.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Username groups

2008-04-17 Thread Ruel Luchavez
Hello,

Can you help me on this...
I have a directory in the server this is what is looks like
 drwxrwx--- 12 root plusmate 512 April 13 14:46 plusmate shared
...this directory is shared in my network, and i dont recieve any complain
in any user which can acces to that folder/directory

*My Problem:*
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.

Where should be the problem?is there something i forgot configuring in the
server side?

YOUR REPLY IS HIGHLY APPRECIATED
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Username groups

2008-04-17 Thread Derek Ragona

At 05:19 AM 4/17/2008, Ruel Luchavez wrote:

Hello,

Can you help me on this...
I have a directory in the server this is what is looks like
 drwxrwx--- 12 root plusmate 512 April 13 14:46 plusmate shared
...this directory is shared in my network, and i dont recieve any complain
in any user which can acces to that folder/directory

*My Problem:*
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.

Where should be the problem?is there something i forgot configuring in the
server side?

YOUR REPLY IS HIGHLY APPRECIATED


Windows sends the username and password used to log into Windows to any 
network shares.  So you need to sync what the user is using to log into 
windows with the network ones you setup.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Username groups

2008-04-17 Thread Jon Radel
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.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Username groups

2008-04-17 Thread Ruel Luchavez
hey, the username to windows and in my freebsd server is just the same.. I
allready change it many times but still the problem still not solve



On Thu, Apr 17, 2008 at 9:33 PM, Derek Ragona 
[EMAIL PROTECTED] wrote:

  At 05:19 AM 4/17/2008, Ruel Luchavez wrote:

 Hello,

 Can you help me on this...
 I have a directory in the server this is what is looks like
  drwxrwx--- 12 root plusmate 512 April 13 14:46 plusmate shared
 ...this directory is shared in my network, and i dont recieve any complain
 in any user which can acces to that folder/directory

 *My Problem:*
 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.

 Where should be the problem?is there something i forgot configuring in the
 server side?

 YOUR REPLY IS HIGHLY APPRECIATED


 Windows sends the username and password used to log into Windows to any
 network shares.  So you need to sync what the user is using to log into
 windows with the network ones you setup.

 -Derek

 --
 This message has been scanned for viruses and
 dangerous content by *MailScanner* http://www.mailscanner.info/, and is
 believed to be clean.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Username groups

2008-04-17 Thread Ruel Luchavez
Thanks Jon..I finnally solve it, the problem appears on the Samba..

Cheers
best regards...



On Thu, Apr 17, 2008 at 10:00 PM, Jon Radel [EMAIL PROTECTED] wrote:

 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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Username groups

2008-04-17 Thread Jeff Dickens



Ruel Luchavez wrote:

Hello,

Can you help me on this...
I have a directory in the server this is what is looks like
 drwxrwx--- 12 root plusmate 512 April 13 14:46 plusmate shared
...this directory is shared in my network, and i dont recieve any complain
in any user which can acces to that folder/directory

*My Problem:*
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.

Where should be the problem?is there something i forgot configuring in the
server side?

YOUR REPLY IS HIGHLY APPRECIATED
  
  

Perhaps you need to do :

   smbpasswd -a username

?

Depends on the setup.  I gather someone else installed this system.




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]