PDA

View Full Version : im struggling with terminal




JARm
Oct 20, 2010, 04:52 AM
hi
iv been trying to use the program terminal.
im not to sure what im doing but i got some instruction to follow,
so i followed the instruction to where it say password.
this wht i get:


name$ sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:

i am the administrator of my laptop and i dont have a password!
what can i do?



Queso
Oct 20, 2010, 05:09 AM
Enter your normal user account password again (the one you use to install software). If your account is an admin it is permitted to use sudo, but the computer prompts you as a security measure :)

Guiyon
Oct 20, 2010, 05:14 AM
If you have a blank password you cannot use sudo as it does not accept 0 character passwords.

JARm
Oct 20, 2010, 05:14 AM
Enter your normal user account password again (the one you use to install software). If your account is an admin it is permitted to use sudo, but the computer prompts you as a security measure :)

i dont have a password for when i put programs in!
but when the password thing comes up i press enter n i say its wrong and ask for another!

Queso
Oct 20, 2010, 05:27 AM
i dont have a password for when i put programs in!
but when the password thing comes up i press enter n i say its wrong and ask for another!
Then you need to set one. As Guiyon correctly posted you need a proper password for sudo :)

mac2x
Oct 21, 2010, 01:00 AM
You should have a proper password for your account anyway. ;)