System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to enable a disable account...

SOLVED
Go to solution
Jayraj
Frequent Advisor

How to enable a disable account...

Hi all..

my account got disabled after failed to login 3 times..How do I enable my account..
and How to check whether my server is in trusted environment or Non- trusted environment..
Please advice...
3 REPLIES
Paul McCleary
Honored Contributor
Solution

Re: How to enable a disable account...

Hi,

If you are running a trusted system your local user passwords will be stored in a database in /tcb/file/auth and all the user password fields in /etc/passwd will have an asterick.

Also might want to check if you have shadow passwords enabled: /etc/shadow.

On a trusted system you use:

/usr/lbin/modprpw -k username

On a non-trusted system:

passwd -d username

Man page states:

-d Allow user to login without a password by deleting it.
In untrusted mode this unlocks/activates the user
account if found locked/deactivated.

If you have Standard Mode Security Extensions installed - check with:

swlist|grep -i std

Then take a look at userdbset command:

userdbset -d -u username auth_failures

HTH,

Paul
T G Manikandan
Honored Contributor

Re: How to enable a disable account...

In Trusted system, all encrypted passwords are stored in files in the /tcb/files/auth directory.

# /usr/lbin/modprpw -k
to enable
Johnson Punniyalingam
Honored Contributor

Re: How to enable a disable account...

Hi Swaraj,

>>my account got disabled after failed to login 3 times..How do I enable my account..<<

You should be root user to enable you account.

enable as per below command

# /usr/lbin/modprpw -k

How check my user account locked

# /usr/lbin/getprpw -l

and How to check whether my server is in trusted environment or Non- trusted environment..<<

If you /tcb --> directory "exist" means its trsuted system or if you perform the command mention above .also will tell you command can be excuted System not trusted.


Hope this Helps,

Thanks,
JOhnson
Problems are common to all, but attitude makes the difference