Re: problem with login

From: Dohhhh (whynot_at_verizon.net)
Date: 04/16/05


Date: Sat, 16 Apr 2005 12:22:31 GMT

Quick answer - ensure the attribute that REQUIRES the user to change
passwords from the default (that it SOUNDS like your script sets) is set
correctly. The default behavior on AIX is for the system to prompt the
user for a NEW password during the first *SUCCESSFUL* login session
after the passwd gets (re)set...the reason why I advise people that they
"will be REQUIRED to change passwords during their first successful
login session" after I create their account. Try it manually and you'll
see!!

Also, try "smit chuser" and/or look in /etc/security Review the
contents of:

- user
- login.cfg
- failedlogin

Be very careful if you manually edit the stanzas in these files though.
  You should actually update them with chuser, chsec commands.

PS
p.s. If your script is using the mkuser command, have you looked at the
syntax for that command?
==
Daniel Voelkel wrote:
> Hi,
>
> I created several useraccounts with a script and set tham all to the
> same password. These accounts worked fine for a while but shortly some
> of them don't work anymore. I get an "Failed to login". The accounts
> where not disabled, they don't have an expiration date, the account is
> not locked, login is still allowed from anywhere. When I look to
> etc/passwd and security/passwd I can't see a difference between a still
> working account and a non-working account. When I reset the password
> with passwd the user can login again. Any ideas why the logins become
> disfunctional? I'm using AIX 5.2.
>
> Thanks in advance and greetings from germany,
> Daniel



Relevant Pages

  • Re: Running Login Script Problems
    ... Have you replicated the login script to all your DCs' netlogon shares? ... If the "special account" is a domain admin account, ... > all my computers in a lab. ...
    (microsoft.public.win2000.networking)
  • Re: Expect script to install sshkey
    ... you have mentioned that you are using "lynx" for the download, would it be possible you to use wget/any other file retrieval utility from www rather than a information browser. ... I have a perl Expect script that install rsa keys for ssh auto login. ... When I run the script on command line it works fine. ...
    (perl.beginners)
  • Re: exempt a machine from a group policy
    ... The computer name in an ACL normally only gets used when there is an attempt ... implicity authorize Modify access by the machine account. ... the script is NOT executed *by* a machine. ...
    (microsoft.public.windows.group_policy)
  • Re: Expect script to install sshkey
    ... I have a perl Expect script that install rsa keys for ssh auto login. ... When I run the script on command line it works fine. ...
    (perl.beginners)
  • Re: Populate email attribute in AD
    ... I have other OUs where I would like to use this script as well so ... it would be preferable to pass the OU LDAP path as a command line argument. ... >> I do not have to use the CSV file. ... >> If the script encounters a blank username field it will skip that account, ...
    (microsoft.public.windows.server.scripting)