su doesn't work anymore but sudo works

Hi all,

I normally use my standard user account but when I'm installing with macports I routinely "su" into root to do things.

Today I went on my machine and noticed that "su" wouldn't work. Before anyone decides to tell me that I don't need to use "su", I realize that but I use it for my own purposes.

From the system log I am seeing this each time "su" fails:
su[1376]: pam_authenticate: Permission denied

What is interesting is that doing a "sudo su" works, and I'm able to do all of my admin duties that way.

I have a feeling something messed up my bash profile but not totally sure. Has anyone else run into this issue?

MacBook Pro, Mac OS X (10.5.6)

Posted on Feb 26, 2009 9:35 PM

Reply
16 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

su doesn't work anymore but sudo works

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.