Re: Problem with su -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/06/2012 09:26 AM, Bob Goodwin wrote:
>        Why didn't I think of that? Because I'm trying to do too many
>        things at once, distractions here.
>
>        "Bad" computer, "Good" prompt as user:
>        [bobg@box9 ~]$ set | grep ^PS
>        PS1='[\u@\h \W]\$ '
>        PS2='> '
>        PS4='+ '
>
>        Bad prompt as root:
>        [bobg@box9 ~]$ su
>        Password:
>        bash-4.2# set | grep ^PS
>        PS1='\s-\v\$ '
>        PS2='> '
>        PS4='+ '
>
>        It is different but where does it come from? 

The first question I would ask is do you have a .bash_profile or .bashrc
file in root's home directory that has been modified?

Also, have you done anything to /etc/bashrc ?   I'm fairly certain that
is where the change from PS1='\s-\v\$ '  to PS1='[\u@\h \W]\$ ' should
take place.  I wonder if it is even being sourced, based on the manner
of other problems you've been reporting as of late.

-- 
Do not condemn the judgment of another because it differs from your own.
You may both be wrong. -- Dandemis
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux