cancel
Showing results for 
Search instead for 
Did you mean: 

non expiry on HP

 
SOLVED
Go to solution
bullz
Super Advisor

non expiry on HP

Hello Guruz,

I am new to this fourm, I have a small doubt!
How can i reset a user in Non-Expiry mode?
7 REPLIES
Ganesan R
Honored Contributor
Solution

Re: non expiry on HP

Hi,

Is this system trusted?
Best wishes,

Ganesh.
bullz
Super Advisor

Re: non expiry on HP

I hope it's in trysted mode :(

1) I was not able to create user more than 8 Chr

2) not sure how to set non-expiry?

How can i check system in trusted mode or not?
Mark S Meadows
Valued Contributor

Re: non expiry on HP

Hi,

>> How to check whether a system is trusted <<

Check for the existence of directory structure /tcb or run the following command :

# /usr/lbin/getprdef -r
System is not trusted.

Regards,

Mark
Administrating HP-UX systems for more years than I care to admit, but still enjoying it (most of the time!).
Ganesan R
Honored Contributor

Re: non expiry on HP

Hi Again,

>How can i check system in trusted mode or not?<

Just check the existance of /tcb directory. If /tcb directory exist, it is trusted.

By default, password aging will not be applied to the users in non-trusted system unless you set it via "passwd -x " command or /etc/default/security file.

If you already set the password aging for that account, use this command to set non-expiry.

#passwd -x 0
Best wishes,

Ganesh.
Ganesan R
Honored Contributor

Re: non expiry on HP

Hi Again,

Forget to mention. Add the user name with passwd command.

#passwd -x 0
Best wishes,

Ganesh.
bullz
Super Advisor

Re: non expiry on HP

Thanks all for your inputs.. Very fast replies :)

I liksed it somuch :)
bullz
Super Advisor

Re: non expiry on HP

Got enough info :)