credential-sheets(1)
π credential-sheets(1) β the User Account Credentials Tool, but make it a vibe π
okay bestie, gather round, because this little tool is genuinely iconic and I need you to know about it π«Ά
β¨ NAME β¨
credential-sheets β Account Credential Sheets Tool. that's it, that's the whole name, slay π
β¨ SYNOPSIS β¨
credential-sheets [ [options] <CSV-file-1> [<CSV-file-2> [...]] ]
yes you can throw MULTIPLE csv files at it, she's flexible like that π
β¨ DESCRIPTION β¨
so here's the situation, and it's giving very "sysadmin at 11pm" energy π: after a mass import of user accounts (think, like, into LDAP) or a mass creation of WiFi voucher codes, most site administrators have to create information sheets (or snippets) containing all those brand-new credentials β username, password, policy of usage, etc. every. single. time. exhausting.
with this tiny tool, handing those pieces of information to multiple users becomes really simple. genuinely obsessed. the account data comes from a CSV file, and the sheets get output as PDF using easily configurable LaTeX template files β¨ lowkey genius, highkey convenient.
β¨ OPTIONS β¨
the credential-sheets command accepts these command line options, one at a time, no chaos:
--helpβ displays a help with all available command line options and exits. she's helpful AND she leaves π--template=<tpl-name>β the name of the template to use. pick your fighter π--cols=<x>β render<x>columns per sheet. grid layout goes brrr πΈ--rows=<y>β render<y>rows per sheet. yes you pair it with--cols, they're a duo π¦--zipβ do create a ZIP file at the end. zipped and shipped π¦--zipfilename=<zip-file-name>β alternative ZIP file name (default: name of parent folder). naming rights, bestie π--debugβ don't remove temporary files. leaving the mess behind on purpose, iykyk π
β¨ CSV FILE FORMAT β¨
okay this part is important so listen up π the credential-sheets tool can handle any sort of column arrangement in the given CSV file(s). it expects the CSV file(s) to have column names in their first line. first line = the labels, no cap.
those given column names have to map to the "VAR-<column-name>" placeholders in credential-sheets's LaTeX templates. that's the whole trick πͺ
the shipped-with templates "students" and "teachers" can handle these column names:
loginβ the user account's login id (uid)lastNameβ the user's last name(s)firstNameβ the user's first name(s)passwordβ the user's passwordformβ the form name/ID (student template only)subjectsβ subjects taught by a teacher (teachers template only)
and the shipped-with template "wifivouchers" can handle these column names:
essidβ the WiFi network's ESSID (network name)loginβ the voucherΒ΄s login id (if any)codeβ the voucherΒ΄s login codedurationβ the validity period of a voucher code
if you create your own templates, you can be very flexible in using your own column names and template names. go off, main character π the only thing to check: make sure the column names provided in the CSV file(s)'s first line match the variables used in the customized LaTeX template. see below for details β¬οΈ
β¨ CUSTOMIZATIONS β¨
the shipped-with credential sheets templates are expected to be installed in /usr/share/credential-sheets/ for system-wide installations. when customizing templates, simply place a modified copy of any of those files into ~/.credential-sheets/ or /etc/credential-sheets/. for further details, see below π
the credential-sheets tool uses these configuration files:
header.tex(LaTeX file header)<tpl-name>-template.tex(whereas<tpl-name>"students","teachers"and"wifivouchers"are provided on default installations, this is extensible by defining your own template files, see below).footer.tex(LaTeX file footer)
search paths for configuration files (in listed order, top wins bestie):
$HOME/.credential-sheets/.//etc/credential-sheets//usr/local/share/credential-sheets//usr/share/credential-sheets/
you can easily customize the resulting PDF files generated with this tool by placing your own template files, header and footer where appropriate. it's giving bespoke β¨π
β¨ FILES β¨
/usr/share/credentail-sheets/*.tex/etc/credential-sheets/*.tex(optional)$HOME/.credential-sheets/*.tex(optional)
yes, that first path really does say credentail-sheets in the original manual. not a typo of mine, I am copying it exactly as printed π keep it in mind!
β¨ AUTHOR β¨
this manual and the credential-sheets tool itself has been written for the Debian Edu project by Mike Gabriel <mike.gabriel@das-netzwerk-team.de>. respect the author, she ate π
and that's the whole page, bestie π this manual describes Version 0.0.6, dated Aug 2026 β so if you're reading this in some far-future terminal, hi, hope the vibes held up π¦β¨ periodt.
π¦ where this page comes from
- ubuntu stonking: credential-sheets 0.0.6-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms