Customize root prompt

Nick ! kousue at gmail.com
Thu Mar 29 06:57:33 PDT 2007


On 3/29/07, Alfredo Perez <alfredoj69 at rogers.com> wrote:
> Hello there
>
> I am been trying to customize my own root promt
> but no suuccess.
>
> I made a new .kshrc in the root's home.
> I have updated the root .profile to include "export ENV=$HOME/.kshrc"
> I have changed the file /etc/ksh.kshrc
>
> None of the above have given me good results.
>
> Can anybody point me to the right direction?

What did you put in the kshrc files?
Are you sure they are being run when you think they are being run? Try
putting echo statements in them.
Can the root prompt even be customized? I can imagine it might be
immutable for security-against-social-engineering reasons.

-Nick


More information about the Openbsd-newbies mailing list