Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

how to identify the non-trusted system

Highlighted
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
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

 

cdemelsl
Advisor

Re: how to identify the non-trusted system

You can use below command too

 

/usr/lbin/getprpw <username>

 

man getprpw