set prompt for new users

Matthew Seaman m.seaman at infracaninophile.co.uk
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.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.

PGP: http://www.infracaninophile.co.uk/pgpkey
JID: matthew at infracaninophile.co.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1036 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20140117/b6dd505f/attachment.sig>


More information about the freebsd-questions mailing list