mksmbpasswd (8) - Linux Manuals
mksmbpasswd: formats a /etc/passwd entry for a smbpasswd file
mksmbpasswd - formats a /etc/passwd entry for a smbpasswd file
SYNOPSISmksmbpasswd cat /etc/passwd | /usr/sbin/mksmbpasswd > /etc/samba/smbpasswd
DESCRIPTIONmksmbpasswd should be used only once, the first time Samba is installed. The idea is to ease accounts creation by transferring all user accounts from /etc/passwd to /etc/samba/smbpasswd.
Please note that passwords are not transferred automatically from /etc/passwd to the new /etc/samba/smbpasswd file. After running mksmbpasswd all accounts are disabled so the system administrator must run smbpasswd for each account that needs to be enable.
- System wide accounts file
- Encrypted passwords file for the Samba daemons
AUTHOREloy A. Paris <peloy [at] debian.org> (man page based on sendmailconfig's man page by Robert Leslie <rob [at] mars.org>)