Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › sudo will not take my password
New Posts  All Forums:Forum Nav:

sudo will not take my password

post #1 of 13
Thread Starter 
so for sum reason I can not get sudo or and root programs to work because sudo will mot take my root password
confused.gifconfused.gifsozo.gif
I can not login as root ether

is there a way to fix this
OoGhiJ MIQtxxXA
(13 items)
 
  
CPUMotherboardGraphicsRAM
q9550 E0 @3.825ghz Abit IX48-GT3 Tigerforce SPARKLE GTX470 850c/1800m 220 650c sli later 4GB DDR3 Mushkin blackline 7-8-7-24-1T 1200mhz 
Hard DriveOptical DriveOSMonitor
WD1tb +WD500gb +WD200gb not like I need one edge linux LG 22" w2240 +optiquest q71 
KeyboardPowerCaseMouse
Adesso MKB-135B Mechanical DELTA GPS-750B A 750w sleeved moded Kandalf LCS Razer Mamba 
Mouse Pad
don't got one or need one 
  hide details  
Reply
OoGhiJ MIQtxxXA
(13 items)
 
  
CPUMotherboardGraphicsRAM
q9550 E0 @3.825ghz Abit IX48-GT3 Tigerforce SPARKLE GTX470 850c/1800m 220 650c sli later 4GB DDR3 Mushkin blackline 7-8-7-24-1T 1200mhz 
Hard DriveOptical DriveOSMonitor
WD1tb +WD500gb +WD200gb not like I need one edge linux LG 22" w2240 +optiquest q71 
KeyboardPowerCaseMouse
Adesso MKB-135B Mechanical DELTA GPS-750B A 750w sleeved moded Kandalf LCS Razer Mamba 
Mouse Pad
don't got one or need one 
  hide details  
Reply
post #2 of 13
Quote:
Originally Posted by 3dfxvoodoo;12501775 
so for sum reason I can not get sudo or and root programs to work because sudo will mot take my root password
confused.gifconfused.gifsozo.gif
I can not login as root ether

is there a way to fix this

Sudo is your own password, not the root password.

For example, for user joe who has sudo privilages. His password is "overclock".

joe@computer:~$ sudo commandX
[sudo]Password: *type the password*
..... And so on.

Just in case you were not clear, when you type your password in the terminal for sudo or whatever, there will be no visual feedback in your terminal that you are entering your password. This is normal.

Scott
Blackout
(26 items)
 
  
CPUMotherboardGraphicsGraphics
Intel Core i7 930 EVGA 132-BL-E758 EVGA GeForce GTX 295 Co-op Edition BFG GeForce GTX 275 
RAMHard DriveHard DriveHard Drive
Super Talent Chrome (Eplida Hypers) WD Caviar Black 1TB Caviar Blue Kingston SSDnow V-Series  
Optical DriveCoolingCoolingCooling
Sony Optiarc DVD w/ Lightscribe EK Supreme HF Full Gold CPU Waterblock Hardware Labs Black Ice GTX 360 Radiator  Gentle Typhonn AP-15 
CoolingCoolingCoolingCooling
Black Primochill 1/2" ID 3/4" OD tubing Swiftech MCP35X Pump/HS/Resevoir combo  Swiftech Epsilon Full Cover GTX 295 Block Swiftech Komodo Full Cover GTX 275 Block 
OSOSMonitorMonitor
Arch Linux 64-bit Windows 7 64-bit Professional Dell U2311 A01 Dell 1905FP 
KeyboardPowerCaseMouse
IBM Model M Corsair TX850 V2 ABS Canyon 595 Logitech G500 
Mouse PadAudio
Razer Destructor Dell 2.1 Speakers  
  hide details  
Reply
Blackout
(26 items)
 
  
CPUMotherboardGraphicsGraphics
Intel Core i7 930 EVGA 132-BL-E758 EVGA GeForce GTX 295 Co-op Edition BFG GeForce GTX 275 
RAMHard DriveHard DriveHard Drive
Super Talent Chrome (Eplida Hypers) WD Caviar Black 1TB Caviar Blue Kingston SSDnow V-Series  
Optical DriveCoolingCoolingCooling
Sony Optiarc DVD w/ Lightscribe EK Supreme HF Full Gold CPU Waterblock Hardware Labs Black Ice GTX 360 Radiator  Gentle Typhonn AP-15 
CoolingCoolingCoolingCooling
Black Primochill 1/2" ID 3/4" OD tubing Swiftech MCP35X Pump/HS/Resevoir combo  Swiftech Epsilon Full Cover GTX 295 Block Swiftech Komodo Full Cover GTX 275 Block 
OSOSMonitorMonitor
Arch Linux 64-bit Windows 7 64-bit Professional Dell U2311 A01 Dell 1905FP 
KeyboardPowerCaseMouse
IBM Model M Corsair TX850 V2 ABS Canyon 595 Logitech G500 
Mouse PadAudio
Razer Destructor Dell 2.1 Speakers  
  hide details  
