Re: pw add?

2003-01-20 Thread Bill Moran
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



Re: pw add?

2003-01-20 Thread Kevin Stevens

On Monday, Jan 20, 2003, at 14:05 US/Pacific, talon wrote:

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

Do I have to hand edit the /etc/group file ?


pw usermod Myaccount -G operator

KeS


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



pw add?

2003-01-20 Thread talon
-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

Do I have to hand edit the /etc/group file ?


Many Thanks Jason
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)
Comment: Signed By Talon With GnuPG

iD8DBQE+LHKxyoJQBYFw6XARAkNVAKCOVC0mtm+ETi00uc7hjgNX01a+jwCdH49/
FCkOFBPIVoeVCgvu4vZm+Ew=
=8Fh/
-END PGP SIGNATURE-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message