Date: Sat, 12 Jun 2004 00:46:06 -0400 From: "Charles J. Gaush" <cgaush@earthlink.net> To: LW Ellis <lwellis@mindspring.com> Cc: freebsd-questions@freebsd.org Subject: Re: (add new users & groups) Message-ID: <40CA8A8E.4030001@earthlink.net> In-Reply-To: <007501c45020$f40d62b0$0200a8c0@LLAPTOP> References: <004f01c4501c$6481c8b0$0200a8c0@LLAPTOP> <40CA60D7.1020504@users.sourceforge.net> <007501c45020$f40d62b0$0200a8c0@LLAPTOP>
next in thread | previous in thread | raw e-mail | index | archive | help
LW Ellis wrote: > I'm not clear on the Unix group/user setup >>From what I have read, FreeBSD will place users in a default group > Do I need a group? I will have about 6 users (not all at once) > DO I add a group before users? > Will it be to my benefit down the road to make a group now? Every user will be in a group-- by default, the group will have the same name as the user (his own group). You can add and modify users and groups through the pw command, the grand unified user and group management tool ("man pw" for more info). Adding a user to a group is as easy as pw groupmod -m [username] or tacking the user's name onto the end of the group in /etc/group, e.g.: wheel:*:0:root,user1,user2,... To add a group and populate it with existing members: pw groupadd [groupname] -M [user1 user2 ...] CG
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40CA8A8E.4030001>