Some IT Tips (Linux, Unix, HP-UX, AIX, Solaris, etc).

System Adm

  • Home
« Change user settings and password attributes in AIX
How to remove/move/copy/rename file that has a non-printable name »

AIX and user access denied


AIX has a security feature named unsuccessful_login_count (/etc/security/lastlog) . It is an user account feature that count the number of unsuccessful login attempts and it works conjunction with the user's loginretries (/etc/security/user) attribute.

So, if you configure the loginretries=5, the user will not be able to log in after 5 retries. To enable the login again, you should reset the unsuccessful_login_count parameter by editing the file /etc/security/lastlog or with the following command:

# chsec -f /etc/security/lastlog -a unsuccessful_login_count=0 -s foobar

You can identify this problem by the following message in syslog:

May 19 15:42:41 aixbox auth|security:info sshd[7884888]: Login restricted for foobar: 3004-303 There have been too
many unsuccessful login attempts; please see \tthe system administrator.

Share:
  • PrintPrint
  • del.icio.usdel.icio.us
  • FacebookFacebook
  • TwitterTwitter
  • Google BookmarksGoogle Bookmarks
  • Add to favoritesAdd to favorites
  • emailemail

account, Aix, login, ssh, user

This entry was posted on May 19, 2010, 5:11 pm and is filed under Aix. You can follow any responses to this entry through RSS 2.0. You can leave a response, or trackback from your own site.

  • Comments (0)
  • Related Posts
  1. No comments yet.
Cancel Reply
(will not be published)


Submit Comment
  1. Physical memory in AIX
  2. Disable file size limit in AIX
  3. Forcing an user changing the password on AIX
  • Recent Posts

    • Remove special (device) files in HP-UX
    • Remove files with odd name
    • Identify PV device in HP-UX 11.31
    • Solaris HBA information
    • Memory disposition in HP-UX
  • Categories

    • Aix
    • E-Mail server
    • General Unix
    • HP-UX
    • Linux
    • Solaris
  • account ad admin Aix backup command console debian disk e-mail fc filesystem fs hardware hba hp HP-UX hpux ioscan Linux login lvm monitoring network odd openssh ovo password sec security server services shell smtp software Solaris ssh storage suse sysadm unix user users vmware xmail Aix (8)
    E-Mail server (1)
    General Unix (4)
    HP-UX (21)
    Linux (14)
    Solaris (6)

    WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.

Fusion theme by digitalnature | powered by WordPress
Entries (RSS) and Comments (RSS) ^

SetTextSize SetPageWidth