Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2014 06:39:18 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: set prompt for new users
Message-ID:  <52D8D016.5030004@infracaninophile.co.uk>
In-Reply-To: <52D87D89.1060606@a1poweruser.com>
References:  <52D87D89.1060606@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52D8D016.5030004>