1848433 Members
4474 Online
104027 Solutions
New Discussion

Re: Trusted system

 
Shahul
Esteemed Contributor

Trusted system


Hi Admins

I want to convert one D class server to trusted system. But when I tried thru SAM, It is giving an error like this.

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

Can anyone throw some light to this?

Shahul
4 REPLIES 4
Rainer von Bongartz
Honored Contributor

Re: Trusted system

Try this :


1. To fix this first check password file by doing:

pwck /etc/passwd

if pwck complains about a bad character for one
of the logins remove this

2. try converting again


He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Chris Calabrese
Valued Contributor

Re: Trusted system

Also, you should make sure that /etc/nsswitch.conf does not use NIS (as opposed to NIS+).
Brainbench MVP for Unix Administration and Internet Security, SANS Review Editor, and Center for Internet Security HP-UX Benchmark project leader
Shahul
Esteemed Contributor

Re: Trusted system


Hi

I checked /etc/passwd and /etc/group by using

#pwck /etc/passwd
#grpck /etc/group

And I corrected the errors, But still the same error is coming.

I do not have file called nsswitch.conf in /etc.


Can anyone help me out.

Shahul
Wodisch
Honored Contributor

Re: Trusted system

Hello Shahul,

you do NOT have to use SAM for this - just call
/usr/lbin/tsconvert
from the command-line, and to revert from it, call
/usr/lbin/tsconvert -r

Both should only need a couple of seconds!

HTH,
Wodisch