Reply
post #3 of 13
Thread Starter 
Quote:
Originally Posted by ArchLinuxFTW;12501850 
Sudo is your own password, not the root password.

For example, for user joe who has sudo privilages. His password is "overclock".

joe@computer:~$ sudo commandX
[sudo]Password: *type the password*
..... And so on.

Just in case you were not clear, when you type your password in the terminal for sudo or whatever, there will be no visual feedback in your terminal that you are entering your password. This is normal.

Scott
I know how to use sudo

when I go to do sonthng that needs sudo it tells me to try again

I am typing it right , I'm 100% sure of it
OoGhiJ MIQtxxXA
(13 items)
 
  
CPUMotherboardGraphicsRAM
q9550 E0 @3.825ghz Abit IX48-GT3 Tigerforce SPARKLE GTX470 850c/1800m 220 650c sli later 4GB DDR3 Mushkin blackline 7-8-7-24-1T 1200mhz 
Hard DriveOptical DriveOSMonitor
WD1tb +WD500gb +WD200gb not like I need one edge linux LG 22" w2240 +optiquest q71 
KeyboardPowerCaseMouse
Adesso MKB-135B Mechanical DELTA GPS-750B A 750w sleeved moded Kandalf LCS Razer Mamba 
Mouse Pad
don't got one or need one 
  hide details  
Reply
OoGhiJ MIQtxxXA
(13 items)
 
  
CPUMotherboardGraphicsRAM
q9550 E0 @3.825ghz Abit IX48-GT3 Tigerforce SPARKLE GTX470 850c/1800m 220 650c sli later 4GB DDR3 Mushkin blackline 7-8-7-24-1T 1200mhz 
Hard DriveOptical DriveOSMonitor
WD1tb +WD500gb +WD200gb not like I need one edge linux LG 22" w2240 +optiquest q71 
KeyboardPowerCaseMouse
Adesso MKB-135B Mechanical DELTA GPS-750B A 750w sleeved moded Kandalf LCS Razer Mamba 
Mouse Pad
don't got one or need one 
  hide details  
Reply
post #4 of 13
Thread Starter 
think I found my problem
sum folders in my /home dir are looked

I can fix this

for sum reason the owner of p2p is "vboxguest - added by portage for virtualbox-guest-additions"

that or "root"
that I can see but the vbox thing I don't get
don't even have it on my pc
Edited by 3dfxvoodoo - 2/23/11 at 6:28pm
OoGhiJ MIQtxxXA
(13 items)
 
  
CPUMotherboardGraphicsRAM
q9550 E0 @3.825ghz Abit IX48-GT3 Tigerforce SPARKLE GTX470 850c/1800m 220 650c sli later 4GB DDR3 Mushkin blackline 7-8-7-24-1T 1200mhz 
Hard DriveOptical DriveOSMonitor
WD1tb +WD500gb +WD200gb not like I need one edge linux LG 22" w2240 +optiquest q71 
KeyboardPowerCaseMouse
Adesso MKB-135B Mechanical DELTA GPS-750B A 750w sleeved moded Kandalf LCS Razer Mamba 
Mouse Pad
don't got one or need one 
  hide details  
Reply
OoGhiJ MIQtxxXA
(13 items)
 
  
CPUMotherboardGraphicsRAM
q9550 E0 @3.825ghz Abit IX48-GT3 Tigerforce SPARKLE GTX470 850c/1800m 220 650c sli later 4GB DDR3 Mushkin blackline 7-8-7-24-1T 1200mhz 
Hard DriveOptical DriveOSMonitor
WD1tb +WD500gb +WD200gb not like I need one edge linux LG 22" w2240 +optiquest q71 
KeyboardPowerCaseMouse
Adesso MKB-135B Mechanical DELTA GPS-750B A 750w sleeved moded Kandalf LCS Razer Mamba 
Mouse Pad
don't got one or need one 
  hide details  
