System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

On Trusted mode i facing this message

itrc55
Regular Advisor

On Trusted mode i facing this message

Hi,

 

i convert my system 11.31 to trusted mode and i know when i need to change password i will facing this message

 

# passwd
Changing password for root
Old password:

New password:
Password too short - must be at least 7 characters
New password:
The password entered is not valid.  Valid passwords must contain at least:
          1 upper case character(s),
          1 lower case character(s),
          1 digit(s), and
          1 special character(s).

my questions how can i change the password without facing this message on trusted mode ?

 

Thanks

11 REPLIES
itrc55
Regular Advisor

Re: On Trusted mode i facing this message

Hi,

PASSWORD_MIN_LOWER_CASE_CHARS 0 <default>
PASSWORD_MIN_UPPER_CASE_CHARS 0 <default>
PASSWORD_MIN_DIGIT_CHARS 0 <default>
PASSWORD_MIN_SPECIAL_CHARS 0 <default>

Thanks
Dennis Handly
Acclaimed Contributor

Re: On Trusted mode I am facing this message

I assume this is for the root password?  Or do you want to remove this for all users?

What does "whence passwd" show?  There is one in /sbin/ that doesn't check.

itrc55
Regular Advisor

Re: On Trusted mode I facing this message

Hi,

 

yes this is for root password only.

 

and i resolving this issue

New password:
Password too short - must be at least 7 characters
New password:
The password entered is not valid.  Valid passwords must contain at least:
          1 upper case character(s),
          1 lower case character(s),
          1 digit(s), and
          1 special character(s).

 

but still i need to remove

 

# passwd
Changing password for root
Old password:

 

i don't want to ask me what is the old password when i try to change the password.

 

Thanks

Dennis Handly
Acclaimed Contributor

Re: On Trusted mode I am facing this message

>yes this is for root password only.

 

Again, what does "whence passwd" show?

itrc55
Regular Advisor

Re: On Trusted mode I am facing this message

Hi,

 

when i try to change password i facing this

 

# passwd
Changing password for root
Old password:

 

1- How to change root password without "old password" Entry when i try to change the password.


2- and how to avoid root password disable when try login more times with wrong password.

 

Thanks

Dennis Handly
Acclaimed Contributor

Re: On Trusted mode I am facing this message

>when I try to change password I facing this

 

Please answer my questions about the path to passwd, there are two and one does what you want.

 

>and how to avoid root password disable when try login more times with wrong password.

 

I don't think you can with trusted.

100
Occasional Visitor

Re: On Trusted mode i facing this message

Hi,

 

I have changed my system to trusted mode but unfortunately my root passwd changed without my knowledge. If I tried to change it asks for old passwd. What I have it is not accepting. How I can change the passwd or wnats to revert back to non trust mode..

 

Pls help..

 

Ib

itrc55
Regular Advisor

Re: On Trusted mode i facing this message

Hi,

 

>I have changed my system to trusted mode but unfortunately my root passwd changed without my knowledge. If I tried to change it asks for old passwd. What I have it is not accepting. How I can change the passwd or wnats to revert back to non trust mode..

 

yes you want to revert back to non trust mode by this command 

 

# /usr/lbin/tsconvert  –r

 

then you can change the password. and in case you can't login to system direct, login to system from a console and then execute the above command.

 

and if you can't login to server from both way you must to reboot server and interrupt boot process and make

something

 

Thanks

 

100
Occasional Visitor

Re: On Trusted mode i facing this message

Thanks. It works.
Dennis Handly
Acclaimed Contributor

Re: On Trusted mode I am facing this message

>I have changed my system to trusted mode but unfortunately my root passwd changed without my knowledge.

 

This could happen if your password was > 8 chars.  Before it would ignore any past 8, now it won't.

Dennis Handly
Acclaimed Contributor

Re: On Trusted mode I am facing this message

>there are two and one does what you want.

 

Were you invoking /sbin/passwd?