Hi,
I use a software which can create account on many system or application.
One of resource which is managed by this soft his a server SUSE Linux Enterprise Server 10 (x86_64). patch level 3.
This application which is an IBM application use ssh to launch command to create account in context defined in it.
I have some problem to manage this server and the application display an error of kind Can not set the password useradd fail.
I have displaye the log /var/log/messages that you will find bottom :
Quote:
Jul 10 13:49:26 infra-041 sshd[8694]: Accepted keyboard-interactive/pam for itim from 10.70.10.50 port 2651 ssh2
Jul 10 13:49:26 infra-041 sudo: itim : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/sbin/useradd -u 1192 FRY9AN94
Jul 10 13:49:26 infra-041 useradd[8715]: new account added - account=FRY9AN94, uid=1192, gid=100, home=/home/FRY9AN94, shell=/bin/bash, by=0
Jul 10 13:49:26 infra-041 useradd[8715]: account added to group - account=FRY9AN94, group=video, gid=33, by=0
Jul 10 13:49:26 infra-041 useradd[8715]: account added to group - account=FRY9AN94, group=dialout, gid=16, by=0
Jul 10 13:49:26 infra-041 useradd[8715]: running USERADD_CMD command - script=/usr/sbin/useradd.local, account=FRY9AN94, uid=1192, gid=100, home=/home/FRY9AN94, by=0
Jul 10 13:49:27 infra-041 sshd[8717]: Accepted keyboard-interactive/pam for itim from 10.70.10.50 port 2652 ssh2
Jul 10 13:49:27 infra-041 sudo: itim : TTY=pts/4 ; PWD=/ ; USER=root ; COMMAND=/usr/bin/passwd FRY9AN94
Jul 10 13:49:27 infra-041 passwd[8722]: pam_unix2(passwd:chauthtok): conversation failed
Jul 10 13:49:27 infra-041 passwd[8722]: User root: Authentication token manipulation error
Jul 10 13:49:27 infra-041 passwd[8722]: password change failed, pam error 20 - account=FRY9AN94, uid=1192, by=0
Jul 10 13:49:27 infra-041 sshd[8720]: Received disconnect from 10.70.10.50: 10: General disconnection
Jul 10 13:49:27 infra-041 sudo: itim : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/sbin/userdel FRY9AN94
Jul 10 13:49:27 infra-041 shadow[8723]: running USERDEL_PRECMD command - script=/usr/sbin/userdel-pre.local, account=FRY9AN94, uid=1192, gid=100, home=/home/FRY9AN94, by=0
Jul 10 13:49:27 infra-041 crontab[8725]: (root) DELETE (FRY9AN94)
Jul 10 13:49:27 infra-041 shadow[8723]: account removed from group - account=FRY9AN94, group=video, gid=33, by=0
Jul 10 13:49:27 infra-041 shadow[8723]: account removed from group - account=FRY9AN94, group=dialout, gid=16, by=0
Jul 10 13:49:27 infra-041 shadow[8723]: account deleted - account=FRY9AN94, uid=1192, by=0
Jul 10 13:49:27 infra-041 shadow[8723]: running USERDEL_POSTCMD command - script=/usr/sbin/userdel-post.local, account=FRY9AN94, uid=1192, gid=100, home=/home/FRY9AN94, by=0
Jul 10 13:49:28 infra-041 sshd[8703]: Received disconnect from 10.70.10.50: 10: General disconnection
In this log if i understood, the application create the account in three action :
first ssh to create the account which is succeeded
second ssh to set the password, but it seemes there is a problem with pam module
third ssh to delete the account, because the application cannot change the passwd.
I have some difficulties to know where the problem is exactly met, perhaps you could help me.
I'm sorry for my english but it's not my first language.
Best regards