Thursday, September 1, 2016

BAD PASSWORD: is too simple


Because you might gave  3-4 characters only so its looks simple . always try to set with atleast 6-9 letters including uppercase and numeric number .

It doesnot mean that  password chnage didnt happened. It will change password successfully but not a secure .

[root@tstvm ~]# passwd sai
Changing password for user sai.
New password:
BAD PASSWORD: it is too short
BAD PASSWORD: is too simple
Retype new password:
passwd: all authentication tokens updated successfully.
[root@tstvm ~]#



BAD PASSWORD: it is too short

Because you might gave  3-4 characters only . always try to set with atleast 6-9 letters including uppercase and numeric number .

[root@tstvm ~]# passwd sai
Changing password for user sai.
New password:
BAD PASSWORD: it is too short
BAD PASSWORD: is too simple
Retype new password:
passwd: all authentication tokens updated successfully.
[root@tstvm ~]#







BAD PASSWORD: it is based on a dictionary word

Does it bad password is wrong  ?

Nope its just kind of warning saying password you enter is not secure as you may enter  dictionary word like your name or country name etc.
Always try to setup your passwd including  uppercase and numeric number.



BAD PASSWORD: it is based on a dictionary word



Below you can see error " BAD PASSWORD: it is based on a dictionary word "   . Does this really error ?

Answer is no . its just warning stating paswwd is not secure as you might gave regular names . Always try to use atleast 6-8 characters including lower/upper case with numeric number .





how to change user password without current password.

If you dont know the current user password ,Then only root user can change the password .

login as root user  and then try as below steps .


syntax :-  passwd <username>
example :- 

[root@tstvm ~]# passwd sai
Changing password for user sai.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
[root@tstvm ~]#

passwd: Only root can specify a user name.


Below you can see its showing as only root can change .what does that mean ?

Yes That mean only root can only change the password .

Then how  can non-root user can change the password ?

non-user also can change the password with the command #passwd   (without specifying a user name ).

It will prompt for current passwd . then new passwd , retype new passwd again .