Re: Problem with su -



One other thing to check is your NFS mts.  I've seen occasions where one would ssh to another box, or su to another user, and when applicable NFS mounts of home directories were missing and unable to be mounted for some reason, then the bland prompt was what bash resorted to, so as to give you 'something' for a prompt.  It does seem strange that this occurs when you su to root.  Possibly some script for you, and/or root is working to unmount your home directory during the transistion to root?  what does 'alias su', 'which su', 'ls -l /bin/su', 'file /bin/su' and 'md5sum /bin/su' show?  If your system hasn't been compromised, you should see the same results on your problem system (box6?) as you do on others that aren't giving you fits.  What about 'mount' and 'df -h'?  Are those reasonable, too?  Are NFS exports (of home directories, if you are doing such) still being exported?  What about the mount on the malpheasant client?


Just food for thought and a shot in the dark.

R,
-Joe




________________________________
From: Bob Goodwin <bobgoodwin@xxxxxxxxxxxx>
To: Fedora List <users@xxxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, March 5, 2012 9:39 AM
Subject: Problem with su -

      I have an F-16 computer that was working normally a couple of
      days ago when run this morning has an unusual [to me] problem.

      When I su and type in the root password form the XCFE desktop it
      spends about 20 seconds before displaying a prompt and then
      instead of:

          [bobg@box6 ~]$ su
          Password:
          [root@box6 bobg]# exit


      I get a prompt:  bash-4.2#

      If instead of bringing up the desktop with startx I "su" it
      changes to root quickly after entering the password, also with
      the  prompt "bash-4.2#."

      Other than that it apparently works? But obviously something has
      changed and I can't guess what?

      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


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


Relevant Pages

  • Re: Problem with an external usb HD - slow usb
    ... To unsubscribe or change subscription options: ... Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines ...
    (Fedora)
  • Re: failed to ..
    ...   create static device modes in /dev ... To unsubscribe or change subscription options: ... Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct ... Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines ...
    (Fedora)
  • Re: changing permissions for mounted drives
    ... To unsubscribe or change subscription options: ... Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines ...
    (Fedora)
  • Re: How to sort by date in descending order
    ... To unsubscribe or change subscription options: ... Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines ...
    (Fedora)
  • Re: recommendations on how to recover a corrupted, LVM-based hard drive?
    ... They have been working on Linux oriented tools, though I've purchased and extensively used the window-related tools with stellar success. ...   long story short, a 750G drive which *used* to be the primary drive ... To unsubscribe or change subscription options: ... Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct ...
    (Fedora)