 |
29-01-2007, 03:08 PM
|
#1 (permalink)
|
|
Resident Fanatic
Join Date: Jul 2006
Location: /Milky way/earth/india/
Posts: 911
|
Forgotten Username & Password
Guys i hav forgotten Suse 10.2's Username and password.
Anyway to sort it out, without installing it again for 1.5 hours???
__________________
----------
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
29-01-2007, 03:45 PM
|
#2 (permalink)
|
|
String Phreak
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
|
Re: Forgotten Username & Password
__________________
Bad Bad server.....No candy for u!
|
|
|
29-01-2007, 03:57 PM
|
#3 (permalink)
|
|
Resident Fanatic
Join Date: Jul 2006
Location: /Milky way/earth/india/
Posts: 911
|
Re: Forgotten Username & Password
I dont hav even GRUB or LILO Installed
__________________
----------
|
|
|
29-01-2007, 04:24 PM
|
#4 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Forgotten Username & Password
Then how do you boot?
Renistall grub/lilo, whichever you prefer.
One way is boot from a live cd, give the following command in the terminal
Code:
sudo mkdir /mnt/linux
sudo mount -t ext3 /dev/hda1 /mnt/linux
sudo chroot /mnt/linux /bin/bash
grub-install /dev/hda1
sudo passwd <username>
(now you will be prompted to type your password, twice)
In the above replace /dev/hda1 with whatever your / partition is and <username> with the username. And if you are using filesystem other than ext3 for your / partition, then even change ext3 to that.
__________________
http://www.bash.org/?258908
|
|
|
29-01-2007, 07:35 PM
|
#5 (permalink)
|
|
Resident Fanatic
Join Date: Jul 2006
Location: /Milky way/earth/india/
Posts: 911
|
Re: Forgotten Username & Password
For wat is this CODE??
It will reset the password or install GRUB??
__________________
----------
|
|
|
29-01-2007, 07:47 PM
|
#6 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Forgotten Username & Password
Quote:
|
Originally Posted by Manshahia
For wat is this CODE??
|
It's a bbcode
Quote:
|
Originally Posted by Manshahia
It will reset the password or install GRUB??
|
Both
__________________
http://www.bash.org/?258908
|
|
|
29-01-2007, 07:54 PM
|
#7 (permalink)
|
|
Resident Fanatic
Join Date: Jul 2006
Location: /Milky way/earth/india/
Posts: 911
|
Re: Forgotten Username & Password
I m having DVD of Suse 10.2
Wat sud i select ??
1. Boot From HDD
or
2. Rescue Mode?
__________________
----------
|
|
|
29-01-2007, 07:58 PM
|
#8 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Forgotten Username & Password
That was for a live cd.
For suse DVD, select rescue mode, then go on as it prompts you.
__________________
http://www.bash.org/?258908
|
|
|
29-01-2007, 08:03 PM
|
#9 (permalink)
|
|
Resident Fanatic
Join Date: Jul 2006
Location: /Milky way/earth/india/
Posts: 911
|
Re: Forgotten Username & Password
I m having a live CD of UBUNTU.
Will it work for SUSE 10.2 Operating System??
__________________
----------
|
|
|
29-01-2007, 08:06 PM
|
#10 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Forgotten Username & Password
yes
__________________
http://www.bash.org/?258908
|
|
|
29-01-2007, 08:09 PM
|
#11 (permalink)
|
|
The Internationalist
Join Date: Feb 2006
Location: Samedan
Posts: 242
|
Re: Forgotten Username & Password
Quote:
|
Originally Posted by mediator
|
That sounds way too easy, if it works then it would compromise my system. :\
|
|
|
29-01-2007, 08:12 PM
|
#12 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Forgotten Username & Password
It totally works. But, of course someone needs a physical access to your system for this. To protect this, you have grub password and BIOS password.
Still, someone can yank off your hard drive and run away.
This is what I have learnt from others.
__________________
http://www.bash.org/?258908
|
|
|
29-01-2007, 08:21 PM
|
#13 (permalink)
|
|
String Phreak
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
|
Re: Forgotten Username & Password
Actually! Every system is hackable starting from BIOS. As home users we don't need to think abt it that much (ofcors we need to update the system). Otherwise security is very important.
So u can prevent all that by giving grub its own password!
http://www.gentoo.org/doc/en/securit...?part=1&chap=2
__________________
Bad Bad server.....No candy for u!
|
|
|
29-01-2007, 08:35 PM
|
#14 (permalink)
|
|
Google Bot
Join Date: Aug 2005
Posts: 9,772
|
Re: Forgotten Username & Password
hey tyf wat exactly does this command do????
sudo chroot /mnt/linux /bin/bash
|
|
|
29-01-2007, 09:10 PM
|
#15 (permalink)
|
|
String Phreak
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
|
Re: Forgotten Username & Password
^^ Its a run command or interactive shell with special root directory
Type "man chroot" on ur *nix box to find out more !
__________________
Bad Bad server.....No candy for u!
|
|
|
29-01-2007, 09:11 PM
|
#16 (permalink)
|
|
Resident Fanatic
Join Date: Jul 2006
Location: /Milky way/earth/india/
Posts: 911
|
Re: Forgotten Username & Password
Quote:
|
Originally Posted by TYF
Code:
sudo mkdir /mnt/linux
sudo mount -t ext3 /dev/hda1 /mnt/linux
sudo chroot /mnt/linux /bin/bash
grub-install /dev/hda1
sudo passwd <username>
(now you will be prompted to type your password, twice)
|
The First Line went fine.
In the second line Ubuntu said this.
Code:
Usage : Mount -v : Print Version
Mount -h : print this help
Mount : List Mounted Filesystem
Mount -l : Idem, Including volume labels
So far the informational Part. Next the Mounting.
The command is 'mount[-t fstype] something somewhere
Details found in /etc/fstab may be Ommited
Mount -a[-t|-o].... Mount all file systems from /etc/fstab
mount device....
mount dir....
mount -t type dev dir : Ordinary Mount command.
Note that one does not really mount a device one mounts a filesystem(of a given type) found on the device.
.............................
Quote:
|
Originally Posted by TYF
In the above replace /dev/hda1 with whatever your / partition is
|
i found that the drive name is hdb9. Is it correct??
Now where is the problem??
__________________
----------
|
|
|
29-01-2007, 09:24 PM
|
#17 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Forgotten Username & Password
I need the output of fdisk -l to know about it.
__________________
http://www.bash.org/?258908
|
|
|
29-01-2007, 10:27 PM
|
#18 (permalink)
|
|
Resident Fanatic
Join Date: Jul 2006
Location: /Milky way/earth/india/
Posts: 911
|
Re: Forgotten Username & Password
So, wat sud i do now??
Pop the CD??
On terminal write fdisk -l??
How wud i b saving the output??
Coz i cant access HDD in UBUNTU Live.
__________
?????
__________________
----------
Last edited by Manshahia; 29-01-2007 at 10:27 PM.
Reason: Automerged Doublepost
|
|
|
29-01-2007, 10:33 PM
|
#19 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Forgotten Username & Password
fdisk -l will list all your partitions.
__________________
http://www.bash.org/?258908
|
|
|
29-01-2007, 10:52 PM
|
#20 (permalink)
|
|
Resident Fanatic
Join Date: Jul 2006
Location: /Milky way/earth/india/
Posts: 911
|
Re: Forgotten Username & Password
Started again Live Ubuntu.
but fdisk -l didnt generated an Output neither an error was shown.
__________________
----------
|
|
|
29-01-2007, 11:12 PM
|
#21 (permalink)
|
|
The Internationalist
Join Date: Feb 2006
Location: Samedan
Posts: 242
|
Re: Forgotten Username & Password
Quote:
|
Originally Posted by tech_your_future
It totally works. But, of course someone needs a physical access to your system for this. To protect this, you have grub password and BIOS password.
Still, someone can yank off your hard drive and run away.
This is what I have learnt from others.
|
Or my laptop could be stolen, I could be robbed, these are things I couldn't stop.  What I want to do is stop a casual user, a friend or a guest, to stop being able to reset password and gain access to my laptop or account without my permission. Now opening up the laptop with a screwdriver to reset the BIOs pass or take my hard drive would be a bit messy and could bring it to my or anyone else's attention.
|
|
|
29-01-2007, 11:16 PM
|
#22 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Forgotten Username & Password
Quote:
|
Originally Posted by Manshahia
Started again Live Ubuntu.
but fdisk -l didnt generated an Output neither an error was shown.
|
Try sudo fdisk -l
__________________
http://www.bash.org/?258908
|
|
|
30-01-2007, 12:42 AM
|
#23 (permalink)
|
|
Resident Fanatic
Join Date: Jul 2006
Location: /Milky way/earth/india/
Posts: 911
|
Re: Forgotten Username & Password
it said nothing can b found in some folder(it named a folder cant recall it).
__________
wat now?
__________________
----------
Last edited by Manshahia; 30-01-2007 at 12:42 AM.
Reason: Automerged Doublepost
|
|
|
30-01-2007, 12:52 AM
|
#24 (permalink)
|
|
18 Till I Die............
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
|
Re: Forgotten Username & Password
Give us the exact error message, then we can help.
__________________
http://www.bash.org/?258908
|
|
|
30-01-2007, 12:46 PM
|
#25 (permalink)
|
|
GaurishSharma.com
Join Date: May 2005
Location: Jaipur
Posts: 4,116
|
Re: Forgotten Username & Password
lol!
looks more like a chat session to me.
@Manshahia
Please post as much details u have with u. and read this
How To Ask a Question Here
|
|
|
30-01-2007, 06:59 PM
|
#26 (permalink)
|
|
Resident Fanatic
Join Date: Jul 2006
Location: /Milky way/earth/india/
Posts: 911
|
Re: Forgotten Username & Password
Hav uninstalled the OS for reinstalling.
Please Close the Thread.
__________________
----------
|
|
|
30-01-2007, 07:47 PM
|
#27 (permalink)
|
|
El mooooo
Join Date: Jan 2006
Location: India
Posts: 1,414
|
Re: Forgotten Username & Password
Quote:
|
Originally Posted by Aberforth
Or my laptop could be stolen, I could be robbed, these are things I couldn't stop.  What I want to do is stop a casual user, a friend or a guest, to stop being able to reset password and gain access to my laptop or account without my permission. Now opening up the laptop with a screwdriver to reset the BIOs pass or take my hard drive would be a bit messy and could bring it to my or anyone else's attention.
|
If you have such friends then you can use LILO with restricted and password combo in your lilo.conf
Read "man lilo.conf" for more info.
|
|
|
30-01-2007, 07:55 PM
|
#28 (permalink)
|
|
left this forum longback
Join Date: Sep 2005
Location: -
Posts: 7,536
|
grub also allows
grub also can encrypt passwd.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
|
|
|
31-01-2007, 12:58 AM
|
#29 (permalink)
|
|
The Internationalist
Join Date: Feb 2006
Location: Samedan
Posts: 242
|
Re: Forgotten Username & Password
Quote:
|
Originally Posted by eddie
If you have such friends then you can use LILO with restricted and password combo in your lilo.conf 
|
Well I have to suffer some of my younger friends with weird humour...who would to anything to snoop on my laptop to send bogus "I love you" emails and stuff. I just don't want to be a victim of one of their pranks....
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|