Prev: call for kde 4.5 beta1 packages
Next: Sound Problem
From: Helmut Hullen on 1 Jun 2010 02:10 Hallo, Danno, Du meintest am 31.05.10: > Danno wrote: > <snip> >> then change the password? >> passwd > Sorry, didn't realize passwd would prompt for the old password > first. But he is already logged in as root. Then he can change everybodys password without knowing their old password. Viele Gruesse Helmut "Ubuntu" - an African word, meaning "Slackware is too hard for me".
From: Eef Hartman on 2 Jun 2010 04:30
steve <shmartonak(a)ticnet.com> wrote: > 2) is there a way as 'root' to recover whatever password the computer > thinks 'steve' has? No, password encryption is one-way, the "clear passwd" cannot be recovered (except by brute force attack by guessing it). But, as others already remarked, as root you CAN change "steve"s passwd very simply with the "passwd steve" command. PS: the check IF the passwd is correct is done by ENcrypting "what you typed" and then comparing it with the stored encrypted one, correcting for the random-ness (salt) in that (see "man 3 crypt" for some more info about that). -- ****************************************************************** ** Eef Hartman, Delft University of Technology, dept. SSC/ICT ** ** e-mail: E.J.M.Hartman(a)tudelft.nl - phone: +31-15-27 82525 ** ****************************************************************** |