Operating System - HP-UX
1830919 Members
1775 Online
110017 Solutions
New Discussion

authck: cannot open Protected Password hierarchy.

 
SOLVED
Go to solution
Crystal_1
Frequent Advisor

authck: cannot open Protected Password hierarchy.

Hi, guys,

I ran the pwck -s command with root access and got the following message:

Checking protected database password iles...
authck: cannot open Protected Password hierarchy.

You know what happen?

Tx, Crystal
3 REPLIES 3
S.K. Chan
Honored Contributor

Re: authck: cannot open Protected Password hierarchy.

Haven't encounter this kind of error before but it seems to indicate that the password checking command "pwck" cannot get access to the trusted system's protected password hierarchy and that directory is at..

/tcb/files/auth

This directory contains subdirectories that start with a single letter which stores the user from authentication profiles of your users based on the first alphabt of their login id. Maybe permission problem ?
Michael Tully
Honored Contributor
Solution

Re: authck: cannot open Protected Password hierarchy.

Hi,

If I run this command on one of my systems that
is not trusted, I too get this error message.

"Checking protected database password files...
authck: cannot open Protected Password hierarchy."

The 'pwck -s' assumes that the system is trusted. If you wish to to check your '/etc/passwd' file. use 'pwck' without any options. To check to see if your system is actually 'trusted' run this command.

# /usr/lbin/getprpw
System is not trusted.

If your system is trusted, it will display the
usage of the program as such.

# /usr/lbin/getprpw
usage: getprpw -r [-m option],option] [-l] [-n [domainname]] username

Just because you have a /tcb directory tree does not mean your system is trusted. It just may have been at one stage and the directories left in tact.

HTH
~Michael~
Anyone for a Mutiny ?
Crystal_1
Frequent Advisor

Re: authck: cannot open Protected Password hierarchy.

Hi,guys,

Yes, I have found that my system was not trusted and I got that message....now it is ok..

Tx, Crystal