OSXtemp Posted August 5, 2009 Share Posted August 5, 2009 I have been following the Leopard installation guide for my PC with Asus P6T Deluxe MB. Everything goes okay, except for the section about modifying the EFI partition. Those instructions start by having you go to a terminal window, and type "sudo -s". The first thing I get is a password prompt -- my question is, what do I need to enter here? I thought that the password here is the same as your user password; right now, I have been just pressing "Return", as I never created a password for my user account. Anyway, it doesn't seem to work, as I just get back to my usual terminal prompt -- if the sudo was working, wouldn't I get a new prompt (like when you log in as 'su' on UNIX)? Can someone please straighten me out on how this is supposed to work? Thanks in advance. Link to comment https://www.insanelymac.com/forum/topic/178278-question-about-the-sudo-command/ Share on other sites More sharing options...
Spoor Posted August 5, 2009 Share Posted August 5, 2009 I think the sudo command is to make it run the other command as an administrator. Link to comment https://www.insanelymac.com/forum/topic/178278-question-about-the-sudo-command/#findComment-1217371 Share on other sites More sharing options...
OSXtemp Posted August 5, 2009 Author Share Posted August 5, 2009 I think the sudo command is to make it run the other command as an administrator. I am logged in under my user account (no password on that). I have no idea what the sudo password is supposed to be. Link to comment https://www.insanelymac.com/forum/topic/178278-question-about-the-sudo-command/#findComment-1217376 Share on other sites More sharing options...
meteo Posted August 5, 2009 Share Posted August 5, 2009 you're right, the sudo command allows a user to be granted full access to the system. So, you enter your root password, and then "you fall back to the prompt"....in fact, you switch to the root's prompt, and you're almighty. But almighty means also that you can destroy everything in 1 command, so, that's why you have limited power most of the time. When you need to do an administrative job, you become almighty, just for the command, and then, you fall back to normal user. My 2 cents. Link to comment https://www.insanelymac.com/forum/topic/178278-question-about-the-sudo-command/#findComment-1217388 Share on other sites More sharing options...
smcpipint Posted August 5, 2009 Share Posted August 5, 2009 If you enter the wrong password at sudo you see something like: Sorry, try again. Password: Also, if you type exit, and then you get back to a prompt, then you were sudo'd. If you get "logout" and no prompt, you weren't Link to comment https://www.insanelymac.com/forum/topic/178278-question-about-the-sudo-command/#findComment-1217595 Share on other sites More sharing options...
Recommended Posts