Bug 1317237 - root output in terminal is too long
Summary: root output in terminal is too long
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: bash
Version: 23
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: David Kaspar // Dee'Kej
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-13 09:16 UTC by aurelien
Modified: 2016-03-14 09:17 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-14 09:17:15 UTC
Type: Bug


Attachments (Terms of Use)

Description aurelien 2016-03-13 09:16:39 UTC
Description of problem:
the user output is: aurelien@bigfoot:~$
the root output is: aurelien@bigfoot:/home/aurelien[root@bigfoot aurelien]#

That is on xterm and gnome terminal using bash


Version-Release number of selected component (if applicable):


How reproducible: su on fedora 23 workstation


Steps to Reproduce:
1. su
2.
3.

Actual results:
aurelien@bigfoot:/home/aurelien[root@bigfoot aurelien]# 

Expected results:
[root@bigfoot aurelien]#
or just
root@bigfoot:/# 

Additional info:
just that it get lots of space in the output

Comment 1 Mattias Ellert 2016-03-14 08:31:46 UTC
Hi!

I think you have reported this issue to the wrong package. The root package is not responsible for setting the shell prompt when logging in as the root user.

The root package is the numerical analysis framework developed at CERN: http://root.cern.ch

I reassign this to bash since this is my best guess. If this is not correct, please hand it over to whoever you think is responsible.

Comment 2 Kamil Dudka 2016-03-14 09:10:26 UTC
This does not look like the default configuration of bash.  Please provide the output of the following command:

# echo $SHELL $PS1 $PROMPT_COMMAND

Comment 3 aurelien 2016-03-14 09:17:15 UTC
Got it!
Thanks ... it comes from a mix of I made in the .bashrc years after years!
sorry for the disturb


Note You need to log in before you can comment on or make changes to this bug.