Help changing the prompt
freebsd-questions-local at be-well.ilk.org
Mon Aug 25 19:18:18 UTC 2008
Robe <vcrobe at 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
More information about the freebsd-questions