You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by rcbandit <pe...@gmail.com> on 2016/08/17 08:01:53 UTC

Change default console text karaf@root()>

How I can change default console text karaf@root()> in Karaf's shell? I would
like to change the text "karaf" with my own text.



--
View this message in context: http://karaf.922171.n3.nabble.com/Change-default-console-text-karaf-root-tp4047564.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Re: Change default console text karaf@root()>

Posted by Christian Schneider <ch...@die-schneider.net>.
karaf is the user name. You can use a different user for the local shell 
by setting the system property
karaf.local.user.

Remember though that you have to make sure the different user then has 
the correct permissions.

Christian

On 17.08.2016 10:01, rcbandit wrote:
> How I can change default console text karaf@root()> in Karaf's shell? I would
> like to change the text "karaf" with my own text.
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Change-default-console-text-karaf-root-tp4047564.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.


-- 
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com


Re: Change default console text karaf@root()>

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi

Take a look on the documentation about branding.

You can change the prompt in the branding.properties using pattern.

Regards
JB



On Aug 17, 2016, 09:02, at 09:02, rcbandit <pe...@gmail.com> wrote:
>How I can change default console text karaf@root()> in Karaf's shell? I
>would
>like to change the text "karaf" with my own text.
>
>
>
>--
>View this message in context:
>http://karaf.922171.n3.nabble.com/Change-default-console-text-karaf-root-tp4047564.html
>Sent from the Karaf - Dev mailing list archive at Nabble.com.