Skip to Content

User add failed

User add failed.  sh: /usr/local/ezlogin/ezcltool: Permission denied


Synopsis: This article will help the Ezeelogin users to fix the user add error shown in the GUI. Follow below steps to troubleshoot the issue.


Step 1: Check if SELinux is enabled on the server. Run the command below to verify this.

root@gateway ~]# sestatus

SELinux status: enabled

Disable SELinux to fix the issue:

root@gateway ~]# vim /etc/sysconfig/selinux

SELINUX=disabled

Step 2: Ensure that the permissions of files and directories are correct.

root@gateway ~]# chmod 755 /usr/local/ezlogin/ezcltool

root@gateway ~]# chmod 751 /usr/local/ezlogin

root@gateway ~]# chmod 751 /usr/local

root@gateway ~]# chmod 751 /usr

Step 3: Ensure to set below settings in /etc/ssh/sshd_config.

root@gateway ~]# vim /etc/ssh/sshd_config

#SSHD Global Settings
AllowTcpForwarding no
PubkeyAuthentication yes
PasswordAuthentication yes

#SSHD localhost settings
Match Address 127.0.0.1
PermitRootLogin yes
PubkeyAuthentication yes


Related Articles:

Error: User add failed. Cannot add user on this node: FAILED: to establish SSH session

Error: User add failed. Error: Plugin caching_sha2_password could not be loaded

User add failed: Error waiting for connection: Cannot add user on this node: Could not connect

User add failed Cannot add user on this node: REMOTE HOST IDENTIFICATION HAS CHANGED!

User add failed Cannot add user on other node: REMOTE HOST IDENTIFICATION HAS CHANGED!

Error: User add failed. Cannot add user on this node. user already exists