talon wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi All
Would someone here be able to tell me how to add
a user to a group using the pw command.
eg I would like to add myself to the operator group
pw usermod username -G operator
Should do the trick
Do I have to hand edit the /etc/group file ?
You can. The /etc/group file is human readable, and requires
no magic when you're done (i.e. it doesn't need compiled or
rehashed or anything) so it's pretty easy to edit group
memberships that way. I'm sure the pw command is the
preferred method, however.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message