at bottom :-
On Sun, May 27, 2012 at 5:53 PM, Sagar Patil <
ware...@gmail.com> wrote:
> Thanks for the trick.
> Can we change password of Ubuntu or Fedora using this utility?
> If yes, then what location should we head up?
Dear Sagar,
First of all if possible don't top-post. It makes it harder to keep
track who said what.
I haven't had to do what you asked a long time but I do remember a
time I had to do this. The answer was go to rescue mode (in Grub) and
use passwd root to do that. Failing that use a Debian/Ubuntu/Fedora
live CD mount the partition and go to the mounted partition and give
the command again
#passwd root
And you should be able to change.
This is in case you don't remember the current password. I have read
ways in which you can make it secure so even this does not work but
that's outside the scope of discussion.
Of course if you just want to change password of any user it should be
$ sudo passwd $username
It will ask for current password and then you can change it.
Till l8er.
--
Regards,
Shirish Agarwal शिरीष अग्रवाल
My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17