View Full Version : Different Root Password
blvdeast
Apr 27, 2004, 11:25 PM
I am in terminal and need root access, and typed su and was asked for my password. I entered my regular login password (i am admin) and it rejected it. I don't recall using any other password for OSX
HexMonkey
Apr 28, 2004, 03:28 AM
Try using sudo instead.
Nermal
Apr 28, 2004, 05:09 AM
Just to elaborate, the root account is disabled by default. Using the sudo command allows you to run a command with root priveleges, without actually logging in as root (and therefore getting around its disabledness). sudo will ask you for a password too, it wants your regular user password.
crenz
Apr 28, 2004, 06:22 AM
This is very OT, but Nermal, where did you get this quote from?
blvdeast
Apr 28, 2004, 09:41 AM
Sorry to sound like a newbie, but what syntax do I need to use? I used sudo ./FILENAME then enter, entered my regular password, and was told me command was invalid.
jeremy.king
Apr 28, 2004, 09:46 AM
Sorry to sound like a newbie, but what syntax do I need to use? I used sudo ./FILENAME then enter, entered my regular password, and was told me command was invalid.
what exactly are you trying to do? Execute a shell script?
blvdeast
Apr 28, 2004, 09:51 AM
yes
jeremy.king
Apr 28, 2004, 09:58 AM
Then you must make sure that the file has execute permissions.
If you want to do this from terminal you can type
chmod 774 filename
Then you can try to execute it, if you get the same error, its possible the program (or shell script) has commands that the shell or OS X doesn't recognize.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.