Arquivo mensal 10 de outubro de 2017

porplague70

Modificando o TimeZone: 2 métodos

rm /etc/localtime

ln -s /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime

porplague70

[Fixed] Zentyal 3.5 NO_PUBKEY error in apt-get update

Zentyal community edition is one of the widely used application for managing infrastructure. Zentyal pushes frequent updates through Zentyal repositories.

One my get following error while upgrading Zentyal:

W: GPG error: http://archive.zentyal.org 3.5 Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 8E9229F7E23F4777

Solution:

Add the Zentyal 3.5 key so that apt connect to the repository.

wget http://keys.zentyal.org/zentyal-3.5-archive.asc
sudo apt-key add zentyal-3.5-archive.asc
sudo apt-get update

Note: If you face issue for Zentyal version 3.4 then replace 3.5 to 3.4 in the link.

porplague70

incluindo user admin no zentyal.

Code: [Select]

addgroup --system admin

Code: [Select]

Adding group `admin' (GID 121) ...
Done.

Code: [Select]

addgroup --system admin

Code: [Select]

addgroup: The group `admin' already exists as a system group. Exiting.

Code: [Select]

adduser kamilion admin

Code: [Select]

Adding user `kamilion' to group `admin' ...
Adding user kamilion to group admin
Done.

In this case, admin is a local group, and kamilion is a zentyal ldap user.

OPTIONALLY, allow sudo access for ‘admin’ group users:

Code: [Select]

echo "%admin ALL=(ALL) ALL" >> /etc/sudoers