Re: Problem with su -

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

 



On 05/03/12 15:08, jdow wrote:
On 2012/03/05 10:02, Emilio Lopez wrote:
finally settled things seem to work normally except I still get
that strange prompt "bash-4.2#" when it has always been
"[root@box6 bobg]#."

I don't know if that helps but I have seen 'your strange prompt' doing this:

[emilio@mipc]$ su
password:
[root@mipc]# su jhon
bash-4.2#

Emilio

You might dig through your .bashrc, .bash_profile, /etc/bashrc, and /etc/profile to see what has changed. I'd look for the string '\s\v', usually associated with PS1 for the main prompt. But it might be PS2, 3, or 4 depending on the
gods of bash and what you've been doing.

Then investigate why that got changed. (Since it is in your window session there
might even be an /etc/X11 change biting you.)

{^_^}

       I have two computers set up identically and have spent the last
       hour trying to find a difference in the files you mention. If
       there is a dif. I missed it. I do see some stuff in
       /etc/X11/xinit that is dated 3 Mar. which is suspect, but I
       found no difference there yet ...

           [bobg@box9 ~]$ ll /etc/X11/xinit
           total 28
           -rwxr-xr-x. 1 root root 2030 Jul 25  2011 Xclients
           drwxr-xr-x. 2 root root 4096 Jul 25  2011 Xclients.d
           -rwxr-xr-x. 1 root root 1486 Jul 25  2011 xinitrc
           -rw-r--r--. 1 root root 2008 Jul 25  2011 xinitrc-common
           drwxr-xr-x. 2 root root 4096 Mar  3 12:09 xinitrc.d
           drwxr-xr-x. 2 root root 4096 Mar  3 12:09 xinput.d
           lrwxrwxrwx. 1 root root   26 Mar  3 12:09 xinputrc ->
           /etc/alternatives/xinputrc
           -rwxr-xr-x. 1 root root 3547 Jul 25  2011 Xsession

       I'm not certain but I would guess that's when this happened. I
       remeber finding that the XFCE file manager, Thunar, was missing
       and instaling that with yum or yumex, I forget which now, and
       having some trouble, removed and re-installed. That's probably
       when things changed. I shut it down and didn't boot it 'til today.

       Well it's minor, only thing I've found is that "ll" wont work if
       I su to root, have to use ls, that's minor.

       I don't think it's worth a lot of time, I am considering
       replacing that computer with another used one of slightly newer
       vintage. Got to see what FedEx brings ...

       Thanks,

       Bob


--
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