Robe <[EMAIL PROTECTED]> 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/
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to