sudo password
how to get sudo password? login not working for password
|
Welcome to LQ
The password is the password of the user. Code:
sudo command Quote:
Kind regards |
thought sudo password was the login password
|
Quote:
|
Sudo doesn't have a password. Sudo will prompt you for a password, which will belong to one of two user accounts, depending on how you've configured it:
- root's password - your password |
Hmmm... Never thought it was so confusing to explain, but...
My :twocents: When you logged in to the system you used a password to access your account. Use the same password with sudo to allow you to have temporary root privileges. Does that make sense? Play Bonny! :hattip: |
Ubuntu uses same password for sudo required to normally login to system. For example if you login to Ubuntu with password "1234" you use same pass to run anything as root. Just do "sudo command" then when asked for password enter "1234"(without "") to execute with administrator rights. Alternative you may try just "su"+enter then "(password)"+enter then command without sudo prefix(i prefer this) but i forgot if this method works for ubuntu..
|
There's no "sudo password", but "sudo privileges" for users and groups. As root, you can view /etc/sudoers (only for viewing) and change with "visudo" command. The sudoers man page explains how to set privileges.
Then, the default setting in ubuntu is that the user that is created at installation time (id 1000), is member of the admin group, and this group is allowed to run ALL commands as any user via sudo, but asking the password (the NOPASSWD: param is not set) every time (if the default 15 minutes grace time has been exceeded from the previous run of sudo). You can also take a more complex description as any user by running "man sudo". |
Quote:
If you are not getting any text showing while you try to type the pass ... That's normal ... So don't freak out and push a bunch of buttons, or try to retype over and over (I did). When it's displayed in the terminal it'll look like this: Code:
you@computer:$ sudo -l As I stated, This is what confused me, because I didn't know (I just though I did it wrong or terminal was broken :p ) ... and if this wasn't the issue you where having, Just forget I said anything. Best of luck! |
paint a picture, please...
BC: can you tell us what exactly you are doing, and what seems not to work?
|
All times are GMT -5. The time now is 03:43 AM. |