Reply
post #5 of 13
reboot your system, choose recovery mode, at the recover screen choose

netroot "drop to root shel prompt with networking"

at the command line type:

passwd
enter new password:
confirm new password:
sync //maybe not needed?
reboot -f
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #6 of 13
if all else fails and you are on the verge of drop kicking a small child

you CAN copy hashed passwords from one account into the same field on another account inside your account info file and that does work smile.gif

so if your user password still works... you can boot from a live disc, open up your password file (cant remember exactly where the damn thing is off the top of my head this very second as im slightly tired) copy the second field, past it into the second field next to your root account, and your root password should now be the same as your user password

if the password field is an X then its using a shadow password file though, and idk about that... think most distros do that now >_>

yes this is probably a difficult way around the problem, but its probably more fun lol
Kinda meh now...
(13 items)
 
  
CPUMotherboardGraphicsRAM
PhII 940 BE asus M4N82 Deluxe 2x 8800gts(g92) 2x 1g ocz ddr2 1066 
Hard DriveOptical DriveOSMonitor
/dev/sd[abc] /dev/sr0 WinXP/Linux 22in acer 
PowerCaseMouseMouse Pad
950w rosewill timebomb Antec 900 (2small) Voodoo Deathadder (RED!) X-Trac Pads Ripper XL 
  hide details  
Reply
Kinda meh now...
(13 items)
 
  
CPUMotherboardGraphicsRAM
PhII 940 BE asus M4N82 Deluxe 2x 8800gts(g92) 2x 1g ocz ddr2 1066 
Hard DriveOptical DriveOSMonitor
/dev/sd[abc] /dev/sr0 WinXP/Linux 22in acer 
PowerCaseMouseMouse Pad
950w rosewill timebomb Antec 900 (2small) Voodoo Deathadder (RED!) X-Trac Pads Ripper XL 
  hide details  
Reply
post #7 of 13
Thread Starter 
Quote:
Originally Posted by EntTheGod;12503841 
if all else fails and you are on the verge of drop kicking a small child

you CAN copy hashed passwords from one account into the same field on another account inside your account info file and that does work smile.gif

so if your user password still works... you can boot from a live disc, open up your password file (cant remember exactly where the damn thing is off the top of my head this very second as im slightly tired) copy the second field, past it into the second field next to your root account, and your root password should now be the same as your user password

if the password field is an X then its using a shadow password file though, and idk about that... think most distros do that now >_>

yes this is probably a difficult way around the problem, but its probably more fun lol

headscratch.gif
OoGhiJ MIQtxxXA
(13 items)
 
  
CPUMotherboardGraphicsRAM
q9550 E0 @3.825ghz Abit IX48-GT3 Tigerforce SPARKLE GTX470 850c/1800m 220 650c sli later 4GB DDR3 Mushkin blackline 7-8-7-24-1T 1200mhz 
Hard DriveOptical DriveOSMonitor
WD1tb +WD500gb +WD200gb not like I need one edge linux LG 22" w2240 +optiquest q71 
KeyboardPowerCaseMouse
Adesso MKB-135B Mechanical DELTA GPS-750B A 750w sleeved moded Kandalf LCS Razer Mamba 
Mouse Pad
don't got one or need one 
  hide details  
Reply
OoGhiJ MIQtxxXA
(13 items)
 
  
CPUMotherboardGraphicsRAM
q9550 E0 @3.825ghz Abit IX48-GT3 Tigerforce SPARKLE GTX470 850c/1800m 220 650c sli later 4GB DDR3 Mushkin blackline 7-8-7-24-1T 1200mhz 
Hard DriveOptical DriveOSMonitor
WD1tb +WD500gb +WD200gb not like I need one edge linux LG 22" w2240 +optiquest q71 
KeyboardPowerCaseMouse
Adesso MKB-135B Mechanical DELTA GPS-750B A 750w sleeved moded Kandalf LCS Razer Mamba 
Mouse Pad
don't got one or need one 
  hide details  
