HP-UX revert from trusted system to default


 
Thread Tools Search this Thread
Operating Systems HP-UX HP-UX revert from trusted system to default
# 1  
Old 02-03-2012
HP-UX revert from trusted system to default

All,

I have inherited some software that is running on HP-HX 11.11. The software ofers a GUI login and the user passwords can be either internal to the software, user defined or based on the matching unix account. The problem I have is that the server has been converted to 'trusted' years before I got hands on. The software, of course, only looks in /etc/passwd and is so old that fixes are no longer written. Smilie

The software had a total collapse on 01/01/2012 because of a design flaw.Smilie There is the capability to set a user end date, and the logic failed similarly to the worries everyone had about year 2000. Having never dealt with it before, I soon discovered that no user accounts had a password at all and account sharing was very common. SmilieSmilie So, I crashed headlong into setting up something, at least. We've caught quite a few offenders already now that services are resumedSmilie and I have an lsof based script trace written to react to each login attempt.

Unfortunately the internal password controls allow a single character password (including space) and no history is kept.Smilie We do set more sensible rules for OS telnet users, but I cannot tie the software in without converting back from TCB.


Finally, my questions:-
  • How? Is it just a sam action?
  • What do I lose?
  • What do I risk?

I've trawled the archives, but nothing leaps out. Perhaps it is an odd requirement, but any guidance would be appreciated. Smilie



Many thanks, in advance,
Robin
Liverpool/Blackburn
UK Smilie
# 2  
Old 02-03-2012
Check out :
/etc/tsconvert
/usr/lbin/modprpw

Those commands will be executed if you do it via SAM.

Also, a backup with IGNITE would be advisable.

I have succesfuly converted trusted HPUX v2 system, back to default with those commands.
# 3  
Old 02-03-2012
Peasant,

Thanks for the input. A regular DR backup is in place and tested over the past few years. Back it up before you <insert expletive here> it up is a very good rule, especially with something a bit serious like this.

Unfortunately I cannot find anything about /etc/tsconvert. Trying to execute with a -? flag I just get "Not Superuser" and I dare not run it as such just yet. Smilie


I am interested in what the differences in control and risks are between the two. There must be a reason for converting to Trusted State in the first place.



Any more clues?



Thanks again,
Robin
# 4  
Old 02-03-2012
Trusted systems with bastille are in most cases part of DMZ and are that kind of systems to conform various security standards like PCI-DSS.

Read about trusted system online, there is alot of coverage there with examples and detail explanation what it does.

I cannot advise you further since i have made this once on HP virtual machine.
If you have doubts, do a backup of entire system, that's the safest way.
# 5  
Old 02-03-2012
Be aware that on trusted systems, it will ask you to give the old passwd for all account even root's when you want to change it...
Some software ( even old ones...) are "trusted aware" and you risk to find yourself in the same situation: I am talking of installing the shadow package/patch... Some software not finding passwds in /etc/passwd look for the trusted database which doesn't exist if you are using shadow file... I had the case with HP su2 utility that compiled without any errors but was not working... and some issues with Reflection products...
# 6  
Old 02-03-2012
A trusted system with root's account locked (don't laugh!) can only be unlocked at the console...
# 7  
Old 02-03-2012
Thanks for the input vbe.

The good news is that the root password is not known and not required except in an emergency, so would only be on the console anyway (frequently changed by Security and stored in a file on another server). Administrative updates requiring super-user privilieges are scripted with sudo rules - and the system managers (of which I am one of five) have the wonderful ability to sudo su - to do anything that isn't 'normal'

I'm still not sure what being 'trusted' gives me. It just was already 'trusted' when I got given the opportunity to take it on (i.e. dumped with it) Does untrusted just mean that the passwords are stored (encrypted) in /etc/passwd field 2 so there is a risk that someone might peek and then decipher them? Will I lose the complexity/history rules for passwords or something else perhaps? I will be delighted if it doesn't re-prompt for the old password when I've just typed it in, and as for that generating a next password malarky, no thanks. All users, be they IT or not, hate it too.


