3 Replies Latest reply on Apr 12, 2011 4:09 PM by Deshifrator

    Issues adding & modifying users in esxi

    RTmxa Enthusiast


      I am facing couple issues with adding new administrative users in esxi

      I used the useradd command to add the user but it seems like the user is not getting added to the root group

      useradd -d /home/$ADMIN_USER -c $USER_DESCRIPTION -s /bin/ash -g "root" -n $ADMIN_USER


      I used the groupadd which worked. Is this the expected sequence or am i missing something in useradd?


      Second issue is for the new user if I use vSphere to modify the password, the shell "/bin/ash" is replaced by ''/sbin/nologin" and I can no longer log into the shell.

      Am I supposed to specify some additional options when I create the user to ensure this is preserverd.