Bug 1317237

Summary: root output in terminal is too long
Product: [Fedora] Fedora Reporter: aurelien <aurelien>
Component: bashAssignee: David Kaspar // Dee'Kej <deekej>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 23CC: admiller, aurelien, deekej, kdudka, mattias.ellert, ooprala, steve.traylen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-14 09:17:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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