Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mac57mac57

macrumors 6502a
Original poster
Hi, amidst all the work I have been doing to get MacPorts running on my PowerMac G5 with Sorbet, I find myself crashing through build directories, changing scripts, etc. Almost all of it requires sudo. At once point I thought to just issue "su" and just work as root... faster and easier.

I am not a "greenie"... I understand the security implications of working this way... so I would prefer not to see a bucket of responses on that theme.

When is issued the command "su", I was of course immediately confronted with a request for the root account password. I have NO idea what the root password is in Sorbet. @z970 , I am going to guess that you would know, since you are the motive force behind Sorbet. Can you share that password here? If you would prefer to keep it private, can you private message here me with it? Thanks!
 
When you are asked for a password in the terminal, then use your admin password (the same one that you use for any such use). It will be the same one you use to log in to your user account, and the same password that you use for installing software that requires a password.
Don't forget that a password in the terminal will not display anything as you type, just type your admin password, and press enter. The terminal will accept it.
 
I am having the same issue.
for login the password was sorbet, I changed but same issue. I only have my account and it is stated as admin.
 
answering to my own problem, using chatgpt solved the issue

1️⃣ Boot to

Single User Mode

Hold Cmd + S
sh
/sbin/mount -uw /

chown root:wheel /opt/local/bin/sudo
chmod 4755 /opt/local/bin/sudo

reboot
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.