carta
mksmbpasswd(8)

mksmbpasswd8

Formats a /etc/passwd entry for a smbpasswd file

Usage

mksmbpasswd {cat /etc/passwd | /usr/sbin/mksmbpasswd > /etc/samba/smbpasswd}

Overview

mksmbpasswd 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.

Files

/etc/passwd

System wide accounts file

/etc/samba/smbpasswd

Encrypted passwords file for the Samba daemons

History

  • Debian 11 (Bullseye) to Debian 3.0 (Woody): the text shown here
  • Debian 2.2 (Potato) to Debian 2.1 (Slink)
  • Debian 2.0 (Hamm)

Author

Eloy A. Paris <[email protected]> (man page based on sendmailconfig's man page by Robert Leslie <[email protected]>)

From samba 2:4.13.13+dfsg-1~deb11u6 in Debian 11 (Bullseye). Parsed by carta from the page's man source.