pdbedit -a -u alice

Category: Administration

pdbedit -a -u alice

Add a user to the Samba database

Creates a Samba account entry for the existing Unix user alice, with -a for add and -u naming the user. Samba keeps its own password database separate from /etc/passwd. List entries with pdbedit -L and remove with pdbedit -x.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.