From owner-freebsd-questions@FreeBSD.ORG Tue Sep 6 23:42:58 2011 Return-Path: Delivered-To: Freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C98F1106564A for ; Tue, 6 Sep 2011 23:42:58 +0000 (UTC) (envelope-from jon@radel.com) Received: from wave.radel.com (wave.radel.com [216.143.151.4]) by mx1.freebsd.org (Postfix) with ESMTP id 3459E8FC08 for ; Tue, 6 Sep 2011 23:42:57 +0000 (UTC) Received: by wave.radel.com (CommuniGate Pro PIPE 4.1.6) with PIPE id 10333008; Tue, 06 Sep 2011 19:42:57 -0400 Received: from [192.168.43.221] (account jon@radel.com HELO braeburn.local) by wave.radel.com (CommuniGate Pro SMTP 4.1.6) with ESMTP-TLS id 10333002; Tue, 06 Sep 2011 19:42:42 -0400 Message-ID: <4E66AFF2.3040103@radel.com> Date: Tue, 06 Sep 2011 19:42:42 -0400 From: Jon Radel User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.2.21) Gecko/20110830 Thunderbird/3.1.13 MIME-Version: 1.0 To: Fbsd8 References: <4E6640F0.5060902@a1poweruser.com> <4E664F1C.5050702@infracaninophile.co.uk> <4E66A92C.8030406@a1poweruser.com> In-Reply-To: <4E66A92C.8030406@a1poweruser.com> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms070201050304030701020502" X-Radel.com-MailScanner-Information: Please contact Jon for more information X-Radel.com-MailScanner: Found to be clean X-Mailer: CommuniGate Pro CLI mailer X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Freebsd-questions@freebsd.org Subject: Re: wheel group & mkdir X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2011 23:42:59 -0000 This is a cryptographically signed message in MIME format. --------------ms070201050304030701020502 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable On 9/6/11 7:13 PM, Fbsd8 wrote: > Thanks for your reply. I have a user id that is in the wheel group. I s= u > and get prompted for the user id's password after which I get returned > to the command line. Running the script with the mkdir command embedded= > still returns Permission Denied message. I have read the su man page to= > no joy. Could you please explain the sequence of events to get su to wo= rk. Since you're the one having the issue you wish to have resolved, you=20 might want to take it upon yourself to tell us *exactly* what you're=20 typing, what the results are, and what you'd prefer to have happen=20 instead. We can guess what you're doing when you say "I su and get=20 prompted for the user id's password after which I get returned to the=20 command line," but given the root problem is that you don't fully=20 understand the su command, it's hard to be certain what you mean by that.= Going out on a limb, however, I'll point out that, when you're logged in = as fred su - fred doesn't do much for you as you remain fred, whereas, what was meant in=20 the suggestion to you was something more along the lines of su - which, if you enter root's password, leaves you as root. (Or gives you=20 a shell with root's privileges to be a bit more precise.) But, again, I'd suggest that this would go faster if you provide what=20 you're doing and what the results are rather than what you think you're=20 doing and what you think the results mean. To recap: Cut and paste what's actually happening, not your summary of sa= me. --=20 --Jon Radel jon@radel.com --------------ms070201050304030701020502--