Reply
post #8 of 13
Thread Starter 
isn't the root password stored in the MBR
I did wipe them out by mistake the rewrighted it
OoGhiJ MIQtxxXA
(13 items)
 
  
CPUMotherboardGraphicsRAM
q9550 E0 @3.825ghz Abit IX48-GT3 Tigerforce SPARKLE GTX470 850c/1800m 220 650c sli later 4GB DDR3 Mushkin blackline 7-8-7-24-1T 1200mhz 
Hard DriveOptical DriveOSMonitor
WD1tb +WD500gb +WD200gb not like I need one edge linux LG 22" w2240 +optiquest q71 
KeyboardPowerCaseMouse
Adesso MKB-135B Mechanical DELTA GPS-750B A 750w sleeved moded Kandalf LCS Razer Mamba 
Mouse Pad
don't got one or need one 
  hide details  
Reply
OoGhiJ MIQtxxXA
(13 items)
 
  
CPUMotherboardGraphicsRAM
q9550 E0 @3.825ghz Abit IX48-GT3 Tigerforce SPARKLE GTX470 850c/1800m 220 650c sli later 4GB DDR3 Mushkin blackline 7-8-7-24-1T 1200mhz 
Hard DriveOptical DriveOSMonitor
WD1tb +WD500gb +WD200gb not like I need one edge linux LG 22" w2240 +optiquest q71 
KeyboardPowerCaseMouse
Adesso MKB-135B Mechanical DELTA GPS-750B A 750w sleeved moded Kandalf LCS Razer Mamba 
Mouse Pad
don't got one or need one 
  hide details  
Reply
post #9 of 13
Thread Starter 
got it my root password is blank
not the word blank
I have no root password
OoGhiJ MIQtxxXA
(13 items)
 
  
CPUMotherboardGraphicsRAM
q9550 E0 @3.825ghz Abit IX48-GT3 Tigerforce SPARKLE GTX470 850c/1800m 220 650c sli later 4GB DDR3 Mushkin blackline 7-8-7-24-1T 1200mhz 
Hard DriveOptical DriveOSMonitor
WD1tb +WD500gb +WD200gb not like I need one edge linux LG 22" w2240 +optiquest q71 
KeyboardPowerCaseMouse
Adesso MKB-135B Mechanical DELTA GPS-750B A 750w sleeved moded Kandalf LCS Razer Mamba 
Mouse Pad
don't got one or need one 
  hide details  
Reply
OoGhiJ MIQtxxXA
(13 items)
 
  
CPUMotherboardGraphicsRAM
q9550 E0 @3.825ghz Abit IX48-GT3 Tigerforce SPARKLE GTX470 850c/1800m 220 650c sli later 4GB DDR3 Mushkin blackline 7-8-7-24-1T 1200mhz 
Hard DriveOptical DriveOSMonitor
WD1tb +WD500gb +WD200gb not like I need one edge linux LG 22" w2240 +optiquest q71 
KeyboardPowerCaseMouse
Adesso MKB-135B Mechanical DELTA GPS-750B A 750w sleeved moded Kandalf LCS Razer Mamba 
Mouse Pad
don't got one or need one 
  hide details  
Reply
post #10 of 13
Quote:
Originally Posted by 3dfxvoodoo;12510702 
got it my root password is blank
not the word blank
I have no root password

does that still offer security in linux?

i know in windows it wont allow any type of remote access with the absence of a password, so its the most secure way to do your admin stuff if you are confident in your physical security of the computer...

is it the same in linux?
Kinda meh now...
(13 items)
 
  
CPUMotherboardGraphicsRAM
PhII 940 BE asus M4N82 Deluxe 2x 8800gts(g92) 2x 1g ocz ddr2 1066 
Hard DriveOptical DriveOSMonitor
/dev/sd[abc] /dev/sr0 WinXP/Linux 22in acer 
PowerCaseMouseMouse Pad
950w rosewill timebomb Antec 900 (2small) Voodoo Deathadder (RED!) X-Trac Pads Ripper XL 
  hide details  
Reply
Kinda meh now...
(13 items)
 
  
CPUMotherboardGraphicsRAM
PhII 940 BE asus M4N82 Deluxe 2x 8800gts(g92) 2x 1g ocz ddr2 1066 
Hard DriveOptical DriveOSMonitor
/dev/sd[abc] /dev/sr0 WinXP/Linux 22in acer 
PowerCaseMouseMouse Pad
950w rosewill timebomb Antec 900 (2small) Voodoo Deathadder (RED!) X-Trac Pads Ripper XL 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › sudo will not take my password