Operating System - HP-UX
1832608 Members
2084 Online
110043 Solutions
New Discussion

manual pages of some backends like "modprpw" and "getprpw"

 
SOLVED
Go to solution
Jdamian
Respected Contributor

manual pages of some backends like "modprpw" and "getprpw"

Hi

Where can I get docs about some backends like "modprpw" and "getprpw" available in /usr/lbin directory ?

I need to reactivate user accounts from the command line in a trusted system and I found no doc or manual pages about these commands.
3 REPLIES 3
Jim Turner
HPE Pro
Solution

Re: manual pages of some backends like "modprpw" and "getprpw"

 
James R. Ferguson
Acclaimed Contributor

Re: manual pages of some backends like "modprpw" and "getprpw"

Andreas Voss
Honored Contributor

Re: manual pages of some backends like "modprpw" and "getprpw"

Hi,

found a document:

commands in '/usr/lbin' directory are undocumented for a reason

Current Path Home
Score : 0
Document Type : EN
Date : 2001 Feb 01
Description : commands in '/usr/lbin' directory are undocumented for a reason
Document Id : KBRC00005452
Search String :

You may provide feedback on this document

View the printer friendly version of this document



--------------------------------------------------------------------------------
commands in '/usr/lbin' directory are undocumented for a reason DocId: KBRC00005452 Updated: 2/5/01 9:18:00 AM

PROBLEM
On HP-UX 11.00, the following lists some commands under the "/usr/lbin" directory:

calprog diffh getprdef modprdef
chgpt expreserve getprdev modprdev
cuesession exrecover getprpw modprpw
dhcpclient gen_proto getprterm modprterm
diff3prog getNAME mkwhatis nktl_daemon

How do these commands in the "/usr/lbin" directory get used? They have no manpages available documenting their usage.
RESOLUTION
Hewlett-Packard does not recommend using undocumented commands from the "/usr/lbin" directory.
Per HP-UX 11.00's /usr/share/doc/file_sys.txt file, HP-UX 10.0 File System Layout White Paper, section 2.2.3.12.6:


2.2.3.12.6 /usr/lbin

The /usr/lbin directory is intended for backends to commands in
the /usr hierarchy. Commands such as /usr/lib/divpage and
/usr/lib/diff3prog are placed in /usr/lbin.

For example, /usr/lbin/calprog is solely intended for use as a backend command for other documented commands that exist under the /usr hierarchy. Since HP does not document backend commands, HP reserves the right to change these undocumented commands' interfaces without advance or any notice. Only documented and/or supported commands should be directly used and invoked by system users and/or operators.
Note: On HP-UX 11.11, both the getprpw(1M) and modprpw(1M) commands have manpage documentation. From the getprpw(1M) manpage:


DESCRIPTION
getprpw displays the user's protected password database settings.
This command is available only to the superuser in a trusted system.
Normally it is only used via SAM, see sam(1M).
:
WARNINGS
This command is intended for SAM use only. It may change with each
release and can not be guaranteed to be backward compatible.

Several database fields interact with others. The side effects of an
individual change may not cause a problem till much later.

and from the manpage of modprpw(1M) manpage:

DESCRIPTION
modprpw updates the user's protected password database settings.
This command is available only to the superuser in a trusted system.

Usage other than via SAM, and/or modifications out of sync with
/etc/passwd or NIS+ tables, may result in serious database corruption
and the inability to access the system.
:
WARNINGS
This command is intended for SAM use only. It may change with each
release and can not be guaranteed to be backward compatible.

Several database fields interact with others. Side effects may not be
apparent until much later.


Regards