From owner-freebsd-newbies Tue Aug 25 16:29:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA00466 for freebsd-newbies-outgoing; Tue, 25 Aug 1998 16:29:47 -0700 (PDT) (envelope-from owner-freebsd-newbies@FreeBSD.ORG) Received: from gamma.aei.ca (gamma.aei.ca [206.123.6.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA00413 for ; Tue, 25 Aug 1998 16:29:24 -0700 (PDT) (envelope-from malartre@aei.ca) Received: from aei.ca (aeiusrI-42.aei.ca [206.186.205.192]) by gamma.aei.ca (8.8.5/8.8.5) with ESMTP id TAA06097 for ; Tue, 25 Aug 1998 19:28:31 -0400 (EDT) Message-ID: <35E34040.C7262CFF@aei.ca> Date: Tue, 25 Aug 1998 18:52:48 -0400 From: Malartre X-Mailer: Mozilla 4.06 [en] (X11; I; FreeBSD 2.2.7-RELEASE i386) MIME-Version: 1.0 To: freebsd-newbies@FreeBSD.ORG Subject: Tip #2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Tip #2 I have learned recently than you could change both owner and group owner in a simple command. The normal way to do so would be: $ chown malartre FILE $ chgrp wheel FILE Thats to much long for me ;-) So the solution is: $ chown malartre:wheel FILE ---------- Notes: There is also a BAD WAY to do so: $ chown malartre.wheel BUT DONT USE THAT: because sometimes, it's nice to have a "." in a user name. I have finded the last way (malartre.wheel) in a O'Reilly book, but it seems it's not good to do so. ---------- -- [Malartre][malartre@aei.ca][http://www.aei.ca/~malartre/] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message