From owner-freebsd-security Wed Nov 13 21:49:53 2002 Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17BD837B401 for ; Wed, 13 Nov 2002 21:49:51 -0800 (PST) Received: from mordrede.visionsix.com (mordrede.visionsix.com [65.202.119.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DD9743E77 for ; Wed, 13 Nov 2002 21:49:50 -0800 (PST) (envelope-from lists@visionsix.com) Received: from yogi (unverified [65.202.119.169]) by mordrede.visionsix.com (Vircom SMTPRS 1.4.232) with SMTP id ; Wed, 13 Nov 2002 23:49:47 -0600 Message-ID: <009f01c28ba1$310fa6a0$a977ca41@yogi> From: "Lewis Watson" To: "Kirk Bailey" , References: <3DD32C5A.9784D742@netzero.net> Subject: Re: list scripts, permissions, and ownerships. Date: Wed, 13 Nov 2002 23:46:34 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org ----- Original Message ----- From: "Kirk Bailey" To: Sent: Wednesday, November 13, 2002 10:53 PM Subject: list scripts, permissions, and ownerships. > First, how to I get a script to discover what identity it is running as? > > > Respectfully, > Kirk D Bailey Hi Kirk. I can help with this one.... put the command 'whoami' into the script..... hth, Lewis Watson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message