We're not public facing, so I'm not too worried about intrusion (dare I trust my network team?) but if my Security Manager will kill me for even suggesting it, it would be good to know what we're actually giving up, given that I'm trying to improve security on an application for him, after all.


Cheers,
Robin

Last edited by rbatte1; 02-03-2012 at 01:30 PM.. Reason: Correcting my grammer
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Converting system to trusted

Hi, I need to convert few HP-UX (V 11.31) machines from un-trusted to trusted. I used the HP SMH to do this on one server. However when I click on "Yes" to proceed with the conversion, I get this error : The attempt to convert this system to a trusted system failed. The command return value... (2 Replies)
Discussion started by: anaigini45
2 Replies

2. UNIX for Dummies Questions & Answers

Need to revert default prompt in Linux after setting PS1 command

I have given as: PS1="Karthick>" in linux. Now the prompt changed as: Karthick> Now I need to get back the default prompt . How to achieve this? Thanks in advance (13 Replies)
Discussion started by: karthick nath
13 Replies

3. UNIX for Advanced & Expert Users

CVS command to revert deleted files

Hi, I have deleted a file and commited in CVS. So, is there any CVS command to revert back that deleted file with existing log messages. --Thanks in advance Madhu (1 Reply)
Discussion started by: madhuti
1 Replies

4. UNIX for Advanced & Expert Users

gmail revert to old look permanently

I thought I would share gmail revert to old look permanently. I am sure I am not the only one annoyed by the new look. Install Stylish extension Choose the Stylish UserStyle that you want. I know The Return of Old Gmail and gmail-b2b both work but I prefer gmail-b2b since I think it looks... (0 Replies)
Discussion started by: cokedude
0 Replies

5. Linux

Is it possible to revert a file after overwriting it ?

Long story short, there was some sort of corruption with my ide and the script I was working on has been over written with nothing (the file is blank now). The IDE doesn't store a back up from what I know (I'm using notepadd++ in wine lol I know I know I'm addictted to the nppftp sidebar and geany... (1 Reply)
Discussion started by: noPermissions
1 Replies

6. HP-UX

Enable telnet as root to 11.31 non-trusted system?

I have a new box that was set up for me and I want to allow telnet to the box as root. I know that it's not secure but due to the nature of what I test I need an easy and reliable way back in if I've messed up the other connection methods(SSH). This is in a protected lab environment. Eventually... (17 Replies)
Discussion started by: gctaylor
17 Replies

7. Emergency UNIX and Linux Support

Revert SVN import

Instead of importing a project/folder as svn import vlsms/ file:///home/repo/vlsms -m "Initial Upload" I did svn import vlsms/ file:///home/repo -m "Initial Upload" How to undo this import (in a clean way,without trace?) ---------- Post updated at 03:10 AM ---------- Previous update was at... (0 Replies)
Discussion started by: johnbach
0 Replies

8. HP-UX

shadowed password file on non-trusted system?

Is it possible to have shadowed password file without implementing a Trusted System? (3 Replies)
Discussion started by: linuxdude
3 Replies

9. Solaris

need zpool to revert...

hi i have created a pool using zpool command for my /dev/dsk/c1d0s3 disk. The poolname is qwertyuiopasdfghjklmnbvcxzzxcvbnmasdfghjklqwertyuiopoiuytrewqasdfghjklkjhgfdsazxcvbnmmnbnbcxczxzassd ddddvfhfghgjjgjhgkhkljfjlhohihiuyuioyguioyguiowyuiogwyuigwrigywuigyguiyuiogyugiyguioyuyguiowygiuygui... (1 Reply)
Discussion started by: SankarV
1 Replies

10. HP-UX

Trusted system: Please Help.

I was playing with sam and i turned on the Trusted System feature (UX11i). Now i cant log onto it anymore, i can ping it, but icant telnet, rlogin or login at the login screen. I dont want to reboot my machine because i am affraid it wont boot and ask for a password. My root password is not... (1 Reply)
Discussion started by: Netghost
1 Replies
Login or Register to Ask a Question