OK I done,
some instructions for others.
To login as root by ssh it is necessary set two parameters in:
sshd_config,
Code:
AllowUsers przemek root
PermitRootLogin yes
If in AllowUsers is not set "root" it is not possible login as root by ssh.
After login on Pi as root set the highest log level in sudo.conf:
Code:
Debug sudo /var/log/sudo_debug all@debug
Then in logfiles I found some informations:
Code:
/var/log/secure
sudo: PAM unable to dlopen(/lib/security/pam_unix.so): libtirpc.so.3: cannot open shared object file: No such file or directory
Now it was easy to know what going on.
After install missing library "libtipc" all work correctly .