LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   How Do I recover a user's password in SUSE 10.0 (https://www.linuxquestions.org/questions/suse-opensuse-60/how-do-i-recover-a-users-password-in-suse-10-0-a-454809/)

gamesfan9000 06-14-2006 04:48 PM

How Do I recover a user's password in SUSE 10.0
 
Topic Topic

Cogar 06-14-2006 05:35 PM

You don't. As administrator (root), you can assign a temporary password and then let the user modify the temporary password to one they wish to use.

gamesfan9000 06-14-2006 06:11 PM

How do I log on as root and assign the temp password?:confused: :newbie:

1kyle 06-15-2006 05:08 AM

If you've lost ROOT's password you'll just have to re-install your system. With Windows there are some tools for recovering administrator passwords but I think this is virtually impossible in Linux.

Treat this as a learning exercise --NEVER LOSE ROOT'S password or you'll have trouble.

If you haven't logged on as root just type SU on to a console and enter roots password or go to YAST / User administration and assign a new password for the user.
YAST will prompt you for ROOT's password.

Cheers

-K

RBEmerson 06-15-2006 06:47 AM

+1 - what he said.

Unlike Windows, where passwords can be cracked too easily, linux makes an effort to keep The Bad Guys from gaining information they shouldn't have. Increased security comes at the price of increased annoyance on occasion.

johnson_steve 06-15-2006 10:03 AM

Yes they are correct you cannot recover passwords on linux you must reset them. but if you have physical access to the system it is quite easy to reset the root password as well. just pop in a live cd, mount your root filesystem, chroot over and passwd.

abisko00 06-15-2006 10:10 AM

I would rather not give instructions how to crack a system. How do we know that gamesfan9000 is talking about his own machine? Just my :twocents:

gamesfan9000 06-15-2006 10:46 AM

I have my roots password,but I lost my normal users password.Please help.

johnson_steve 06-15-2006 11:09 AM

Quote:

Originally Posted by abisko00
I would rather not give instructions how to crack a system. How do we know that gamesfan9000 is talking about his own machine? Just my :twocents:

I see your point, but seriously if someone wants your data what stops them from kicking your door in and taking it? hopefully a good lock. there is very little you can do if the attacker has physical access to the machine.

gamesfan9000,
if you have the root password just log in as root and use passwd to change the password; my user is steve so I would:
Code:

PowerBook-G3 ~ # passwd steve
New UNIX password:
Retype new UNIX password:
passwd: password updated successfully
PowerBook-G3 ~ #


broch 06-15-2006 11:42 AM

Quote:

If you've lost ROOT's password you'll just have to re-install your system. With Windows there are some tools for recovering administrator passwords but I think this is virtually impossible in Linux.
funny reading all this.

this one is even better:
Quote:

Originally Posted by abisko00
I would rather not give instructions how to crack a system. How do we know that gamesfan9000 is talking about his own machine?
Ever heard about runlevels?

run
#init 1
and you will be logged as root (single mode) and without even asking about password! Jeezz

There is a lot of information about recovering root account. This has nothing to do with cracking.
All OSes allow to reset root password.

anyway, you can't recover root password but you can easily reset it. This is my howto:
http://wiki.suselinuxsupport.de/wikk...strootpassword

to reset user password by root see above by johnson_steve

RBEmerson 06-15-2006 12:41 PM

broch, a big +1!!! :D

abisko00: never forget a cardinal rule about the Internet: "On the Internet, nobody can tell if you're a dog". Maybe gamesfan9000 is a most evil cracker, maybe he's just a newbie who hasn't learned the Linux way yet, and maybe he is a dog. :D :D If we all assumed the first assumption, there'd be no point to having this site; any piece of advice might support some dark and evil scheme. Let it go, abisko00, let it go... :)

gamesfan9000 06-15-2006 07:11 PM

I got it.Thanks a lot.:mad:

abisko00 06-16-2006 02:22 AM

Hmm, strange that my concern appears so funny. I am fully aware that this information is easily available online, as is how to build bombs (sorry if I exagerate here). It's just that one should at least keep in mind that a potential harmless information you give away in good faith may be used to do something improper. In a case where this appears likely (come on, there where indications: short post, few information, only a few posts in this forum), I rather refuse to make things even easier.

RBEmerson: I don't think that my opinion on this topic would make sites like this obsolete. There still is a difference between helping to fix a broken KDE and telling how to reset passwords.

gamesfan9000: I apologise if I offended you. If you'd given the information that you know the root password, your post wouldn'd have sound as suspicious to me.

broch 06-16-2006 08:39 AM

Quote:

Hmm, strange that my concern appears so funny. I am fully aware that this information is easily available online, as is how to build bombs (sorry if I exagerate here). It's just that one should at least keep in mind that a potential harmless information you give away in good faith may be used to do something improper. In a case where this appears likely (come on, there where indications: short post, few information, only a few posts in this forum), I rather refuse to make things even easier.
yes, it is funny,
password resetting is a part of any OS maintenance (unfortunately). As far as I know this is not the case of bombs.
Want a proof? Check out Novell's Coll Solutions (although this guy simply copied my howto without even asking for my permission or at least informing that because he is lazy, he simply copied my text). The same goes with MAC spoofing (considered as a heavy "hacking"? for no reason) which is usefull when ISP depends on NIC hardware address and card went bad (so instead of hassle of calling them, disscussing the reason of the change, I prefer spoofing MAC. It takes 30 sec for me because I type slow). Of course anyone who wants to use MAC spoofig for some sort of attack will know ho useless this is.


I prefer sanity over overzealous "consciousness".

nx5000 06-16-2006 08:49 AM

Quote:

#init 1
and you will be logged as root (single mode) and without even asking about password! Jeezz
Funny also :)
to be able to run init , you need to be root (you've put a # in front), so whats the point of going into root again?
And then, on a lot of distro like debian and i bet a lot others, you fortunatly need root password to enter single user mode.
So it doesn't work...


All times are GMT -5. The time now is 11:04 AM.