Converting to shadow password system. (405 Views)
Reply
Visitor
Amit Gohil
Posts: 3
Registered: ‎03-08-2010
Message 1 of 3 (405 Views)

Converting to shadow password system.

Hi All,

 

I wonder if you can help. Ive been asked to build a server for one of our applications however i am having issues with converting to a shadow password system.

 

We have done this before and it works fine.

 

FYI -

 

There is currently no /tcb folder

 

/etc/shadow not found

 

I have so far done the following....

 

1. Installed the ShadowPW bundle. See below..

 

# PHCO_27035                            1.0            shadow.h cumulative patch
# ShadowPW                              B.11.11.03     HP-UX 11.11 Shadow Password Enablement Product
  ShadowPW.SHADOW                       B.11.11.03     Shadow Password Enablement
  ShadowPW.SHADOW-MAN                   B.11.11.03     Shadow Password Enablement Man Pages

 

2. i then try to ....run the pwconv file in order for the /etc/shadow file to be created.

 

I get the below error but...

 

sytema:/: pwconv
The system is not yet in trusted mode.
Use pwck to list any problems with the password file.
After fixing all problems use SAM to convert to trusted mode.

Ive searched everywhere and have had no luck trying to resolve this. Any help is greatly appreciated.

 

Thanks.

 

Amit.

Visitor
Amit Gohil
Posts: 3
Registered: ‎03-08-2010
Message 2 of 3 (399 Views)

Re: Converting to shadow password system.

if i then use sam to make the system trusted and then run the pwconv command. i get....

sytema:/: pwconv
Updating the tcb to match /etc/passwd, if needed.

but i need the system to have an /etc/shadow file.
Visitor
Amit Gohil
Posts: 3
Registered: ‎03-08-2010
Message 3 of 3 (382 Views)

Re: Converting to shadow password system.

Have now managed to get the /etc/shadow file created.

Copied another version of the pwconv command off another server.

Now with the /etc/shadow file the server wont allow me to logon. Always get access denied. DOnt know what the problem is now.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.