is not defined, as that is the only time when the smbpasswd file is consulted. Also don't create a the smbpasswd file from /etc/passwd, as that generates a lot of bad users, e.g. root, daemon, operator, etc. Instead, just create an empty smbpasswd file and rely on the admin to add approved users to the smbpasswd file using "smbpasswd -a".
17 lines
758 B
Text
17 lines
758 B
Text
===========================================================================
|
|
$NetBSD: MESSAGE.smbpasswd,v 1.1 2002/02/05 05:14:46 jlam Exp $
|
|
|
|
*===* SECURITY NOTES *===*
|
|
|
|
The users' encrypted passwords stored in
|
|
|
|
${SAMBA_ETCDIR}/private/smbpasswd
|
|
|
|
are _PASSWORD_EQUIVALENT_ from the viewpoint of SMB protocol. Do not
|
|
weaken the permissions of this file (owned by ${ROOT_USER}:${ROOT_GROUP} and with file
|
|
mode rw-------) without any special reasons.
|
|
|
|
Please note that even if you pkg_delete ${PKGNAME}, pkg_delete will
|
|
not remove the smbpasswd file. If you won't use this package anymore, it
|
|
is strongly recommended that you remove the smbpasswd file manually.
|
|
===========================================================================
|