Operating System - HP-UX
1833738 Members
2595 Online
110063 Solutions
New Discussion

can convert to trusted system

 
SOLVED
Go to solution
Dave Bunting
Frequent Advisor

can convert to trusted system

When I try to convert my system I get this error message:

The attempt to convert this system to a trusted system failed. The command return value was "-1" and the standard error output was: Can't write protected database; password file unchanged.

:
how do i check my /etc/passwd file for consistency/ NIS entries?
Thanks in advance...
4 REPLIES 4
Rainer von Bongartz
Honored Contributor

Re: can convert to trusted system


check yout passwd : pwck
check yout groups : grpck


Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Stefan Farrelly
Honored Contributor

Re: can convert to trusted system


The only possibilities for your error I can think of are;

1. enough space in / (as tsconvert now creates the directory structure /tcb for the new protected password entries. You should only need a few MB in / though - depending on the size of your passwd file. The bigger the passwd file the more space you will need in /

2. permissions. Are you running it as root ? permissions on / are 755 ? Does /tcb already exist ?

If the tsconvert command failed the passwd file should be as it was originally so nothing to worry about. Just to fix the problem and rerun it.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Dave Bunting
Frequent Advisor

Re: can convert to trusted system

I have enough space...
how do i check permissions for / ?
Stefan Farrelly
Honored Contributor
Solution

Re: can convert to trusted system


ls -ld /

Should come back with;

drwxr-xr-x root rooot /
Im from Palmerston North, New Zealand, but somehow ended up in London...