how to delete group "everyone"



  • “Everyone” (with capital “E”) is a default group.

    if one created an additional group “everyone” (with small letter “e”) it ist not possible to delete this group by “kopano-admin -G everyone”.

    How can I delete the non default group “everyone”?



  • You can edit the SQL table users and change the name of everyone to something else.



  • I’m afraid that won’t work. The structure of the table users looks like this:

    MariaDB [kopano]> explain users;
    ±------------±---------------±-----±----±--------±---------------+
    | Field | Type | Null | Key | Default | Extra |
    ±------------±---------------±-----±----±--------±---------------+
    | id | int(11) | NO | PRI | NULL | auto_increment |
    | externid | blob | YES | MUL | NULL | |
    | objectclass | int(11) | NO | | 0 | |
    | signature | varbinary(255) | NO | | 0 | |
    | company | int(11) | NO | | 0 | |
    ±------------±---------------±-----±----±--------±---------------+

    There is no field “name”.

    A “select * from users” shows only some kind of encrypted content.


  • Kopano

    Hi @Fux,

    I think @jengelh meant the stores table.



  • this one

    MariaDB [kopano]> SELECT * FROM objectproperty;
    +----------+-----------+---------------------+
    | objectid | propname  | value               |
    +----------+-----------+---------------------+
    |        1 | groupname | everyone            |
    |        1 | ishidden  | 0                   |
    |        1 | modtime   | 2020-01-15 20:53:03 |
    +----------+-----------+---------------------+
    

Log in to reply