Tuesday, 17 May 2011

Changing password for root and other users in fedora.

hi,

Today i learnt "passwd" command, which helps to change password for root user and as well as other users.

the syntax is "passwd username"

open the terminal login as root user using

"su -"

then just type "passwd root" and hit enter.

you will be prompted to enter new password for the root.

Actually "passwd" is enough to change password for the root.if we leave the username blank. it will assume that we are changing password for the root.

if you wanna change password for the user just type "passwd username" and hit enter.

ex: passwd parthi


try it, have fun :)

No comments:

Post a Comment