set prompt for new users

Matthew Seaman m.seaman at
Fri Jan 17 06:39:34 UTC 2014

On 17/01/2014 00:47, Fbsd8 wrote:
> What file do I place my new 'set prompt' command in so all newly created
> users get it?
> 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.



Dr Matthew J Seaman MA, D.Phil.

JID: matthew at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1036 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the freebsd-questions mailing list