Turning to trusted mode

 
SOLVED
Go to solution
majhar_mujawar
Advisor

Turning to trusted mode

While trying to convert system from non trusted to trusted mode using SAM it throws error as shadow file in use.

 

 

Regards ,

 

Majhar

 

 

 

P.S. This thread has been moved from HP-UX > System Administration to HP-UX > security. - Hp Forum moderator

5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: Turning to trusted mode

You can't convert from using a /etc/shadow file directly to a trusted system.

 

If you want to turn off /etc/shadow and turn on trusted, then you will have to:

 

Move all password information back into /etc/passwd from /etc/shadow with

# pwunconv

 

Now convert to trusted with

# tsconvert

majhar_mujawar
Advisor

Re: Turning to trusted mode

Hi patrick,

 

Thanks for your help,

 

does use of # pwunconv command affects current users and their passwords.

 

Regards,

Majhar

Dennis Handly
Acclaimed Contributor

Re: Turning to trusted mode

>does use of pwunconv command affects current users and their passwords.

 

If the passwords are longer than 8 it will.

Bill Hassell
Honored Contributor
Solution

Re: Turning to trusted mode

Since the shadow password security feature allows passwords longer than 8 characters, converting to default security will affect these passwords. You can preview these passwords using:  pwck -l

 

 If any are reported, change the affected user passwords to 8 or less characters and then run pwunconv. Now you can convert to trusted without any problems.

 



Bill Hassell, sysadmin
majhar_mujawar
Advisor

Re: Turning to trusted mode

 

 

thanks bill....