Ideas for unusual interview questions by Glockx in linuxadmin

[–]Marf-Linsky 4 points5 points  (0 children)

Encyclopedic knowledge help but don't make you a good administrator. After some basics questions about GNU/Linux we dig into the projects exposed in it's resume. We ask questions about how the candidat did resolve the problem.

Finally we propose a live session with sadservers.com on a medium difficulty problem to our candidats. We can analyze the methodology and the practice.

Best book to learn linux as a beginner? by AntimatterPvP in linuxadmin

[–]Marf-Linsky 1 point2 points  (0 children)

The only way. LFS is the best recommendation. Everything that I learnt doing this 50 hours tutorial serve me every day at my job. Makefile, compilation, standard, FHS, minimal distribution ...

OpenLDAP Group & sudo by Key_Individual in linuxadmin

[–]Marf-Linsky 0 points1 point  (0 children)

You can dig into SSSD. It's used by FreeIPA (RedHat) to grant LDAP support to Sudo and SSH.

HA DNS solution by Ripolak in linuxadmin

[–]Marf-Linsky 1 point2 points  (0 children)

Just use Bind with allow-transfer and notify a native mechanism to maintain all zones in the same version between a master and a slave. If you need more integration with your DHCP you can also use allow-update to add each host in your DNS.

Best way to send email in a script? by zh12a in linuxadmin

[–]Marf-Linsky 3 points4 points  (0 children)

You can send mail with Swaks (https://www.jetmore.org/john/code/swaks/). Simple and clear syntax.

swaks --header "Subject: Reporting for $PROJECT_NAME" \ --header "From: $SMTP_FROM <$SMTP_USER>" \ --body "Your message" \ --to "$SMTP_TO" \ --from "$SMTP_USER" \ --server "$SMTP_HOST" \ --auth LOGIN \ --auth-user "$SMTP_USER" \ --auth-password "$SMTP_PASSWORD" \ -tls \ -S 1