how to identify the non-trusted system (353 Views)
Reply
Super Advisor
rajesh73
Posts: 448
Registered: ‎03-17-2009
Message 1 of 5 (353 Views)

how to identify the non-trusted system

 

1.how to identify the wheather server is trusted or non-trusted.

2.if server is non-trusted, how to lock and unlock the user account and how to view the status

 

 

Occasional Advisor
badgujar_ashish
Posts: 10
Registered: ‎07-08-2011
Message 2 of 5 (351 Views)

Re: how to identify the non-trusted system

An HP-UX system is trusted if the file/tcb/files/auth/system/default is present. If that file is not present, then the system is not a trusted system 

 

user -l option to lock user. 

Occasional Advisor
badgujar_ashish
Posts: 10
Registered: ‎07-08-2011
Message 3 of 5 (350 Views)

Re: how to identify the non-trusted system

user -l option in usermod command 

Trusted Contributor
f. halili
Posts: 689
Registered: ‎06-28-2000
Message 4 of 5 (346 Views)

Re: how to identify the non-trusted system

 

Trusted systems have /tcb directory:

# ls -ld /tcb
dr-xr-x--x   3 root       sys             96 Jul 30  2008 /tcb/

 

 

To unlock the account use:

# /usr/lbin/modprpw -k user_name

 

Cheers,

f. halili

 

Advisor
cdemelsl
Posts: 12
Registered: ‎01-13-2008
Message 5 of 5 (337 Views)

Re: how to identify the non-trusted system

You can use below command too

 

/usr/lbin/getprpw <username>

 

man getprpw

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.