- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pwconv HP-UX 11
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2000 02:43 AM
тАО11-23-2000 02:43 AM
pwconv HP-UX 11
It should do the follwing:
If commercial security is installed : update shadow file
if commercial security not installed: remove passwords from /etc/passwd and create the shadow file.
When I run the pwconv command on HP-UX 11 I get the message that the system is a non-trusted system and the command does nothing.
Is it possible to use pwconv on a non-trusted system and if not why does it say in the knowledge base that you can ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2000 03:25 AM
тАО11-23-2000 03:25 AM
Re: pwconv HP-UX 11
Are you 100 % sure it did nothing ..have you checked you havent got a tcb dir ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2000 03:28 AM
тАО11-23-2000 03:28 AM
Re: pwconv HP-UX 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2000 04:00 AM
тАО11-23-2000 04:00 AM
Re: pwconv HP-UX 11
This is the output of the command:
[hpbis:/etc]# pwconv
The system is not yet in trusted mode.
Use pwck to list any problems with the password file.
After fixing all problems use SAM to convert to trusted mode.
I'm pretty sure I don't get the /tcb -directory because i get the followng output:
[hpbis:/]# ls -a tcb
tcb not found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2000 04:06 AM
тАО11-23-2000 04:06 AM
Re: pwconv HP-UX 11
If it were me I'd try with the default passwd file from /usr/newconfig/etc/, if that works you may have problems wrt your own passwd file
I'd check for duplicate names uids etc ... ?
Make sure you are patched to a reasonable level as well
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2000 04:23 AM
тАО11-23-2000 04:23 AM
Re: pwconv HP-UX 11
Run 'pwck' and 'grpck' to fix problems with your password and group files, if any.
Then, you should be able to run 'pwconv' successfully.
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2000 04:34 AM
тАО11-23-2000 04:34 AM
Re: pwconv HP-UX 11
# pwconv /usr/newconfig/etc/passwd
The system is not yet in trusted mode.
Use pwck to list any problems with the password file.
After fixing all problems use SAM to convert to trusted mode.
# pwck /etc/passwd
# grpck /etc/group
# pwconv
The system is not yet in trusted mode.
Use pwck to list any problems with the password file.
After fixing all problems use SAM to convert to trusted mode.
So it doesn't seem to work.
Below is the result of a swlist. Am I missing something or is there a patch that needs to be installed.
#
# Bundle(s):
#
A5158A B.11.00.03 HP PCI Tachyon TL Fibre Channel
A5783A B.11.00.06 PCI Token Ring
B2491BA B.11.00 MirrorDisk/UX
B3919EA_2A5 B.11.00 Special Edition HP-UX Unlimited-User Lic
B3929BA B.11.00 HP OnLineJFS (Advanced VxFS)
B3935DA A.11.09 MC / Service Guard
B5456CA C.01.18.01 HP-UX Development Kit for Java*
B6733AA B.11.00.10 DCE/9000 Kernel Threads Support
B8342AA B.11.00.03 Netscape Communicator 4.72
B8723AA A.01.02 CIFS/9000 Client Lic. for 9000 Servers
B8725AA A.01.02 CIFS/9000 Server Lic. for 9000 Servers
HPUXEng64RT B.11.00 English HP-UX 64-bit Runtime Environment
Ignite-UX-11-00 B.2.4.307 HP-UX Installation Utilities for Installing 11.00 Systems
J2720BA R6.11.00.200 SNAplus2 LINK
J2722BA R6.11.00.200 SNAplus2 3270/3179G
J2723BA R6.11.00.200 SNAplus2 RJE
J2724BA R6.11.00.200 SNAplus2 API
OnlineDiag B.11.00.13.16 HPUX 11.0 Support Tools Bundle
XSWECO226 A.1.0 Patch Replacement bundle
XSWGR1100 B.11.00.49.3 HP-UX General Release Patches, June 2000
XSWHWCR1100 B.11.00.49.3 HP-UX Hardware Enablement and Critical Patches, June 2000
#
# Product(s) not contained in a Bundle:
#
ADSM 1.0 Start/Stop scripts & config files & Oracle backupscript for ADSM
IBMcli_tag 1.1.0.0 IBMcli software for HP-UX
IBMdpo_tag B.11.00.01 IBMdpo Driver 64-bit Version: Oct-26-2000 16:19
IBMis_tag 2.7.1.00 IBM Install Script for HP
PHCO_21630 1.0 LVM commands cumulative patch
PHKL_21381 B.11.00.AA Fibre Channel Mass Storage Driver Patch
PHKL_21989 1.0 SCSI IO Subsystem Cumulative Patch
PHKL_22267 1.0 11.00 LVM Cumulative patch
PHKL_22469 1.0 Directed range,PIOP for N/L class,PAT Events
SW-DIST B.11.10.07.01 HP-UX Software Distributor
TIVsm 3.7.0.0 Tivoli Storage Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2000 05:24 AM
тАО11-23-2000 05:24 AM
Re: pwconv HP-UX 11
pwconv is just a script file. The contents show:
#!/usr/bin/sh
# @(#) $Revision: 80.2 $
#
# pwconv -- convert to or update commercial security
#
PATH=/usr/lbin
export PATH
# check this file to see if already converted
# see the iscomsec() routine in libsec
if [[ -f /tcb/files/auth/system/default ]]
then
# already converted, do an update
echo "Updating the tcb to match /etc/passwd, if needed."
tsconvert -u
else
# not there yet, do the conversion
echo "The system is not yet in trusted mode."
echo "Use pwck to list any problems with the password file."
echo "After fixing all problems use SAM to convert to trusted mode".
fi
The else shows that nothing is run if the system is not trusted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2000 06:03 AM
тАО11-23-2000 06:03 AM
Re: pwconv HP-UX 11
did it specify the O/S ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2000 06:10 AM
тАО11-23-2000 06:10 AM
Re: pwconv HP-UX 11
A5242666
Problem Description
Can I use pwconv if my system is not a trusted system? Will pwconv
create a shadow file?
Configuration Info
Operating System - HPUX
Version -
Hardware System - HP 9000
Series - E35
Solution
Yes, you do not have to have a trusted system to use pwconv and
pwconv will create shadow files.
I also have a reference to document RN06961020:
HP-UX 10.20 Release Notes, Major Changes for HP-UX 10.0 & 10.01, Part 1
New commands from 10.0
pwconv(1M)
*****************************************************************************
Creates or updates the commercial security database from /etc/passwd.
* If commercial security is installed, pwconv updates the database.
* If commercial security is not installed, pwconv removes passwords
from /etc/passwd and creates the database.
I don't find any reference that it changed up to V. 11.xx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2000 06:24 AM
тАО11-23-2000 06:24 AM
Re: pwconv HP-UX 11
I guess you're all right ... up to a certain point.
The script in 10.20 is as follows:
#!/usr/bin/sh
# @(#) $Revision: 72.1 $
#
# pwconv -- convert to or update commercial security
#
PATH=/etc
export PATH
# check this file to see if already converted
# see the iscomsec() routine in libsec
if [[ -f /tcb/files/auth/system/default ]]
then
# already converted, do an update
tsconvert -u
else
# not there yet, do the conversion
tsconvert
fi
You see that it either updates or converts depending if the system is trusted or not.
I can't figure out what /etc/tsconvert is doing but it's most probably converting the system into a trusted system, like sam does (probably by calling tsconvert)
Best regards,
Dan
PS: If my understanding is correct, what Rob wants is a trusted system with all auditing turned off ??? Or am I missing something ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2000 06:26 AM
тАО11-23-2000 06:26 AM
Re: pwconv HP-UX 11
I was wondering , can't I just do the same manually on HP-UX. That's just use tsconvert without any options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2000 06:34 AM
тАО11-23-2000 06:34 AM
Re: pwconv HP-UX 11
I'm used to working in the Solaris environment and there by default there are no encrypted passwords in the /etc/passwd file. The encrypted passwords are stored in the root-only accessible file (even read): /etc/shadow.
This is also true for most Linux systems now.
I was just wondering, is the same very basic security check popssible under HP-UX.
For the moment we don't want to use trusted systems because that would also require an upgrade of the JFS filesystems to disk-layout 4(because we need the ACL's) and change from NIS to NIS+. As the NIS would only be used for 3, max. 4 servers we wonder if all the managment hassle of NIS+ won't be to much overhead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2005 03:12 AM
тАО01-13-2005 03:12 AM
Re: pwconv HP-UX 11
Groet,
Roderick Derks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2005 03:17 AM
тАО01-13-2005 03:17 AM
Re: pwconv HP-UX 11
It's usually better to open your own new question than add a question to such an old thread. In this case, however, I think the answer you seek is "Shadow Passwords":
http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=ShadowPassword
Pete
Pete