sudo setfacl -m u:USERNAME:rw /dev/ttyUSB0Alternativ:
sudo gpasswd --add ${USER} dialoutQuelle
»Das Gleiche lässt uns in Ruhe, aber der Widerspruch ist es, der uns produktiv macht.« Goethe
sudo setfacl -m u:USERNAME:rw /dev/ttyUSB0Alternativ:
sudo gpasswd --add ${USER} dialout
ls -la /dev/serial/by-id/
lsusb Bus 001 Device 003: ID 0764:0601 Cyber Power System, Inc. PR1500LCDRT2U UPS pct set 111 --dev0 path=/dev/bus/usb/001/003,mode=0666
apt-get install postfix libsasl2-modules
# /etc/postfix/main.cf myhostname = client.domai.tld relayhost = smtp.relayhhost.tld:587 smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth ## ## TLS ## smtp_sasl_security_options = noanonymous smtp_tls_security_level = encrypt smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt compatibility_level = 3.6
# /etc/postfix/smtp_auth smtp.relayhost.tld:587 absender@domain.tld:SuperSicheresPasswort
postmap /etc/postfix/smtp_auth
echo "SMTP-Test" | mail -s "Das ist eine Test-Mail. Sie stellt sicher, dass Postfix korrekt eingerichtet ist." empfaenger@domain.tld -r absender@domain.tld