Operating System - HP-UX
1833704 Members
2642 Online
110062 Solutions
New Discussion

What is the new.secrets file?????

 
Kevin Lamb
Frequent Advisor

What is the new.secrets file?????

Calling all HP Gurus,

I have seen the new.secrets file in /var/adm on several occasions but I have no idea what this file is or what it's use is.

The file is on HP-UX 10.20 but not on 10.01 it contains a single line ( default -sdu- )

10 points to the wizard who can tell me what this file is for as it has stumped me for months

Cheers

Kev
7 REPLIES 7
John Bolene
Honored Contributor

Re: What is the new.secrets file?????

It is associated with file ACL's for DCE as far as I can tell.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
linuxfan
Honored Contributor

Re: What is the new.secrets file?????

Hi Kevin,

I don't know too much history about the /var/adm/sw/security/secrets file but i do know that it is consulted for SD-UX commands.

I have seen some issues with swinstall commands if this file is missing or doesn't have the right permissions.

-Regards
Ramesh
They think they know but don't. At least I know I don't know - Socrates
Robin Wakefield
Honored Contributor

Re: What is the new.secrets file?????

Hi Kevin,

grep new.secret /usr/sbin/pushAgent

It appears to be an internally-used password for SD.

Rgds, Robin.
harry d brown jr
Honored Contributor

Re: What is the new.secrets file?????

What is a new deodorant from Procter & Gamble?

The missing link?

A religious symbol?


live free or die
harry
Live Free or Die
Roger Baptiste
Honored Contributor

Re: What is the new.secrets file?????

Kevin,

the file is there on
11.00 too with the same
content under /var/adm/sw/security.

I think it is related to
swacl access control lists.
I (re)moved the file as a test
and ran swinstall/swlist.
They worked fine without the file.

Here''s a clue -
On one of my systems,
the swinstall.log file
has an old entry:
""An operation on the
/var/adm/sw/security/secrets"
ndbm(3) database failed.
The database could not be
opened, created or updated
depending on its status. check the existence and the
permissions of the file and its ndbm(3) files"'


-raj
Take it easy.
James R. Ferguson
Acclaimed Contributor

Re: What is the new.secrets file?????

Hi Kevin:

From the man (5) pages for 'sd' one notes that the /var/adm/sw/security directory contains the 'secrets' file which is used to authenticate remote requests.

Technical Knowledge Base document #A4578908 notes the methodology to recreate this file and its companions:

# mv var/adm/sw/security /var/adm/sw/security.old

# mkdir /var/adm/sw/security

# chown root /var/adm/sw/security

# chgrp root /var/adm/sw/security

# chmod 755 /var/adm/sw/security

# shutdown -ry 0

When the system reboots it recreates the security directory andthe files contained within.

Regards!

...JRF...
Simon Abbott
Frequent Advisor

Re: What is the new.secrets file?????

Hello,

Sorry I've no idea what the file is for but if you're the Kevin Lamb I used to work with on 'ROUTES', give us a ring, maybe we can meet up for a drink! (if not, just ignore me).

Simon Abbott.
I'm still working on that one