reset failed login count / unlock aix/UNIX account
up vote
0
down vote
favorite
As system administrator it is necessary to lock / unlock users or to reset failed login count.
let's look how we can perform lock / unlock users or to reset on UNIX/AIX
command-line aix accounts
add a comment |
up vote
0
down vote
favorite
As system administrator it is necessary to lock / unlock users or to reset failed login count.
let's look how we can perform lock / unlock users or to reset on UNIX/AIX
command-line aix accounts
Seems to me to be a duplicate of: unix.stackexchange.com/q/306499/117549
– Jeff Schaller
May 14 at 13:41
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
As system administrator it is necessary to lock / unlock users or to reset failed login count.
let's look how we can perform lock / unlock users or to reset on UNIX/AIX
command-line aix accounts
As system administrator it is necessary to lock / unlock users or to reset failed login count.
let's look how we can perform lock / unlock users or to reset on UNIX/AIX
command-line aix accounts
command-line aix accounts
edited May 14 at 13:40
Jeff Schaller
36k952119
36k952119
asked May 12 at 6:11
PRAKASH
275
275
Seems to me to be a duplicate of: unix.stackexchange.com/q/306499/117549
– Jeff Schaller
May 14 at 13:41
add a comment |
Seems to me to be a duplicate of: unix.stackexchange.com/q/306499/117549
– Jeff Schaller
May 14 at 13:41
Seems to me to be a duplicate of: unix.stackexchange.com/q/306499/117549
– Jeff Schaller
May 14 at 13:41
Seems to me to be a duplicate of: unix.stackexchange.com/q/306499/117549
– Jeff Schaller
May 14 at 13:41
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Fist become root:
su - root
lsuser -a unsuccessful_login_count <userid>
reset unsuccessful login count:
chsec -f /etc/security/lastlog -a unsuccessful_login_count=0 -s <userid>
unlock account:
chuser account_locked=false <userid>
to lock an AIX account:
chuser account_locked=true <userid>
check if locked:
lsuser <userid>
For Linux like redhat distros
pam_tally2 --user=test1
pam_tally2 --user=test1 --reset
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Fist become root:
su - root
lsuser -a unsuccessful_login_count <userid>
reset unsuccessful login count:
chsec -f /etc/security/lastlog -a unsuccessful_login_count=0 -s <userid>
unlock account:
chuser account_locked=false <userid>
to lock an AIX account:
chuser account_locked=true <userid>
check if locked:
lsuser <userid>
For Linux like redhat distros
pam_tally2 --user=test1
pam_tally2 --user=test1 --reset
add a comment |
up vote
0
down vote
Fist become root:
su - root
lsuser -a unsuccessful_login_count <userid>
reset unsuccessful login count:
chsec -f /etc/security/lastlog -a unsuccessful_login_count=0 -s <userid>
unlock account:
chuser account_locked=false <userid>
to lock an AIX account:
chuser account_locked=true <userid>
check if locked:
lsuser <userid>
For Linux like redhat distros
pam_tally2 --user=test1
pam_tally2 --user=test1 --reset
add a comment |
up vote
0
down vote
up vote
0
down vote
Fist become root:
su - root
lsuser -a unsuccessful_login_count <userid>
reset unsuccessful login count:
chsec -f /etc/security/lastlog -a unsuccessful_login_count=0 -s <userid>
unlock account:
chuser account_locked=false <userid>
to lock an AIX account:
chuser account_locked=true <userid>
check if locked:
lsuser <userid>
For Linux like redhat distros
pam_tally2 --user=test1
pam_tally2 --user=test1 --reset
Fist become root:
su - root
lsuser -a unsuccessful_login_count <userid>
reset unsuccessful login count:
chsec -f /etc/security/lastlog -a unsuccessful_login_count=0 -s <userid>
unlock account:
chuser account_locked=false <userid>
to lock an AIX account:
chuser account_locked=true <userid>
check if locked:
lsuser <userid>
For Linux like redhat distros
pam_tally2 --user=test1
pam_tally2 --user=test1 --reset
edited 2 days ago
answered May 12 at 6:11
PRAKASH
275
275
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f443353%2freset-failed-login-count-unlock-aix-unix-account%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Seems to me to be a duplicate of: unix.stackexchange.com/q/306499/117549
– Jeff Schaller
May 14 at 13:41