[opensuse] lost suse 10.0 root password
i forgot my suse 10.0 root password. what should i do? there are many info i found with google, but doesnt work. is there any easy way to reset the password? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hans Linux wrote:
i forgot my suse 10.0 root password. what should i do? there are many info i found with google, but doesnt work. is there any easy way to reset the password?
http://en.opensuse.org/Recover_Root_Password JA - -- http://www.DonAssad.com jabber ID: josef.assad@gmail.com Please consider the environment; do you really need to print out this e-mail? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHHdFfFcf72sjD2+QRAuCaAJ0XhufE/pP0D71qgZpICjqtqvZtmgCfSOgA um34lIhhY7SO0lb+DRXmS5Y= =z/Pe -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
thx Pete and Josef, I'll try it now... Josef Assad wrote:
Hans Linux wrote:
i forgot my suse 10.0 root password. what should i do? there are many info i found with google, but doesnt work. is there any easy way to reset the password?
http://en.opensuse.org/Recover_Root_Password
JA
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 23 October 2007 11:44:46 Hans Linux wrote:
i forgot my suse 10.0 root password. what should i do? there are many info i found with google, but doesnt work. is there any easy way to reset the password?
You're not the first, and won't be the last. http://en.opensuse.org/Recover_Root_Password That should help you. Cheers Pete -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
my suse 10.0 is formatted with reiserf. how do i mount it? Pete Connolly wrote:
On Tuesday 23 October 2007 11:44:46 Hans Linux wrote:
i forgot my suse 10.0 root password. what should i do? there are many info i found with google, but doesnt work. is there any easy way to reset the password?
You're not the first, and won't be the last.
http://en.opensuse.org/Recover_Root_Password
That should help you.
Cheers
Pete
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 23 October 2007 12:14:52 Hans Linux wrote:
my suse 10.0 is formatted with reiserf. how do i mount it?
Pete Connolly wrote:
On Tuesday 23 October 2007 11:44:46 Hans Linux wrote:
i forgot my suse 10.0 root password. what should i do? there are many info i found with google, but doesnt work. is there any easy way to reset the password?
You're not the first, and won't be the last.
http://en.opensuse.org/Recover_Root_Password
That should help you.
Cheers
Pete
It should be detected as a ReiserFS filesystem and 'just work'. At least, that's been my experience. If need be, you can specify the type using '-t reiserfs' on the mount command. See here for more information: http://www.namesys.com/mount-options.html Cheers Pete -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Not in my case :( if fdisk -l, i get the info : /dev/sda1 => Linux Swap / Solaris /dev/sda2 => Linux then i give it a command : mount -t reiserfs -o remount,rw /dev/sda2 /mnt i get this error : mount: /mnt not mounted already, or bad option the same error if i change reiserfs to ext3 mount -t reiserfs -o remount,rw /dev/sda2 /mnt without -t, i'll get this error : mount : you must specify the filesystem type any idea? Pete Connolly wrote:
On Tuesday 23 October 2007 12:14:52 Hans Linux wrote:
my suse 10.0 is formatted with reiserf. how do i mount it?
Pete Connolly wrote:
On Tuesday 23 October 2007 11:44:46 Hans Linux wrote:
i forgot my suse 10.0 root password. what should i do? there are many info i found with google, but doesnt work. is there any easy way to reset the password?
You're not the first, and won't be the last.
http://en.opensuse.org/Recover_Root_Password
That should help you.
Cheers
Pete
It should be detected as a ReiserFS filesystem and 'just work'. At least, that's been my experience. If need be, you can specify the type using '-t reiserfs' on the mount command.
See here for more information: http://www.namesys.com/mount-options.html
Cheers
Pete
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 23 October 2007 19:14:31 Hans Linux wrote:
if fdisk -l, i get the info : /dev/sda1 => Linux Swap / Solaris /dev/sda2 => Linux
then i give it a command : mount -t reiserfs -o remount,rw /dev/sda2 /mnt
i get this error : mount: /mnt not mounted already, or bad option
I assume that /dev/sda2 is your root partition (the one that contains /etc/passwd and /etc/shadow). Are you sure that it is not already mounted read-write? Just type mount and it will show the current state of /dev/sda2. If it says something like /dev/sda2 on / type reiserfs (rw) then it is already writable (notice the "rw"). In this case you should be able to reset the root password using the "passwd" command. If /dev/sda2 is mounted read-only, then you have to remount it read-write. In this case the command should be mount -t reiserfs -o remount,rw /dev/sda2 / (note that the mountpoint is /, not /mnt). If this doesn't work, could you please post the output of the "mount" command? Hope this helps, Lutz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, 2007-10-24 at 09:14 +0700, Hans Linux wrote:
Not in my case :(
if fdisk -l, i get the info : /dev/sda1 => Linux Swap / Solaris /dev/sda2 => Linux
then i give it a command : mount -t reiserfs -o remount,rw /dev/sda2 /mnt
i get this error : mount: /mnt not mounted already, or bad option
cd / mkdir mnt cd mnt mkdir sda2 then retry your mount using /mnt/sda2 as the mount point
the same error if i change reiserfs to ext3 mount -t reiserfs -o remount,rw /dev/sda2 /mnt
without -t, i'll get this error : mount : you must specify the filesystem type
any idea?
Pete Connolly wrote:
On Tuesday 23 October 2007 12:14:52 Hans Linux wrote:
my suse 10.0 is formatted with reiserf. how do i mount it?
Pete Connolly wrote:
On Tuesday 23 October 2007 11:44:46 Hans Linux wrote:
i forgot my suse 10.0 root password. what should i do? there are many info i found with google, but doesnt work. is there any easy way to reset the password?
You're not the first, and won't be the last.
http://en.opensuse.org/Recover_Root_Password
That should help you.
Cheers
Pete
It should be detected as a ReiserFS filesystem and 'just work'. At least, that's been my experience. If need be, you can specify the type using '-t reiserfs' on the mount command.
See here for more information: http://www.namesys.com/mount-options.html
Cheers
Pete
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hans Linux wrote:
i forgot my suse 10.0 root password. what should i do? there are many info i found with google, but doesnt work. is there any easy way to reset the password?
If there were an easy way, it wouldn't be secure. There a a couple of methods that involve booting with a rescue disk and editing the password file to remove the password or mounting the partition chroot, which will then allow you to change the password. -- Use OpenOffice.org http://www.openoffice.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hans Linux wrote:
i forgot my suse 10.0 root password. what should i do? there are many info i found with google, but doesnt work. is there any easy way to reset the password?
I know two ways, first goes like this: 1. reboot the box and for the options run "init=/bin/bash" 2. when you get the system prompt type "mount -o remount,rw /" 3. then just reset the password by typing "passwd" Second method: At the boot screen (GRUB), type an 'E', then highlight the line containing 'kernel' and press 'E' again. At the end of the line add a space and then: init=/bin/bash Press 'Enter' and then 'B' (to boot). You will be dumped in a single user command line where you can simply enter: passwd and change it to whatever, then reboot. -- Vahis -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Second method works for me. Thx! :) Vahis wrote:
Hans Linux wrote:
i forgot my suse 10.0 root password. what should i do? there are many info i found with google, but doesnt work. is there any easy way to reset the password?
I know two ways, first goes like this:
1. reboot the box and for the options run "init=/bin/bash" 2. when you get the system prompt type "mount -o remount,rw /" 3. then just reset the password by typing "passwd"
Second method:
At the boot screen (GRUB), type an 'E', then highlight the line containing 'kernel' and press 'E' again. At the end of the line add a space and then:
init=/bin/bash
Press 'Enter' and then 'B' (to boot). You will be dumped in a single user command line where you can simply enter:
passwd
and change it to whatever, then reboot.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (7)
-
Hans Linux
-
James Knott
-
Josef Assad
-
Lutz Maibaum
-
Mike McMullin
-
Pete Connolly
-
Vahis