Profile Details

Toggle Sidebar
Recent updates
  • Well, I actually solved my issue by deleting the user from webconfig, re-adding it with useradd and locking it with usermod -L.
    It was supposed to be a 'system' user, so no samba/mail/whatever was needed anyway. It looks like 'standard /etc/passwd' users are working OK after all.

    It would make more sense, I think, to enhance / replace the useradd/usermod/passwd etc utilities so that they can manage LDAP as well. Don't know how hard that is, I'd imagine something along the lines of the (undocumented?) /usr/sbin/userpasswd script.

    It is quite confusing now:

  • Emil Totev

    How does one lock a user in ClearOS?

    I don't see any option in webconfig user management to lock a user (temporarily disable an account without losing the password information).
    There doesn't seem to be a command-line way either, if the user was added through webconfig (usermod -L and passwd -L both complain that the user does not exist in /etc/passwd).

    Am I missing something?