MKSMBPASSWD(8)
π MKSMBPASSWD π
okay bestie, welcome to mksmbpasswd, section 8 of the System Manager's Manual β aka the lil glow-up tool that formats a /etc/passwd entry for a smbpasswd file. yes, that's the whole job. she's niche, she's specific, she's iconic. π
β¨ SYNOPSIS β¨
mksmbpasswd cat /etc/passwd | /usr/sbin/mksmbpasswd > /etc/samba/smbpasswd
that's the vibe. literally copy it, character for character, i am not kidding. π
π¦ DESCRIPTION π¦
so here's the tea, bestie: mksmbpasswd should be used only once β like, the very first time Samba is installed. that's her moment. her one (1) main character appearance. π
the whole idea is to make account creation easier by transferring all user accounts from /etc/passwd into /etc/samba/smbpasswd. easy peasy, right?
π¨ BUT WAIT. not so fast. please note that passwords are not transferred automatically from/etc/passwdto the new/etc/samba/smbpasswdfile. no magical password teleportation happening here, sorry. π
and it gets realer: after running mksmbpasswd, all accounts are disabled. every single one. so the system administrator has to run smbpasswd for each account that needs to be enabled. yes, one by one. i know. i KNOW. π
πΈ FILES πΈ
/etc/passwdβ the system wide accounts file. the OG./etc/samba/smbpasswdβ the encrypted passwords file for the Samba daemons. the secure lil vault. π
π SEE ALSO π
go read those too, they're part of the extended universe. β¨
π AUTHOR π
Eloy A. Paris <peloy@debian.org> β and yes, this man page is based on sendmailconfig's man page by Robert Leslie <rob@mars.org>. credit where credit is due, we stan. π«Ά
and that's the page, bestie!! this gem is from 12-Apr-1998, it lives in the System Manager's Manual, and honestly? vintage. retro. lowkey a time capsule. periodt. π βπ§
π¦ where this page comes from
- ubuntu jammy: samba 2:4.15.13+dfsg-0ubuntu1.13 Β· GPL-3.0-or-later
- ubuntu jammy: samba 2:4.15.5~dfsg-0ubuntu5 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms