Operating System - HP-UX
1751765 Members
4721 Online
108781 Solutions
New Discussion

how to identify the non-trusted system

 
rajesh73
Super Advisor

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

 

 

4 REPLIES 4
badgujar_ashish
Occasional Advisor

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. 

badgujar_ashish
Occasional Advisor

Re: how to identify the non-trusted system

user -l option in usermod command 

f. halili
Trusted Contributor

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

 

derekh
cdemelsl
Advisor

Re: how to identify the non-trusted system

You can use below command too

 

/usr/lbin/getprpw <username>

 

man getprpw