1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 20:35:26 +02:00

smbpasswd: add page (#3382)

This commit is contained in:
Ein Verne 2019-10-17 16:46:27 +08:00 committed by Owen Voke
parent 21fd363ee4
commit 094242edc6

20
pages/linux/smbpasswd.md Normal file
View file

@ -0,0 +1,20 @@
# smbpasswd
> Change a user's SMB password.
> Samba users must also have a local Unix account.
- Change the current user's SMB password:
`smbpasswd`
- Add a specified user to Samba and set password(user should already exist in system):
`smbpasswd -a {{user_name}}`
- Modify an existing Samba user's password:
`smbpasswd {{user_name}}`
- Delete a Samba user:
`smbpasswd -x {{user_name}}`