From owner-freebsd-questions@FreeBSD.ORG Fri Jan 17 06:39:34 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5F8E84A0 for ; Fri, 17 Jan 2014 06:39:34 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 09F2D134E for ; Fri, 17 Jan 2014 06:39:33 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id s0H6dRsf019624 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 17 Jan 2014 06:39:28 GMT (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk s0H6dRsf019624 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1389940768; bh=OEt2tMqhI5Yv1Lv+1Ypvsfd22/cAmCiQluMTYSBbg6g=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Fri,=2017=20Jan=202014=2006:39:18=20+0000|From:=20Matthew =20Seaman=20|To:=20freebsd-questi ons@freebsd.org|Subject:=20Re:=20set=20prompt=20for=20new=20users| References:=20<52D87D89.1060606@a1poweruser.com>|In-Reply-To:=20<5 2D87D89.1060606@a1poweruser.com>; b=ZTtJS1o9rti8z+5ioT0Yfsg2bCt1lpeFvdXtw/kr7Dj65C7nY5XKPnwe4wZ14Wh9x wo3uZnHNG/H3zWMLLUgerJTo9y1DKTn1G5mCMffDoPMPrIJieCodbG+KDuJPeJ7B/7 0a0astwXjkZHpEAt/wDtFzKOJBhjZmM8AVEMM4h0= Message-ID: <52D8D016.5030004@infracaninophile.co.uk> Date: Fri, 17 Jan 2014 06:39:18 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: set prompt for new users References: <52D87D89.1060606@a1poweruser.com> In-Reply-To: <52D87D89.1060606@a1poweruser.com> X-Enigmail-Version: 1.6 OpenPGP: id=E7F39EBF Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PShvCu5jUPGHNjqBk789NJT5Lgimvc3vI" X-Virus-Scanned: clamav-milter 0.98 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DCC_CHECK,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jan 2014 06:39:34 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --PShvCu5jUPGHNjqBk789NJT5Lgimvc3vI Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 17/01/2014 00:47, Fbsd8 wrote: > What file do I place my new 'set prompt' command in so all newly create= d > users get it? >=20 > I'm running 9.2 and 10.RC4 If you're using pw(8), then the files that get copied into each new user account are in /usr/share/skel -- which file(s) you need to change there depends on which shell(s) your users are using. So edit dot.profile to set a prompt for /bin/sh users or create a dot.tcshrc to add a .tcshrc for /bin/tcsh users. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --PShvCu5jUPGHNjqBk789NJT5Lgimvc3vI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJS2NAeXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATKPgQAKEQnPmTJHd0qR3MVYByZdrW FMlQtwFiWgVjGXaU9vuu9io7X2kIR5tcr2BkLz4KnHW/A0wUFmedcQ8GlBImWvhM X1WWIe0xLxnzKfekDzG8LNS5JjMJGw40x7XNlxxksGpW+TcUBP5cLcz82wez+QTj OM+9767G97zSW3Wljk8c5ZgUdQOjD72Br5Lp+JezanglPfk+cm9LoYnEWj9I7sFu 0Ig6gxENkRf1pcihXotr2E3YogpB821mZldS4wTUj5WAgkx8qqb5oijklSvuG3SK iNjupJv8JwFxAdOlSBTvEDVB+Yyxe/wQ0CUah8eotudRuhFRGgSS1xC86MtHzbKS MUoUCfWmPL1EqA7D247CR2LOLcTvaXGzz4ZPoj1Rf+jM9Y2B3zSMkk44plCYze4F nkfhU/dyai72Go7a3UTr2CFZECWNu3uMW2CbWRANmSJInSgTBYyv9X7Jc35TogGq A54puAOe850rfZ7fBZTGrANNViF36QkHP3bYVF62gdzjztPOIU9AColyy/Tkb0Uf Y20r3XTruXYyKjla7B6R2UbndxZqIhiMzqMG1vvHt6pe5L57kOeDhvZTUk88W9ZY oIGSKMuH2Ork3rSZh1aZee5e3vO0pW5vCjjusWQR1sb9xYEGRrVp7+GZdd7OrkrH cJpRQ/gXvyMW2gnyCash =p2Xk -----END PGP SIGNATURE----- --PShvCu5jUPGHNjqBk789NJT5Lgimvc3vI--