Creating
samba users
The
last part of this tutorial will involve us creating samba users.
These users must represent Linux users but their password can and
should be different to the Linux password for security. This is not
enforced though. Using the command smbpasswd(/usr/bin/smbpasswd)
as the root user we can add new samba users. A user must have a
password in samba to access shares.
smbpasswd
-a root
-a pi
The
above commands add root and pi as samba users. By default a TDB
database is used to store this information. You can list current
samba users with the command pdbedit(/usr/bin/pdbedit).
pdbedit
-L
Aucun commentaire:
Enregistrer un commentaire