Date: Mon, 25 Aug 2008 15:18:17 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Robe <vcrobe@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Help changing the prompt Message-ID: <44iqtolx8m.fsf@be-well.ilk.org> In-Reply-To: <221c791e0808250832j3fb88887m6d7155052f45c5ff@mail.gmail.com> (Robe's message of "Mon\, 25 Aug 2008 10\:32\:22 -0500") References: <221c791e0808250832j3fb88887m6d7155052f45c5ff@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Robe <vcrobe@gmail.com> writes: > Hi there, > > I'm trying to change the prompt in the *text (console) mode* for a > restricted user with a statement like this > > set prompt = "%~> " > > But it doesn't work. And when I type *set* I see _ = "%~> " instead prompt = > "%~> " > > However when I do it logged as a root it works. > > Can someone help me with this? Sounds like your user is using a different shell than root is. Try "finger <user>" to find out what shell it is using (probably the Bourne Shell, /bin/sh), and check the documentation for the shell (if it's /bin/sh, see the manual with "man sh"). Or change the user's shell (e.g., with "chsh"). -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44iqtolx8m.fsf>