Linux Commands Helper
💬 Your AI-powered Linux assistant
pdbedit Command - Manage Samba User Accounts
The pdbedit command is used to manage the Samba user database. It allows you to add, modify, and delete Samba users, as well as view user information.
Syntax
pdbedit [options]
Examples
sudo pdbedit -L
List all Samba users.
sudo pdbedit -a -u alice
Add a new Samba user named alice.
sudo pdbedit -x -u bob
Delete the Samba user bob.
Notes
- pdbedit is part of the Samba suite and requires root privileges.
- Changes affect only the Samba user database, not system users.
- Use
smbpasswd
to set or change Samba user passwords.