[ https://issues.apache.org/jira/browse/KARAF-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved KARAF-132. ----------------------------------- Resolution: Fixed Fix Version/s: (was: 3.0.2) Assignee: Guillaume Nodet (was: Jean-Baptiste Onofré) Took a simple approach, which is to make the user name configurable. https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commit;h=e5e50310a976cf7a91cba80e656659cbeee39e2b > The user name for the main console session is always "karaf" > ------------------------------------------------------------ > > Key: KARAF-132 > URL: https://issues.apache.org/jira/browse/KARAF-132 > Project: Karaf > Issue Type: Bug > Components: karaf-shell > Affects Versions: 2.2.4 > Reporter: Guillaume Nodet > Assignee: Guillaume Nodet > Fix For: 4.0.0 > > Attachments: patchfile.txt > > > See org.apache.karaf.shell.console.jline.ConsoleFactory#start > {code} > CommandSession session = console.getSession(); > session.put("USER", "karaf"); > session.put("APPLICATION", System.getProperty("karaf.name", > "root")); > session.put("LINES", > Integer.toString(terminal.getTerminalHeight())); > session.put("COLUMNS", > Integer.toString(terminal.getTerminalWidth())); > session.put(".jline.terminal", terminal); > new Thread(console, "Karaf Shell Console Thread").start(); > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)