Problem with su -

Joe Wulf joe_wulf at yahoo.com
Mon Mar 5 21:30:30 UTC 2012


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 at wildblue.net>
>To: Fedora List <users at lists.fedoraproject.org> 
>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 at box6 ~]$ su
>           Password:
>           [root at 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 at lists.fedoraproject.org
>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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120305/03bc9500/attachment.html>


More information about the users mailing list