View previous topic :: View next topic |
Author |
Message |
Il Falco n00b

Joined: 02 Jul 2010 Posts: 4
|
Posted: Fri Jul 02, 2010 12:17 pm Post subject: password |
|
|
hi all i just fall inside a trouble! i lost my login password so i cannot login into the system
i state that i cannot format and relog 'cause of the partition is plenty of important files (argh my degree!!)
can i avoid this?ù
thx in advance |
|
Back to top |
|
 |
d2_racing Bodhisattva


Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Fri Jul 02, 2010 1:02 pm Post subject: |
|
|
Simple, boot with the latest SystemRescueCD, chroot your box and then try this :
Change it, and do the necessary to dechroot and reboot your box  |
|
Back to top |
|
 |
krinn Watchman


Joined: 02 May 2003 Posts: 7475
|
Posted: Fri Jul 02, 2010 1:14 pm Post subject: |
|
|
booting the livecd just to change a user password would be like using a canon to remove a spider
- just ctrl+alt+f1 log as root, then passwd user to change it
- ask your admin for a new password if you're not the admin |
|
Back to top |
|
 |
Etal Veteran


Joined: 15 Jul 2005 Posts: 1932
|
Posted: Fri Jul 02, 2010 2:18 pm Post subject: |
|
|
You can also boot up into single-user mode (if you remember your bootloader password or have it unset), which will give you root access. |
|
Back to top |
|
 |
d2_racing Bodhisattva


Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sat Jul 03, 2010 3:47 am Post subject: |
|
|
He didn't specify which account he lost, maybe it's his root account  |
|
Back to top |
|
 |
cach0rr0 Bodhisattva


Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Sat Jul 03, 2010 9:08 am Post subject: |
|
|
d2_racing wrote: | He didn't specify which account he lost, maybe it's his root account  |
++
bypassing it all with sysrescuecd is very quick and easy. It is one of many reasons why i keep a liveusb of sysrescuecd on my keychain with my car and house keys! _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
 |
SamuliSuominen Retired Dev

Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Sat Jul 03, 2010 9:18 am Post subject: |
|
|
From grub's menu in boot, get into grub's command line and boot the kernel with init=/bin/sh and remount your / as writable, then change the passwd from there.
No CDs required. |
|
Back to top |
|
 |
cach0rr0 Bodhisattva


Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Sat Jul 03, 2010 9:22 am Post subject: |
|
|
ssuominen wrote: | From grub's menu in boot, get into grub's command line and boot the kernel with init=/bin/sh and remount your / as writable, then change the passwd from there.
No CDs required. |
functionally is that any different from booting in single-user mode? _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
 |
d2_racing Bodhisattva


Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sat Jul 03, 2010 7:59 pm Post subject: |
|
|
I don't think so. |
|
Back to top |
|
 |
|